Closed afaqueahmad closed 1 year ago
Hello,
This appears to be an issue or question with the AWS provider, not with Terraform itself. You can see existing issues and file a new one in their repository here: https://github.com/hashicorp/terraform-provider-aws/issues. If you have questions about Terraform or the AWS provider, it's better to use the community forum where there are more people ready to help. The GitHub issues here are monitored only by a few core maintainers.
Thanks!
Thanks @jbardin, It make sense to me, let me raise this to aws provider.
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.
Terraform Version
Terraform Configuration Files
Debug Output
Official terraform code for creating global cluster is failing with below error. Global cluster and primary cluster and its instance getting created fine, but when terraform is trying to create secondary cluster, it is throwing below error.
Seems when terraform is trying to create secondary cluster, primary cluster is not in available or in state which is require for replication cluster.
Expected Behavior
When you run terraform apply again, it works fine but it should work in one go.
Actual Behavior
when you run terraform apply it throws error.
I got a workaround that works fine in one go but that is not expected way of doing.
Steps to Reproduce
terraform init terraform apply
Additional Context
No response
References
No response