Skip to content

Commit d76e304

Browse files
Add CI fix: disable state locking
Copy the CI workflow fix from main to enable reliable CI runs without state lock conflicts.
1 parent d99eb0c commit d76e304

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/automatic.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
id: plan
7979
run: |
8080
set -o pipefail -ex
81-
terraform plan -compact-warnings -no-color -input=false -lock-timeout=5m -out tfplan 2>&1 \
81+
terraform plan -compact-warnings -no-color -input=false -lock=false -out tfplan 2>&1 \
8282
| tee terraform_log
8383
terraform show -json tfplan > tfplan.json
8484
@@ -154,7 +154,7 @@ jobs:
154154
id: plan-cost
155155
run: |
156156
set -o pipefail -ex
157-
terraform plan -compact-warnings -no-color -input=false -lock-timeout=5m -out tfplan-cost 2>&1
157+
terraform plan -compact-warnings -no-color -input=false -lock=false -out tfplan-cost 2>&1
158158
terraform show -json tfplan-cost > tfplan-cost.json
159159
160160
- uses: overmindtech/cost-signals-action@v1

0 commit comments

Comments
 (0)