问题
Following the documentation here https://www.terraform.io/docs/providers/aws/r/rds_global_cluster.html
launching a global RDS gobal cluster which involves having a primary cluster in one region and a secondary cluster in another region will require launching resources in 2 different regions but there is no explanation of how this will work in the documentation
How am i suppose to run terraform apply
on the definitions to launch the global cluster since this requires 2 regions? Has anyone being successful in using terraform to launch this?
Getting the following errors at the moment
$terraform plan -var-file=dev.tfvars
Error: Error asking for user input: 1 error(s) occurred:
* Cycle: aws_rds_cluster_instance.db-west, aws_rds_cluster.db-west
来源:https://stackoverflow.com/questions/56673255/launching-aws-aurora-mysql-rds-global-cluster-with-terraform