Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

action deploys stack even if 'no-execute-changeset' is set #135

Open
jvanmelckebeke opened this issue May 15, 2024 · 0 comments
Open

action deploys stack even if 'no-execute-changeset' is set #135

jvanmelckebeke opened this issue May 15, 2024 · 0 comments

Comments

@jvanmelckebeke
Copy link

Steps to Reproduce

  1. Use the following GitHub Action configuration to deploy a CloudFormation stack:

    - name: deploy using CloudFormation
      uses: aws-actions/aws-cloudformation-github-deploy@master
      with:
        name: foobar
        template: template.yaml
        capabilities: ...
        no-execute-changeset: "1"
  2. Ensure the CloudFormation stack does not exist before running the action.

  3. The stack is deployed despite no-execute-changeset being set to "1".

Expected Behavior

A stack should be created, but with REVIEW_IN_PROGRESS.

Relevant Code

The issue appears to be in the deployStack function where the existence of the stack is checked. If the stack does not exist, a new stack is created without considering the no-execute-changeset flag. permalink

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant