Skip to content

Commit 1156c3f

Browse files
authored
[PRM-591] Add -lock-timeout=20m to ndr-dev terraform plan/apply commands (#495)
1 parent a2237ad commit 1156c3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/automated-deploy-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Run Terraform Plan
6262
id: plan
6363
run: |
64-
terraform plan -input=false -no-color -var-file="${{vars.TF_VARS_FILE}}" -out tf.plan > plan_output.txt 2>&1
64+
terraform plan -lock-timeout=20m -input=false -no-color -var-file="${{vars.TF_VARS_FILE}}" -out tf.plan > plan_output.txt 2>&1
6565
terraform show -no-color tf.plan > tfplan.txt 2>&1
6666
6767
# Mask PEM certificates (BEGIN...END CERTIFICATE)
@@ -202,7 +202,7 @@ jobs:
202202
# Terraform apply will only occur on a push (merge request completion)
203203
- name: Run Terraform Apply
204204
if: github.ref == 'refs/heads/main'
205-
run: terraform apply -auto-approve -input=false tf.plan
205+
run: terraform apply -lock-timeout=20m -auto-approve -input=false tf.plan
206206
working-directory: ./infrastructure
207207

208208
deploy_lambdas:

0 commit comments

Comments
 (0)