chore: serialize Terraform workflows to prevent races
Some checks failed
Terraform Plan / Terraform Plan (push) Failing after 3m34s
Some checks failed
Terraform Plan / Terraform Plan (push) Failing after 3m34s
Add global workflow concurrency group with queueing enabled so plan/apply/destroy runs do not overlap and contend for shared remote state.
This commit is contained in:
@@ -5,6 +5,10 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: terraform-global
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
terraform:
|
terraform:
|
||||||
name: "Terraform Apply"
|
name: "Terraform Apply"
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ on:
|
|||||||
- alpacas
|
- alpacas
|
||||||
- llamas
|
- llamas
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: terraform-global
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
destroy:
|
destroy:
|
||||||
name: "Terraform Destroy"
|
name: "Terraform Destroy"
|
||||||
|
|||||||
@@ -6,6 +6,10 @@ on:
|
|||||||
- stage
|
- stage
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: terraform-global
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
terraform:
|
terraform:
|
||||||
name: "Terraform Plan"
|
name: "Terraform Plan"
|
||||||
|
|||||||
Reference in New Issue
Block a user