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_lambda_event_source_mapping: Retry InvalidParameterValueException errors due to newly created resources #4316

Merged
merged 1 commit into from
Jan 5, 2016

Conversation

vancluever
Copy link
Contributor

Reference #4103 for errors and background, this fix uses current pattern. Retry InvalidParameterValueException errors on creating new Lambda event source mappings.

Fixes errors like the one below, and also ones that are related to policy in the role:

* aws_lambda_event_source_mapping.LambdaEventSourceMapping: Error creating Lambda event source mapping: InvalidParameterValueException: Please add Lambda as a Trusted Entity for arn:aws:iam::<redacted>
    status code: 400, request id: <redacted>

@hngkr
Copy link

hngkr commented Dec 15, 2015

I can confirm that this bug also bites us, and that we've worked around it using code that looks very much like this.

@catsby catsby merged commit bfa4a88 into hashicorp:master Jan 5, 2016
@vancluever
Copy link
Contributor Author

vancluever commented Jan 5, 2016 via email

@catsby
Copy link
Contributor

catsby commented Jan 5, 2016

ah, sorry @vancluever , I forgot to ping you here that I combined your PR with mine in #4511 , thanks so much!

@vancluever
Copy link
Contributor Author

No problem, glad to see it in!

@vancluever vancluever deleted the paybyphone_lambdamappingwaiter branch January 8, 2016 19:18
@ghost
Copy link

ghost commented Apr 28, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants