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
if_, err:=tx.Exec(fmt.Sprintf("ALTER DEFAULT PRIVILEGES IN SCHEMA %s REVOKE ALL ON TABLES FROM %s CASCADE", pq.QuoteIdentifier(schemaName), pq.QuoteIdentifier(userName))); err!=nil {
which retries until terraform exits successfully without actually droping the users.
removing cascade worked for me.
Id be happy to submit a pull request if thats ok with you.
The text was updated successfully, but these errors were encountered:
Hello,
it seems that when deleting an user there is a query revoking privileges using cascade, which redshift seems to don't accept.
this is the query:
terraform-provider-redshift/redshift/resource_redshift_user.go
Line 393 in 53c926c
which retries until terraform exits successfully without actually droping the users.
removing cascade worked for me.
Id be happy to submit a pull request if thats ok with you.
The text was updated successfully, but these errors were encountered: