Skip to content

Commit c73c8b5

Browse files
authored
feat: updated instance region for list command (#98)
1 parent 9e9106e commit c73c8b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-cloudformation-stackset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
150150
- name: Create or Update StackSet-instance
151151
run: |
152-
stack_instance_list=$(aws cloudformation list-stack-instances --region ${{ inputs.stackset-instance-region }} --stack-set-name ${{ inputs.stack-set-name }})
152+
stack_instance_list=$(aws cloudformation list-stack-instances --region ${{ inputs.aws-region }} --stack-set-name ${{ inputs.stack-set-name }})
153153
if [ "${{ inputs.permission-model }}" == "SERVICE_MANAGED" ]; then
154154
if [[ "$stack_instance_list" == *'"Summaries": []'* ]]; then
155155
echo "StackSet-instance, creating..."

0 commit comments

Comments
 (0)