From e98ccfac72d6bec6855a0e5b924cfad7d4c935b1 Mon Sep 17 00:00:00 2001 From: Sunny Date: Mon, 5 Aug 2024 14:32:23 +0000 Subject: [PATCH] workflow: Set aws-nuke region for cleanup Set the aws-nuke target regions from the region variables in the environment. Signed-off-by: Sunny --- .github/workflows/integration-cleanup.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration-cleanup.yaml b/.github/workflows/integration-cleanup.yaml index 374e1f12..df829fe5 100644 --- a/.github/workflows/integration-cleanup.yaml +++ b/.github/workflows/integration-cleanup.yaml @@ -104,4 +104,4 @@ jobs: role-session-name: cleanup_GH_Actions aws-region: ${{ vars.AWS_REGION }} - name: Run reaper - run: go run ./ -provider aws -retention-period 1h -tags 'ci=true' -delete + run: go run ./ -provider aws-nuke -awsregions '${{ vars.AWS_REGION }},${{ vars.OCI_E2E_TF_VAR_cross_region }}' -retention-period 1h -tags 'ci=true' -delete