From 5ac06b22581549ff0635a66844c651e06f064c70 Mon Sep 17 00:00:00 2001 From: jandroav Date: Fri, 24 May 2024 15:58:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(ephemeral-cloud-infra.yml):=20c?= =?UTF-8?q?onvert=20extracted=20ID=20to=20uppercase=20using=20'tr'=20comma?= =?UTF-8?q?nd=20for=20consistency=20in=20resource=20ID=20handling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ephemeral-cloud-infra.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ephemeral-cloud-infra.yml b/.github/workflows/ephemeral-cloud-infra.yml index 82da58bd..478bf396 100644 --- a/.github/workflows/ephemeral-cloud-infra.yml +++ b/.github/workflows/ephemeral-cloud-infra.yml @@ -88,7 +88,7 @@ jobs: working-directory: test-automation-ephemeral/infra if: ${{ inputs.deploy }} run: | - ID=$(echo ${{ steps.create_stack.outputs.stack_id }} | cut -d '-' -f 5) + ID=$(echo ${{ steps.create_stack.outputs.stack_id }} | cut -d '-' -f 5 | tr '[:lower:]' '[:upper:]') echo "resources_id=$ID" >> "$GITHUB_OUTPUT" spacectl stack environment setvar --id $EPHEMERAL_STACK_ID TF_VAR_stack_id $ID spacectl stack environment setvar --id $EPHEMERAL_STACK_ID TF_VAR_create_dynamodb ${{ inputs.dynamodb }}