Skip to content

Commit

Permalink
feat: updated instance region for list command (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanveer143s committed Oct 31, 2023
1 parent 9e9106e commit c73c8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-cloudformation-stackset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
- name: Create or Update StackSet-instance
run: |
stack_instance_list=$(aws cloudformation list-stack-instances --region ${{ inputs.stackset-instance-region }} --stack-set-name ${{ inputs.stack-set-name }})
stack_instance_list=$(aws cloudformation list-stack-instances --region ${{ inputs.aws-region }} --stack-set-name ${{ inputs.stack-set-name }})
if [ "${{ inputs.permission-model }}" == "SERVICE_MANAGED" ]; then
if [[ "$stack_instance_list" == *'"Summaries": []'* ]]; then
echo "StackSet-instance, creating..."
Expand Down

0 comments on commit c73c8b5

Please sign in to comment.