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

Specifying stack parameters with parameter-overrides causes other parameters to revert to their default value #99

Open
sgdesmet opened this issue May 3, 2023 · 0 comments

Comments

@sgdesmet
Copy link

sgdesmet commented May 3, 2023

The name parameter-overrides suggests similarity to aws cloudformation deploy --parameter-overrides while this actually functions similarly to aws cloudformation update --parameters, in that Cloudformation will use the default parameter value for stack parameters that were not specified, rather than using the previous value. The documentation for this github action isn't entirely clear on this either.

The updateStack(...) method in deploy.ts uses the AWS SDK v2 createChangeSet(...) call, of which the AWS SDK documentation has this to say:

Parameters — (Array)
A list of Parameter structures that specify input parameters for the change set. For more information, see the Parameter data type.

  • ParameterKey — (String)
    The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.
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