Skip to content

Commit

Permalink
Allow TF destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Ainsworth committed Apr 26, 2024
1 parent 0f55aa1 commit 037f319
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/destroy_workspaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,6 @@ jobs:
- name: Destroy Protected Workspaces
run: |
unset TF_WORKSPACE
# Set the image URI to allow the workspace cleanup script to run without errors (it expects a value)
set TF_VAR_lambda_image_uri=destroy
./scripts/workspace_cleanup.sh $(terraform-workspace-manager -protected-workspaces=true -aws-account-id=288342028542 -aws-iam-role=integrations-ci)

0 comments on commit 037f319

Please sign in to comment.