-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 Kinesis Firehose Delivery repeatably fails on first run when connecting to AWS ElasticSearch, success on second run #4513
Comments
Pull request submitted: #4518 -- thanks for submitting this issue! |
The fix for this is now in and will release later this week in v1.19.0 of the AWS provider. |
This has been released in version 1.19.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
@bflad Already used the fixed earlier today :) thank you again for the quick turn-around! |
@bflad I'm seeing a similar problem
Perhaps AWS has changed its error message or this is another related pathology? |
@bflad ping ^^ |
Getting the same error as @ahl when trying the elasticsearch destination example from https://www.terraform.io/docs/providers/aws/r/kinesis_firehose_delivery_stream.html |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
This error is very similar to #3380, however the error I'm getting is slightly different because Kinesis Firehose is trying to connect to ElasticSearch, unlike the original ticket. The workaround, just like the original ticket, is to run terraform apply again after the first failure, and it'll run successfully.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
https://gist.github.com/CharlieC3/4a211d185000285f206d890044889e73
Debug Output
https://gist.github.com/CharlieC3/703b219cf03231d6ae7aeecfaff49290
Expected Behavior
Terraform should have retried the creation of the Kinesis Firehose Delivery Stream due to the fix created from issue #3380.
Actual Behavior
Terraform did not retry the creation of the Kinesis Firehose Delivery Stream. This is purely a guess without doing much digging in the Terraform source code, but this error is possibly happening because the actual error message I received was worded differently than what the fix is looking for.
The error I received says:
And the fix linked below is worded to look for an error which says:
https://github.com/terraform-providers/terraform-provider-aws/blob/v1.18.0/aws/resource_aws_kinesis_firehose_delivery_stream.go#L1429
Note the error I received says "describe" and the error the fix looks for says "perform".
Steps to Reproduce
terraform apply
References
The text was updated successfully, but these errors were encountered: