azurerm_mongo_cluster
resource does not accept source_server_id
when source and replica are created in one run
#28255
Labels
Is there an existing issue for this?
Community Note
Terraform Version
1.8.3
AzureRM Provider Version
4.13.0
Affected Resource(s)/Data Source(s)
azurerm_mongo_cluster
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The replica mongodb_cluster should be created after the primary instance is created.
Actual Behaviour
Create fails because the primary cluster id can not be fetched from the state.
Steps to Reproduce
Run the provided code using terraform apply
Important Factoids
No response
References
The same state check for
CreateModeGeoReplica
is done as in an existing other issue:https://github.com/hashicorp/terraform-provider-azurerm/pull/28215/files#diff-c0c03a38fa70112165c0529e41c65e8112e6112b29144829288f5d783891a14bL515
The text was updated successfully, but these errors were encountered: