-
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
tests/api_gateway_domain_name: Inconsistent result on Terraform 0.15.0-alpha #17776
Comments
Hi @YakDriver, In the past when I've seen this error it's been caused by an eventual consistency problem where the provider tries to read back what it just created as part of returning from Do you think that could be a possible explanation in this case? It does seem like this particular resource type is using the aforementioned pattern: terraform-provider-aws/aws/resource_aws_s3_bucket_object.go Lines 293 to 294 in 7546a7f
Based on the other code I see in there, I think we could confirm it by capturing the provider logs prior to that error to see if we're entering this branch: terraform-provider-aws/aws/resource_aws_s3_bucket_object.go Lines 316 to 320 in 7546a7f
I'm happy to look a bit deeper on the core side if it seems like something different is happening here, of course! |
A simple resource change to show a Terraform AWS Provider error instead of the Terraform CLI error in this case is to implement To also mitigate the eventual consistency issues, a pattern such as Resource Lifecycle Retries can be adopted. |
Cool. Thanks for the input! It looks like straightforward fixes needed on the AWS provider side. |
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
Acceptance Test
TestAccAWSAPIGatewayDomainName_MutualTlsAuthentication
produces inconsistent results after apply on Terraform v0.15.0-alpha:Affected Resources
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
References
The text was updated successfully, but these errors were encountered: