-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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(cloudformation): Skip SAM Global Tags propagation #4383
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR title is also a good life advice
@@ -66,9 +66,7 @@ def update_attribute( | |||
key_to_update = ".".join(attribute_key_parts[i:]) | |||
break | |||
|
|||
if isinstance(obj_to_update, list): | |||
key_to_update = int(key_to_update) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if remember correctly this was needed for some specific use cases that's why the UTs are failing. Even I don't like, maybe we can add a try/except block. Do you have the problematic template file?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
New/Edited policies (Delete if not relevant)
Description
Include a description of what makes it a violation and any relevant external links.
Fix
do not try to convert a list into int
Checklist: