You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A privilege is not created. Instead, and error is printed:
scaleway_rdb_privilege.api: Creating...
╷
│ Error: scaleway-sdk-go: invalid argument(s): database_name does not respect constraint, This database is not managed by RDB service, you can not change permission with the API. Use CLI instead
│
│ with scaleway_rdb_privilege.api,
│ on ../sources/database.tf line 71, in resource "scaleway_rdb_privilege" "api":
│ 71: resource "scaleway_rdb_privilege" "api" {
│
╵
Steps to Reproduce
create all resources (instance, database, user) except scaleway_rdb_privilege,
once all resources (instance, database, user) are created, uncomment scaleway_rdb_privilege and attempt to create it
The users originally were provisioned using psql - could that be related, or straight up the reason I am getting the error? If so, then would I be able to import such users into scaleway_rdb_user resource 🤔
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Create database and user:
Expected Behavior
A privilege is created.
Actual Behavior
A privilege is not created. Instead, and error is printed:
Steps to Reproduce
scaleway_rdb_privilege
,scaleway_rdb_privilege
and attempt to create itReferences
Important Factoids
In a real-world scenario the DB instance & users were imported into terraform (e.g. not created from scratch in terraform).
The text was updated successfully, but these errors were encountered: