{"id":21042862,"url":"https://github.com/erankitcs/terraformansiblewithaws","last_synced_at":"2026-04-28T12:02:07.482Z","repository":{"id":118644178,"uuid":"294664531","full_name":"erankitcs/TerraformAnsibleWithAWS","owner":"erankitcs","description":"This projected aimed to practice Terraform and Ansible in AWS. We would be creating Jenkins servers with necessary networking. ","archived":false,"fork":false,"pushed_at":"2020-09-25T10:58:04.000Z","size":97888,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T22:22:58.478Z","etag":null,"topics":["ansible","aws","awsdevops","hcl","jenkins","playbook-ansible","practice-terraform","terraform","terraform-aws"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erankitcs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-09-11T10:27:17.000Z","updated_at":"2020-09-25T10:58:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b771908-ab22-451a-80b0-f44c88793b44","html_url":"https://github.com/erankitcs/TerraformAnsibleWithAWS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/erankitcs/TerraformAnsibleWithAWS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erankitcs%2FTerraformAnsibleWithAWS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erankitcs%2FTerraformAnsibleWithAWS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erankitcs%2FTerraformAnsibleWithAWS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erankitcs%2FTerraformAnsibleWithAWS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erankitcs","download_url":"https://codeload.github.com/erankitcs/TerraformAnsibleWithAWS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erankitcs%2FTerraformAnsibleWithAWS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32379629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ansible","aws","awsdevops","hcl","jenkins","playbook-ansible","practice-terraform","terraform","terraform-aws"],"created_at":"2024-11-19T14:09:19.398Z","updated_at":"2026-04-28T12:02:07.466Z","avatar_url":"https://github.com/erankitcs.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Using Terraform and Ansible with AWS\r\nThis projected aimed to practice Terraform and Ansible in AWS. We would be creating Jenkins servers with necessary networking. \r\n\r\n## Steps to install\r\n\r\n1. Run terraform_install.sh to install terraform\r\n2. Run install-ansible.sh to install Ansible\r\n3. Update S3 bucket and AWS  Profile in backend.tf\r\n4. Update profile and DNS in variabled.tf\r\n5. Update public_key location for both master_keypair and worker_keypair inside instances.tf\r\n6. Run Terraform commands\r\n- cd codo/\r\n- terraform init\r\n- terroform plan\r\n- terraform apply\r\n\r\n### To work with Ubuntu on WSL (Windows 10 with Windows Subsystem for Linux)\r\n\r\n- change to windows drive using cd /mnt/c or cd /mnt/d\r\n- Export cfg file  location eg.\r\n    export ANSIBLE_CONFIG=/mnt/d/Tech/AWSLearning/TerraformAnsibleWithAWS/code/ansible.cfg\r\n\r\n## Architecture\r\n\r\n![Screenshot](Architecture.JPG)\r\nThanks to A Cloud Guru for diagram.\r\n## Demo \r\n![Screenshot](AWSTerrraformAndAnsible.gif)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferankitcs%2Fterraformansiblewithaws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferankitcs%2Fterraformansiblewithaws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferankitcs%2Fterraformansiblewithaws/lists"}