Re:A Month of Terraform
by ciceryadam on Sunday November 22, 2020 @05:32PM
(#25181746)
For distributed work on environments you ideally you want to have something like a gitlab pipeline that does the tf plan for you automatically, with a manual approve button of sorts. That way you a consistent tf version defined in .gitlab-ci.yml, plus due to centralized logging it's easier to find when and what changed in the envs.
[ Parent
| on HN ]
I assume you are talking about a similar tool to the Atlantis [0] / Terraform SaaS offering [1].
[0]: https://www.runatlantis.io/
[1}: https://www.hashicorp.com/blog/terraform-collaboration-for-e...
Re:A Month of Terraform
by ciceryadam on Sunday November 22, 2020 @06:25PM
(#25182058)
Yeah, exactly the same functionality, but just implemented with a different toolset: https://docs.gitlab.com/ee/user/infrastructure/
This is super interesting. I never realised gitlab has builtin terraform support. Is there a demo or screenshot of what it all looks like?
Thank you! They did a great job!
I implemented this on top of bitbucket pipelines with a 'manual' pipeline step. The pipeline runs the plan step automatically and outputs it on the console. Then pipelines shows a button next to it called 'deploy' which is only clicked after manually verifying the plan results.