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

fix: Remove the GuStackParameter construct #646

Merged
merged 1 commit into from
Jun 29, 2021
Merged

Conversation

akash1810
Copy link
Member

What does this change?

A CFN parameter for the stack name is not necessary when defining a stack with GuCDK.

Indeed since #243, GuStack takes a mandatory string for stack in it's constructor. Due to the changes in #243, it follows that GuStackParameter is never used and is dead code. That is, making this a patch release should follow semver... I think!

Does this change require changes to existing projects or CDK CLI?

No.

Does this change require changes to the library documentation?

No.

How to test

n/a

How can we measure success?

Removal of dead code.

Have we considered potential risks?

n/a

A CFN parameter for the stack name is not necessary when defining a stack with GuCDK.

Indeed since #243, `GuStack` takes a mandatory string for `stack` in it's constructor.
Due to the changes in #243, it follows that `GuStackParameter` is never used and is dead code.
@akash1810 akash1810 requested a review from a team June 29, 2021 14:02
@akash1810 akash1810 merged commit eb40aa1 into main Jun 29, 2021
@akash1810 akash1810 deleted the aa-rm-stack-param branch June 29, 2021 17:04
@github-actions
Copy link
Contributor

🎉 This PR is included in version 20.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants