There was an error while loading. Please reload this page.
1 parent 6e93784 commit be71008Copy full SHA for be71008
1 file changed
.github/workflows/tfdrift.yaml
@@ -35,8 +35,9 @@ jobs:
35
id: plan
36
run: |
37
cd example/actions/terraform
38
- terraform plan -detailed-exitcode -input=false || EXIT_CODE=$?
39
- echo "exit_code=${EXIT_CODE:-0}" >> $GITHUB_OUTPUT
+ terraform plan -detailed-exitcode -input=false
+ EXIT_CODE=$?
40
+ echo "exit_code=$EXIT_CODE" >> $GITHUB_OUTPUT
41
continue-on-error: true
42
43
- name: Send SNS Notification on Plan Failure
0 commit comments