{"id":22357044,"url":"https://github.com/gordonmurray/terraform_aws_atlantis","last_synced_at":"2026-02-03T12:11:27.274Z","repository":{"id":141798946,"uuid":"532506204","full_name":"gordonmurray/terraform_aws_atlantis","owner":"gordonmurray","description":"A Terraform module to create an EC2 instance with Atlantis and Infracost","archived":false,"fork":false,"pushed_at":"2022-09-04T21:51:00.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-04T10:35:12.415Z","etag":null,"topics":["atlantis","docker-compose","infracost","packer","terraform"],"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/gordonmurray.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,"zenodo":null}},"created_at":"2022-09-04T10:25:38.000Z","updated_at":"2024-08-01T05:01:54.000Z","dependencies_parsed_at":"2023-04-03T12:03:32.162Z","dependency_job_id":null,"html_url":"https://github.com/gordonmurray/terraform_aws_atlantis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gordonmurray/terraform_aws_atlantis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gordonmurray%2Fterraform_aws_atlantis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gordonmurray%2Fterraform_aws_atlantis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gordonmurray%2Fterraform_aws_atlantis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gordonmurray%2Fterraform_aws_atlantis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gordonmurray","download_url":"https://codeload.github.com/gordonmurray/terraform_aws_atlantis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gordonmurray%2Fterraform_aws_atlantis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29045486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["atlantis","docker-compose","infracost","packer","terraform"],"created_at":"2024-12-04T14:12:57.816Z","updated_at":"2026-02-03T12:11:27.257Z","avatar_url":"https://github.com/gordonmurray.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform AWS Atlantis\n\nA Terraform module to create a small EC2 instance that runs [Atlantis](https://www.runatlantis.io/) and [Infracost](https://www.infracost.io/) \n\nPacker is used to create an AMI with Docker, Nginx, Certbot and a few other tools.\n\nTerraform is used to create an EC2 instance from the AMI with a suitable security group.\n\nDocker-compose is used on the instance to run the Infracost Docker image 'infracost-atlantis' to provide Atlantis and Infracost in one ([link](https://hub.docker.com/r/infracost/infracost-atlantis))\n\nOnce running, you will need to update your Github repo(s) to point a webhook to the address if this new instance, such as https://{youdomain.com}/events so that Atlantis can plan your Terraform PRs.\n\n## Estimated cost\n\n```\nProject: gordonmurray/terraform_aws_atlantis\n\n Name                                                      Monthly Qty  Unit                  Monthly Cost \n                                                                                                           \n module.atlantis.aws_instance.atlantis                                                                     \n ├─ Instance usage (Linux/UNIX, on-demand, t3.micro)               730  hours                        $8.32 \n └─ root_block_device                                                                                      \n    └─ Storage (general purpose SSD, gp2)                           10  GB                           $1.10 \n                                                                                                           \n module.atlantis.aws_route53_record.atlantis                                                               \n ├─ Standard queries (first 1B)                       Monthly cost depends on usage: $0.40 per 1M queries  \n ├─ Latency based routing queries (first 1B)          Monthly cost depends on usage: $0.60 per 1M queries  \n └─ Geo DNS queries (first 1B)                        Monthly cost depends on usage: $0.70 per 1M queries  \n                                                                                                           \n OVERALL TOTAL                                                                                       $9.42 \n──────────────────────────────────\n8 cloud resources were detected:\n∙ 2 were estimated, all of which include usage-based costs, see https://infracost.io/usage-file\n∙ 6 were free:\n  ∙ 4 x aws_security_group_rule\n  ∙ 1 x aws_key_pair\n  ∙ 1 x aws_security_group\n```\n\n## To do\n\n- [x] EC2 instance, security group rules, docker-compose to run infracost-atlantis image\n- [ ] Get Infracost going, gives a 404 for repos.yaml\n- [x] Add a DNS entry in Route53 to point a sub domain to the EC2 instance\n- [x] Cron entry on the instance to keep the cert renewed\n- [ ] Change to a t4g instance if the Infracost docker image supports ARM in future\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgordonmurray%2Fterraform_aws_atlantis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgordonmurray%2Fterraform_aws_atlantis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgordonmurray%2Fterraform_aws_atlantis/lists"}