Commit 679684d 1 parent 410c730 commit 679684d Copy full SHA for 679684d
File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -141,8 +141,16 @@ jobs:
141
141
- name : Terraform Destroy
142
142
working-directory : ./spartan/terraform/deploy-release
143
143
if : ${{ inputs.run_terraform_destroy == 'true' }}
144
+ # Destroy fails if the resources are already destroyed, so we continue on error
145
+ continue-on-error : true
144
146
run : |
145
- terraform destroy -auto-approve
147
+ terraform destroy -auto-approve \
148
+ -var="RELEASE_NAME=${{ env.NAMESPACE }}" \
149
+ -var="VALUES_FILE=${{ env.VALUES_FILE }}" \
150
+ -var="GKE_CLUSTER_CONTEXT=${{ env.GKE_CLUSTER_CONTEXT }}" \
151
+ -var="AZTEC_DOCKER_IMAGE=${{ env.AZTEC_DOCKER_IMAGE }}" \
152
+ -var="L1_DEPLOYMENT_MNEMONIC=${{ steps.get-mnemonic.outputs.mnemonic }}"
153
+ -lock=${{ inputs.respect_tf_lock }}
146
154
147
155
- name : Terraform Plan
148
156
working-directory : ./spartan/terraform/deploy-release
You can’t perform that action at this time.
0 commit comments