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

Add error handling for OverrideApiAuth property without an authorizer #3350

Merged

Conversation

paulhcsun
Copy link
Contributor

Issue #, if available

https://sim.amazon.com/issues/SAMT-668

Description of changes

Add error handling for the case where the user uses the OverrideApiAuth property without defining one of Authorizer, ApiKeyRequired or ResourcePolicy properties

Description of how you validated changes

Error transformation test

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.

@paulhcsun paulhcsun marked this pull request as ready for review September 21, 2023 23:10
@paulhcsun paulhcsun requested a review from a team as a code owner September 21, 2023 23:10
@paulhcsun paulhcsun merged commit dbd2837 into aws:develop Sep 21, 2023
8 checks passed
@paulhcsun paulhcsun deleted the overrideapiauth-error-without-authorizer branch September 21, 2023 23:18
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

3 participants