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

chore: remove soft template validation #2961

Merged
merged 3 commits into from
Feb 27, 2023
Merged

chore: remove soft template validation #2961

merged 3 commits into from
Feb 27, 2023

Conversation

hoffa
Copy link
Contributor

@hoffa hoffa commented Feb 27, 2023

Issue #, if available

Description of changes

While working on #2935, noticed this warning:

WARNING:samtranslator.parser.parser:Template schema validation reported the following errors: [Resources.MyApi.Properties] Additional properties are not allowed ('AlwaysDeploy' was unexpected)

It doesn't enforce anything. We now have much better schema with #2645, and we've been more diligent with runtime validation. Also avoid issues such as #2301.

Keeping this PR small, but as follow-up will add @deprecated to the now-unused functions.

Description of how you validated changes

CI 🙏

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.

@hoffa hoffa marked this pull request as ready for review February 27, 2023 17:50
@hoffa hoffa requested a review from a team as a code owner February 27, 2023 17:50
@hoffa hoffa merged commit c8ad463 into aws:develop Feb 27, 2023
@hoffa hoffa deleted the remove-unused-validation branch February 27, 2023 18:07
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.

5 participants