{"id":22971441,"url":"https://github.com/visaltyagi/terraform-assignment-2","last_synced_at":"2025-10-24T22:36:08.698Z","repository":{"id":232014239,"uuid":"783251155","full_name":"visaltyagi/Terraform-Assignment-2","owner":"visaltyagi","description":"How to Create an EC2 Instance With an Elastic IP Address: Terraform Assignment 2","archived":false,"fork":false,"pushed_at":"2024-11-17T07:26:27.000Z","size":311,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T20:45:16.859Z","etag":null,"topics":["devops","devops-enabled","devops-guide","devops-platform","devops-platforms","devops-team","devops-tech-enablement","devops-tools","elastic","instance","ip","terraform","terraform-aws"],"latest_commit_sha":null,"homepage":"https://medium.com/devops-guides/create-an-ec2-instance-with-an-elastic-ip-address-terraform-assignment-2-85a5fcc5542b","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/visaltyagi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-07T11:16:21.000Z","updated_at":"2024-11-17T10:12:02.000Z","dependencies_parsed_at":"2024-04-07T12:27:07.809Z","dependency_job_id":"5cd00f7c-b9af-48af-b82c-7616c8cc0a13","html_url":"https://github.com/visaltyagi/Terraform-Assignment-2","commit_stats":null,"previous_names":["visaltyagi/terraform-assignment-2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visaltyagi","download_url":"https://codeload.github.com/visaltyagi/Terraform-Assignment-2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763897,"owners_count":20829800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devops","devops-enabled","devops-guide","devops-platform","devops-platforms","devops-team","devops-tech-enablement","devops-tools","elastic","instance","ip","terraform","terraform-aws"],"created_at":"2024-12-14T22:17:39.285Z","updated_at":"2025-10-24T22:36:03.664Z","avatar_url":"https://github.com/visaltyagi.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform-Assignment-2\nTerraform Assignment 2\n\n**For the detailed solution to this assignment, click this link:** https://medium.com/devops-guides/create-an-ec2-instance-with-an-elastic-ip-address-terraform-assignment-2-85a5fcc5542b\n\n**Step 1:** Destroy the previous assignment resources using the command: terraform destroy\n\n**Step 2:** Assignment 1 Resources will be successfully deleted.\n\n**Step 3:** Create a \"main.tf\" file, and paste the script code here.\n\n**Step 4:** Initialize terraform using the command: terraform init\n\n**Step 5:** Create a plan using the command: terraform plan\n\n**Step 6:** Use this command to create an ec2 instance with an Elastic IP address: terraform apply\n\n**Step 7:** The instance will be successfully created. Go to \"EC2\" Instance \u0026 an instance will be shown with an elastic ip address.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisaltyagi%2Fterraform-assignment-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisaltyagi%2Fterraform-assignment-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisaltyagi%2Fterraform-assignment-2/lists"}