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(python): Make sure stack name does not contain illegal characters #3261

Merged
merged 2 commits into from Jul 9, 2019

Conversation

garnaat
Copy link
Contributor

@garnaat garnaat commented Jul 9, 2019


The Python init template for a blank app was allowing characters in the stack name that are not allowed by CloudFormation.

Please read the contribution guidelines and follow the pull-request checklist.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@garnaat garnaat requested a review from a team as a code owner July 9, 2019 17:31
@@ -3,7 +3,7 @@

class %name.PascalCased%Stack(core.Stack):

def __init__(self, app: core.App, id: str, **kwargs) -> None:
super().__init__(app, id, **kwargs)
def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@garnaat garnaat merged commit 7d22b2c into aws:master Jul 9, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants