Skip to content

Commit 9065f94

Browse files
committed
Add a bit of debug around tf switch
1 parent ea8bcf0 commit 9065f94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/DeployEverything.yml

+4
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,12 @@ jobs:
4343
terraform plan --var-file ../tfvars/${{ inputs.env }}.tfvars -detailed-exitcode
4444
4545
# Tests whether there are any changes to make, see: https://developer.hashicorp.com/terraform/cli/commands/plan#detailed-exitcode
46+
echo 'Exit Code: $?'
47+
echo $?
48+
4649
exitCode=$?
4750
if [ $exitCode -eq 2 ]; then
51+
echo 'Change detected, applying'
4852
terraform apply -auto-approve --var-file ../tfvars/${{ inputs.env }}.tfvars
4953
fi
5054
env:

0 commit comments

Comments
 (0)