{"repo":"infracost/infracost-atlantis","free":true,"listed":false,"github":"https://github.com/infracost/infracost-atlantis","clone":"git clone https://github.com/infracost/infracost-atlantis.git","description":"Atlantis integration for Infracost. Shows cloud cost estimates for Terraform in pull requests.","language":"Dockerfile","stars":150,"topics":["aws","gcp","infrastructure-as-code","cost-estimation","atlantis","terraform-cost-estimation","devops","terraform"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Infracost Atlantis Integration Try the GitHub, GitLab or Azure Repos App 👉👉 If you use Atlantis with GitHub/GitLab/Azure Repos, we recommend using the free Infracost GitHub App , GitLab App or Azure Repos App as they're much simpler to setup and faster to run --- This repo shows how Infracost can be used with Atlantis, so you can see cloud cost estimates and FinOps best practices for Terraform in pull requests 💰 Usage 1. Decide deployment option Since Atlantis does not have a plugins concept, you need to decide which deployment option to use: a. Use our Docker images (recommended) Use our infracost-atlantis Docker images that extend the Atlantis image to add Infracost. We maintain tags for the latest two 0.x versions of Atlantis: - infracost/infracost-atlantis:atlantis0.47-infracost0.10 latest patch version of Atlantis v0.47 and Infracost v0.10 - infracost/infracost-atlantis:atlantis0.46-infracost0.10 latest patch version of Atlantis v0.46 and Infracost v0.10 - infracost/infracost-atlantis:latest latest versions of Atlantis and Infracost b. Build your own Docker image If you already use a custom Docker image for Atlantis, copy the top RUN command from this Dockerfile into your Dockerfile. c. Install in pre-workflow (good for testing) Use Atlantis pre workflow hooks to dynamically install the Infracost CLI on a running Atlantis server (shown in the following repos.yml example). This enables you to test Infracost without changing your Docker image by installing it on each wo","default_branch":null,"files":null,"tree":[],"storefront":"/r/infracost","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/infracost/infracost-atlantis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}