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 AWS::Events::* resource providers for CloudFormation #9438
Conversation
Changes unknown when pulling f7a64ec on feat/cfn_events into ** on master**. |
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.
Only a minor comment about making a note about the exception handling, nothing blocking 🎉
try: | ||
events.remove_permission(**params) | ||
except ClientError as err: | ||
is_resource_not_found = err.response["Error"]["Code"] == "ResourceNotFoundException" |
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.
As said in another PR: could we add a comment saying that this exception only might happen because of incorrect dependency resolution in the CFn engine?
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.
Sure thing
…source. This change became necessary due to CloudFormation's failure to correctly resolve dependencies between resources, potentially causing the deletion of this resource if its parent resource is deleted first.
# Conflicts: # localstack/services/cloudformation/resource_provider.py
Changes
Added: