Hello, guys! I'm using Atlantis with Infracost cus...
# help
d
Hello, guys! I'm using Atlantis with Infracost custom image in a ECS Cluster. I have setted ATLANTIS_REPO_CONFIG_JSON variable:
Copy code
{\"repos\":[{\"id\":\"/.*/\",\"workflow\":\"terraform-infracost\"}],\"workflows\":{\"terraform-infracost\":{\"plan\":{\"steps\":[\"init\",\"plan\",{\"env\":{\"name\":\"INFRACOST_API_KEY\",\"value\":\"MY_KEY\"}},{\"env\":{\"name\":\"INFRACOST_TERRAFORM_BINARY\",\"value\":\"/usr/local/bin/terraform0.12.30\"}},{\"run\":\"/home/atlantis/infracost_atlantis_diff.sh\"}]}}}}
But it gives me an error when I make a plan:
Copy code
sh: /home/atlantis/infracost_atlantis_diff.sh: not found
Should I configure in a different way? My terraform config:
image.png
w
what’s your source control system? github?
d
Yes! GitHub
w
if so, I’d remove the Infracost Atlantis integration altogether and use https://www.infracost.io/docs/integrations/github_app/ (it’s free and does the same thing but it’s way easier to setup and means you don’t need to keep bumping up CLI versions or tweaking Atlantis).
d
Oh, Okk, @white-airport-8778! thank you! i have requested installation
w
ah you’re using GH Enterprise Server? that’s not in the free tier as it requires us to do custom work to enable it alongside your GH Enterprise Server Admin. Our team’ll reply to your email, but until then you can also use https://github.com/infracost/infracost-atlantis?tab=readme-ov-file#1-decide-deployment-option to update your Atlantis integration. The
infracost_atlantis_diff.sh
isn’t needed anymore - that is from a very old integration.
d
Our team is still finishing negotiation with GitHub, so this week we gonna confirm if it's gonna be enterprise server or just Cloud
Thank you a lot, @white-airport-8778
w
Sounds good! Maybe just wait and see how that goes, as GH Cloud is part of our free tier as you can just self-service enable it 🙂 no calls needed
🎉 1
d
Amazing!