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

aws - detail spec calls catch access denied due to rbp #9458

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

PratMis
Copy link
Collaborator

@PratMis PratMis commented Apr 23, 2024

Should address #9455

This PR only addresses the failure of a policy due to a resource blocking access via resource based policies

@PratMis PratMis marked this pull request as ready for review April 23, 2024 23:42
@PratMis PratMis requested a review from kapilt as a code owner April 23, 2024 23:42
e.response['ResponseMetadata']['HTTPStatusCode'] == 403 and
'resource-based policy' in e.response['Error']['Message']):
manager.log.exception(e)
continue
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to raise for all other errors? My assumption is that if we leave it as is, the boto3 errors will bubble up automatically

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

1 participant