Closed brunoagueda closed 7 months ago
Hello @brunoagueda ha_replication_mode
is required for primary/standby instances.
I will update doc with this info.
Hi @artem-lifshits Thanks for the clarification. I checked the updated doc and added the ha_replication_mode parameter. Now I can create the RDS instance with primary and standby, but on terraform I get a plugin crash error I'm still checking if I missed something, but I already posted the debug logs on this gist: https://gist.github.com/brunoagueda/852be6f8e559729710aaae0594fff573
@brunoagueda I was able to reproduce the issue, it's a provider bug caused by API differences between eu-de and eu-ch regions. For now you can switch to provider version 1.35.16 but it also have some version issue after RDS creation.
I'm going to test RDS thoroughly for eu-ch2 and release fixes on upcoming Thursday.
@artem-lifshits thanks, with 1.35.16 version it worked
@brunoagueda fixes for Swisscloud are available in latest release.
Terraform provider version
Terraform v1.7.3 on linux_amd64 provider registry.terraform.io/opentelekomcloud/opentelekomcloud v1.35.16
Affected Resource(s)
Terraform Configuration Files
Debug Output/Panic Output
https://gist.github.com/brunoagueda/038144ab85259fde2989ae095ccf37d4
Steps to Reproduce
terraform apply
Expected Behavior
RDS being created
Actual Behavior
Error message: "Invalid AZ.","error_code":"DBS.280285"
Important Factoids
Removing one of the variables on the availability_zone paramater works, it only fails when I try to create with primary and standby instances. I wrote the code exactly as the documentation, I tried also some variations, but didn't work.
References