Open sinyiwsy opened 3 years ago
Hi @sinyiwsy I am sorry for late reply. This error shows the specified account name is incorrect and can you check it with docs: https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/polardb_account#account_name or share the account name with me?
Hi @sinyiwsy I am sorry for late reply. This error shows the specified account name is incorrect and can you check it with docs: https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/polardb_account#account_name or share the account name with me?
Hi @xiaozhu36 Thanks for your reply. I followed the example from official documentation, but it fails to build a database and show this error to me. And there is no option to select an user as a PolarDB database owner. Here is my terraforem script https://gist.github.com/sinyiwsy/4e72660d9820ae0db819967029ba6f23
I can create an account inside, but can't create a database.
HI @sinyiwsy Can you share the RequestID with me? That can help me to locate the issue.
@xiaozhu36 No problem. I sent it to your email.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
What should have happened? It should create a polar database in a PolarDB cluster.
Actual Behavior
What actually happened?
I have checked the documentation, and can't find any field/value related to AccountName.
Remark
In UI console, there is a required field "Database Owner", but the resource 'alicloud_polardb_database' doesn't have. I guess this error is caused by that.