Open andyzhang495 opened 4 years ago
Hi @xiaozhu36, I think the issue is at https://github.com/terraform-providers/terraform-provider-alicloud/blob/v1.72.0/alicloud/resource_alicloud_db_instance.go#L692, I suppose vpcService.DescribeVSwitch
method accepts only one switch id
?
Hi @ringtail Please take a look at this bug
@xiaozhu36 Hi, There's an update from today's test, We found out RDS of MySQL multi-zones works well, but RDS of PostgreSQL
Any update on this, we are facing the same issue and cannot use it production
This bug has been fixed, please pull the new master code. If there are multiple vswitches, separate them with commas.
Which version of terraform alicloud provider is the fix available ?
@Jayendra it is fixed in the v1.87.0 release AFAIK.
Terraform Version
Terraform v0.12.18
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
Console output of
terraform apply
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
The database should be created and apply should be succeeded.
Actual Behavior
terraform apply
reported error when calling AliCloud API using alibaba-cloud-sdk-goSteps to Reproduce
terraform apply
Important Factoids
Use multi zone id such as
cn-shanghai-MAZ4(e,f)
References