Skip to content

Commit

Permalink
🔧 (ephemeral-cloud-infra.yml): convert extracted ID to uppercase usin…
Browse files Browse the repository at this point in the history
…g 'tr' command for consistency in resource ID handling
  • Loading branch information
jandroav committed May 24, 2024
1 parent ff21a4d commit 5ac06b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ephemeral-cloud-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 5ac06b2

Please sign in to comment.