From 4842d7a2640a739c58041533ddb401d680a330f7 Mon Sep 17 00:00:00 2001 From: Sam Ainsworth Date: Tue, 7 May 2024 13:59:09 +0100 Subject: [PATCH] Fix destroy workspace job --- .github/workflows/destroy_workspaces.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/destroy_workspaces.yml b/.github/workflows/destroy_workspaces.yml index 4ffafd7a..2424dd57 100644 --- a/.github/workflows/destroy_workspaces.yml +++ b/.github/workflows/destroy_workspaces.yml @@ -44,5 +44,5 @@ jobs: 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 + export 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)