{"id":22971443,"url":"https://github.com/visaltyagi/terraform-assignment-5","last_synced_at":"2026-05-06T19:32:12.457Z","repository":{"id":234901202,"uuid":"789713670","full_name":"visaltyagi/Terraform-Assignment-5","owner":"visaltyagi","description":"How to Install the Apache 2 \u0026 Print the IP Address of the Instance in a File on Local: Terraform Assignment 5","archived":false,"fork":false,"pushed_at":"2024-11-17T10:06:48.000Z","size":381,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T20:45:18.842Z","etag":null,"topics":["apache","apache2","aws","dev","developer-tools","devops","devops-team","devops-tools","terraform"],"latest_commit_sha":null,"homepage":"https://medium.com/devops-guides/install-apache-2-print-the-ip-address-of-the-instance-in-a-file-on-local-terraform-assignment-5-a1b178bdaf40","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-21T10:57:57.000Z","updated_at":"2024-11-17T10:13:50.000Z","dependencies_parsed_at":"2024-04-21T11:58:32.599Z","dependency_job_id":"7b1edb60-2457-45ca-a9f7-9de8b2909c88","html_url":"https://github.com/visaltyagi/Terraform-Assignment-5","commit_stats":null,"previous_names":["visaltyagi/terraform-assignment-5"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/visaltyagi%2FTerraform-Assignment-5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/visaltyagi","download_url":"https://codeload.github.com/visaltyagi/Terraform-Assignment-5/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763899,"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":["apache","apache2","aws","dev","developer-tools","devops","devops-team","devops-tools","terraform"],"created_at":"2024-12-14T22:17:40.657Z","updated_at":"2026-05-06T19:32:07.434Z","avatar_url":"https://github.com/visaltyagi.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform-Assignment-5\nTerraform-Assignment-5\n\n**For the detailed solution to this assignment, click this link:** https://medium.com/devops-guides/install-apache-2-print-the-ip-address-of-the-instance-in-a-file-on-local-terraform-assignment-5-a1b178bdaf40\n\n**Step 1:** Destroy the previous assignment resources using the command: terraform destroy\n\n**Step 2:** Assignment 4 Resources will be successfully deleted.\n\n**Step 3:** Create an install-apache2.sh \u0026 paste the command to install the apache2 using Terraform.\n\n**Step 4:** Create a \"main.tf\" file, and paste the script code here.\n\n**Step 5:** Initialize terraform using the command: terraform init\n\n**Step 6:** Create a plan using the command: terraform plan\n\n**Step 7:** Use this command to install apache2 \u0026 print the local IP address: terraform apply\n\n**Step 8:** Assignment-5 Instance will be successfully created \u0026 go to AWS console. Paste the IP address in browser local address bar \u0026 Apache2 page will be shown.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisaltyagi%2Fterraform-assignment-5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisaltyagi%2Fterraform-assignment-5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisaltyagi%2Fterraform-assignment-5/lists"}