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

feat: Support Ignore Globals resource attribute #3386

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

GavinZZ
Copy link
Contributor

@GavinZZ GavinZZ commented Oct 18, 2023

Issue #, if available

#1874

Description of changes

Introduce IgnoreGlobals property on SAM Function. It's default to false, but when set to true, it will ignore the Function globals section.

Description of how you validated changes

All existing and new tests pass

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 marked this pull request as ready for review October 18, 2023 23:48
@GavinZZ GavinZZ requested a review from a team as a code owner October 18, 2023 23:48
@GavinZZ GavinZZ changed the title feat: Support Ignore Globals property in SAM Function feat: Support Ignore Globals resource attribute Oct 19, 2023
@GavinZZ GavinZZ force-pushed the ignore_globals branch 2 times, most recently from 1e9c634 to 1214037 Compare October 20, 2023 20:50
@GavinZZ GavinZZ merged commit a2be62d into aws:develop Oct 20, 2023
8 checks passed
@tirumerla
Copy link

Hello @GavinZZ thank you for this feature we are wondering when this change will be rolled out, looking at the commit history looks like this is not part of the latest release?

@GavinZZ
Copy link
Contributor Author

GavinZZ commented Nov 22, 2023

@tirumerla This change should be rolling out by end of this week with the next release v1.81.

@GavinZZ
Copy link
Contributor Author

GavinZZ commented Nov 23, 2023

https://github.com/aws/serverless-application-model/releases/tag/v1.81.0
This change is live now!

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.

6 participants