{"id":22477690,"url":"https://github.com/dcc6fvo/terraform","last_synced_at":"2026-05-06T20:35:51.943Z","repository":{"id":228774457,"uuid":"774867168","full_name":"dcc6fvo/terraform","owner":"dcc6fvo","description":"Terraform scripts ","archived":false,"fork":false,"pushed_at":"2024-03-20T11:11:38.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T17:49:36.410Z","etag":null,"topics":["aws","cloud","load-balancer","nginx","serverfarm","terraform"],"latest_commit_sha":null,"homepage":"","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/dcc6fvo.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-03-20T10:40:50.000Z","updated_at":"2024-03-20T11:04:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"adb16dd7-9cba-4b7f-b1be-53bd71bde3b8","html_url":"https://github.com/dcc6fvo/terraform","commit_stats":null,"previous_names":["dcc6fvo/terraform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dcc6fvo/terraform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fterraform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fterraform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fterraform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fterraform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcc6fvo","download_url":"https://codeload.github.com/dcc6fvo/terraform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcc6fvo%2Fterraform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32711494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: 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":["aws","cloud","load-balancer","nginx","serverfarm","terraform"],"created_at":"2024-12-06T14:11:57.582Z","updated_at":"2026-05-06T20:35:51.919Z","avatar_url":"https://github.com/dcc6fvo.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-app-load-balance\n\nIn this terraform/aws script we build a setup with an application load balancer. We will end up with following resources:\n\n  - one app load balancer that redirect traffic to two private subnets\n  - two management instances each in a different public subnet that can be used with Ansible and/or another config. tool\n  - two webserver instances each in a different private subnet that will respond to the load balancer requests\n  \n*NAT Gateways, Routers, Databases were abstract from the design but are necessary\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"terraform-app-load-balance-main/img/terraform-app-load-balance.drawio.png\" alt=\"Advanced real world example of vagrant and virtualbox configuration\"\u003e\n\u003c/p\u003e\n\nPrerequisites\n-----------------------\n  - Terraform\n  - AWS CLI\n   \nInstallation \u0026\u0026 Running\n-----------------------\n\n1) Do a git clone of the project:\n\n\t\tgit clone https://github.com/dcc6fvo/terraform-app-load-balance\n\t\n2) Change key info field of aws-instances with your current keys! Subs. the key_name parameter with your own from following files: ./main.tf; ./modules/main.tf; ./management.tf\n\n3) Access the newly created folder with the git clone command and type the following command:\n\n\t\tterraform init\n\n4) Then creates an execution plan, which lets you preview the changes that Terraform plans to make to your infrastructure:\n  \n  \t\tterraform plan\n  \n5) Finally, the command that executes the actions proposed in a terraform plan (it is used to deploy your infrastructure):\n\n\t\tterraform apply -auto-approve\n\nTo destroy all the configurations:\n\n\t\tterraform destroy\n\n# terraform-basic-setup\n\nIn this very basic terraform/aws script we manage to work with 2 AWS regions. After running, the program will create:\n\n  - one public instance in sa region\n  - one public instance in us region\n  - four private instances in sa region\n\nPrerequisites\n-----------------------\n  - Terraform\n  - AWS CLI\n   \nInstallation \u0026\u0026 Running\n-----------------------\n\nDo a git clone of the project:\n\n\tgit clone https://github.com/dcc6fvo/terraform-basic-setup \n\t\nChange key-pair field of aws-instances with your current keys:\n\n\tvim main.tf\n\nAccess the newly created folder with the git clone command and type the following command:\n\n\tterraform init\n\nThen creates an execution plan, which lets you preview the changes that Terraform plans to make to your infrastructure:\n\n  \tterraform plan\n  \nFinally, the command that executes the actions proposed in a terraform plan (it is used to deploy your infrastructure):\n\n  \tterraform apply -auto-approve\n\nTo destroy all the configurations:\n\n\tterraform destroy\n\n# terraform-multi-env\n\n# terraform-super-basic\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcc6fvo%2Fterraform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcc6fvo%2Fterraform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcc6fvo%2Fterraform/lists"}