We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eae267c commit e399016Copy full SHA for e399016
postgres/roles/main.tf
@@ -7,6 +7,6 @@ resource "postgresql_role" "role" {
7
roles = var.roles
8
9
lifecycle {
10
- prevent_destroy = true
+ prevent_destroy = false
11
}
12
postgres/roles/vars.tf
@@ -27,6 +27,7 @@ variable create_role {
27
28
29
variable roles {
30
- type = list
+ type = list(string)
31
+ default = []
32
description = "(Optional) Defines list of roles which will be granted to this new role."
33
0 commit comments