-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
5 minutes wait to get an error message for aws_lambda_event_source_mapping #14042
Comments
@breathingdust the best we can do here is potentially lower the retry timeout to our "standard" 2 minutes for the IAM errors -- is that the expectation? |
Just ran into this same issue but the error here was something that could have been validated upfront:
|
Also ran into this. Getting the error only after the timeout does not make much sense.
|
For anyone else who runs into this issue, you need to add the following statement to a policy attached to the role assumed by your Lambda function:
|
This has been released in version 3.43.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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. |
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Terraform should report an error right away.
Actual Behavior
I needed to wait for 5 minutes until the error message was shown...
Output
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: