{"id":22971427,"url":"https://github.com/visaltyagi/terraform-assignment-3","last_synced_at":"2026-05-05T21:35:42.507Z","repository":{"id":234857637,"uuid":"789634501","full_name":"visaltyagi/Terraform-Assignment-3","owner":"visaltyagi","description":"How to Rename the EC2 Instances After Creation —Terraform Assignment 3","archived":false,"fork":false,"pushed_at":"2024-11-17T07:36:35.000Z","size":396,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T20:45:04.569Z","etag":null,"topics":["aws","aws-ec2","development","devops","devops-team","devops-tools","ec2","instance","rename-instance","terraform"],"latest_commit_sha":null,"homepage":"https://medium.com/devops-guides/rename-ec2-instances-after-creation-terraform-assignment-3-33b9030c4894","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,"publiccode":null,"codemeta":null}},"created_at":"2024-04-21T05:37:19.000Z","updated_at":"2024-11-17T10:12:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"b785bd47-edef-48ce-81d2-7f6f0100d3ff","html_url":"https://github.com/visaltyagi/Terraform-Assignment-3","commit_stats":null,"previous_names":["visaltyagi/terraform-assignment-3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visaltyagi","download_url":"https://codeload.github.com/visaltyagi/Terraform-Assignment-3/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":["aws","aws-ec2","development","devops","devops-team","devops-tools","ec2","instance","rename-instance","terraform"],"created_at":"2024-12-14T22:17:36.893Z","updated_at":"2026-05-05T21:35:42.460Z","avatar_url":"https://github.com/visaltyagi.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform-Assignment-3\nTerraform-Assignment-3\n\n**For the detailed solution to this assignment, click this link:** https://medium.com/devops-guides/rename-ec2-instances-after-creation-terraform-assignment-3-33b9030c4894\n\n**Step 1:** Destroy the previous assignment resources using the command: terraform destroy\n\n**Step 2:** Assignment 2 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 rename ec2 instances: terraform apply\n\n**Step 7:** The instance will be successfully renamed. Go to \"EC2\" Instance \u0026 renamed instances will be shown in both the regions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisaltyagi%2Fterraform-assignment-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisaltyagi%2Fterraform-assignment-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisaltyagi%2Fterraform-assignment-3/lists"}