Comments (6)
Yeah, we ended up going all in on GitHub here. We use environments and required reviewers like I mention above. We also use called workflows in an effort to be as DRY as possible. I can share our called workflows if that would be helpful. We have a called workflow for each of the major cloud providers, GCP, AWS & Azure.
from learn-terraform-github-actions.
@TrongTheAlpaca here you go, very specific to how I use Terraform but hopefully it can give you some ideas: https://github.com/lzysh/github-terraform-called-workflows/blob/main/.github/workflows/aws-plan-and-apply-called.yml
Gives us something like this (this is a pic of Google workflow but AWS is similar) allows us to have human approval between each plan and apply job:
from learn-terraform-github-actions.
look into the workflow_dispatch
event. https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ I personally use this for a few manually triggered jobs.
from learn-terraform-github-actions.
We are attempting to using the new "requested reviewers" process for this now in Actions. Still have some things to figure out regarding the flow of it all. If it's useful I can share an actions file when we are done.
from learn-terraform-github-actions.
@brettcurtis I was wondering if you arrived to any interesting conclusion about the idea using "requested reviewers" for this?
from learn-terraform-github-actions.
Ah interesting! I would greatly appreciate if you shared it! Only AWS-related pipelines should suffice for me, but you can share it all if it suits you 😎
from learn-terraform-github-actions.
Related Issues (14)
- had to change the terraform.yml file to make it work HOT 2
- No output in "Show Plan" When using terragrunt HOT 2
- Terraform Plan Status does not fail workflow after Terraform 1.4 release HOT 3
- Question about others backends HOT 3
- No output in "Show Plan" HOT 16
- Use approved plan file for apply
- different paths in _temp HOT 1
- Why too much people create PR to this repo?
- `apply` runs when merging code from `main` to feature branch HOT 1
- If the plan is large then the step to comment it fails HOT 3
- Fork error given for any issues during the terraform workflow HOT 2
- Cannot re-open PR as auto-close message suggests HOT 1
- Terraform syntax highlighting HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learn-terraform-github-actions.