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

Handle AccessDenied #10

Open
alexcasalboni opened this issue Aug 20, 2019 · 0 comments
Open

Handle AccessDenied #10

alexcasalboni opened this issue Aug 20, 2019 · 0 comments

Comments

@alexcasalboni
Copy link
Contributor

alexcasalboni commented Aug 20, 2019

When the Lambda function doesn't have enough permissions to read the SSM parameter, you get an AccessDeniedException ("botocore.exceptions.ClientError: An error occurred (AccessDeniedException)"). We could handle that here.

This way we could show customers a proper error such as "Your Lambda function is missing the required IAM permissions to read the chaos configuration from SSM" - and maybe even provide them with the correct JSON document, as documented here.

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

No branches or pull requests

1 participant