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

Apply cfn mutability trait to identifiers #1480

Conversation

haydenbaker
Copy link
Contributor

Description of changes:
Changes are based off of #1465 (not merged yet)

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

For resources with parent resources, identifiers that are inherited
should be marked with create-and-read mutability instead of the
defaults for that resource. This fixes that case, and adjusts the
test cases to verify the correct behavior
For members that are implicitly bound to an identifier in an additional schema
for a resource, the `cfnMutability` trait should safely be applied when specified.
These changes allow for this, and also adds test cases to verify the safe
applications for the trait on identifiers.
@haydenbaker haydenbaker requested a review from a team as a code owner November 1, 2022 16:24
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.

2 participants