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

Logging of missing parameters when using change-set's #57

Open
stevemac007 opened this issue May 30, 2018 · 1 comment
Open

Logging of missing parameters when using change-set's #57

stevemac007 opened this issue May 30, 2018 · 1 comment

Comments

@stevemac007
Copy link

We are using the change-set feature to help diff the impact of our cloudformation changes, and it is working really well. We have just run into an edge condition when we add new parameters to our stack.

The root cause is operator error, but stackup could help narrow down the issue with better logging.

When using the stack up command with missing parameters we see:

$ stackup db-dev-steve up -t cloudformation/db/master-stack.json -p parameters/db/common-params.json -o Environment=dev-steve
ERROR: ParameterValue for ParameterKey Account is required

But doing this via change-set create it doesn't say which parameter is in error.

$ stackup db-dev-steve change-set create -t cloudformation/db/master-stack.json -p parameters/db/common-params.json -o Environment=dev-steve
ERROR: Cannot specify UsePreviousValue on Parameters when ChangeSetType is CREATE

Would be great if the change-set create could output which parameter is in error.

@tigris
Copy link
Contributor

tigris commented May 30, 2018

Thanks for the detailed report @stevemac007 ! We'll check it out.

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

No branches or pull requests

2 participants