5 ms·
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 ap
by ciceryadam 6y ago
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.
- pqb 6y agoI assume you are talking about a similar tool to the Atlantis [0] / Terraform SaaS offering [1]. [0]: https://www.runatlantis.io/ https://www.runatlantis.io/ [1}: https://www.hashicorp.com/blog/terraform-collaboration-for-everyone https://www.hashicorp.com/blog/terraform-collaboration-for-e...
- ciceryadam 6y agoYeah, exactly the same functionality, but just implemented with a different toolset: https://docs.gitlab.com/ee/user/infrastructure/ https://docs.gitlab.com/ee/user/infrastructure/
- vbsteven 6y agoI 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.