ci: fix drift detection

This commit is contained in:
2022-06-14 00:24:10 +02:00
parent 4d8fc647c4
commit 837f30a6b4

View File

@@ -34,7 +34,7 @@ steps:
- name: terraform plan
image: hashicorp/terraform:1.1.8
commands:
- terraform plan $([[ $${DRONE_BUILD_EVENT} = cron ]] && echo "--detailed-exit-code") -var-file ci.tfvars -out .tfplan
- terraform plan $([[ $${DRONE_BUILD_EVENT} = cron ]] && echo "-detailed-exitcode") -var-file ci.tfvars -out .tfplan
environment:
AWS_ACCESS_KEY_ID:
from_secret: terraform-aws-key-id
@@ -85,6 +85,6 @@ steps:
---
kind: signature
hmac: ff1e95a59f3262127be0c7f607c126b866483cce98e9ca4e76f680bbb89b4771
hmac: 95f8db197163e884f2eee4b14af136b9ea1e0f88f626079b4a3b38b43b91c6a8
...