Atlantis is great for self service infrastructure and lets users launch new EC2 instances & ASG. However some instance types are very expensive & many times a lower cost instance will work fine. On the other hand, there are valid use cases for these instance types so we don't want to ban them outright.
Having Atlantis detect & warn on usage of some of these expensive instances seems like a nice way to stay cost-conscious while letting developers move fast.
This seems like a better option for something like tflint that could be run as a command
Hi @cket. I think this is going to be out of scope for Atlantis. Do you think making this a custom command like @mveitas suggests above would work?
Sure, that makes sense to me. Thanks for the suggestion!
Feel free to comment here with a link to the command repo when you've built it and then others can use it!
I just wanted to put https://github.com/aliscott/infracost on your radar in case it helps. We made a GitHub action for it too: https://github.com/marketplace/actions/run-infracost
Most helpful comment
I just wanted to put https://github.com/aliscott/infracost on your radar in case it helps. We made a GitHub action for it too: https://github.com/marketplace/actions/run-infracost