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 warning when using default stage name and FailOnWarnings is on #2726

Merged
merged 8 commits into from
Dec 14, 2022

Conversation

GavinZZ
Copy link
Contributor

@GavinZZ GavinZZ commented Dec 14, 2022

Issue #, if available

#2297

Description of changes

Before the change, when we turn on FailOnWarnings flag and use a default stage name, the deployment will fail because it will generate a warning saying

Warnings found during import: Parse issue: attribute paths. 

Resource $default should start with / 

Description of how you validated changes

Added integ test and ran all unit tests.

Checklist

Examples?

Please reach out in the comments if you want to add an example. Examples will be
added to sam init through aws/aws-sam-cli-app-templates.

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

@GavinZZ GavinZZ requested a review from a team as a code owner December 14, 2022 22:39
@GavinZZ GavinZZ enabled auto-merge (squash) December 14, 2022 23:08
@GavinZZ GavinZZ disabled auto-merge December 14, 2022 23:14
@GavinZZ GavinZZ enabled auto-merge (squash) December 14, 2022 23:30
@GavinZZ GavinZZ merged commit d83d2cb into aws:develop Dec 14, 2022
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.

4 participants