fix: required_parameters type in root_policy_extra_rules
This commit is contained in:
parent
f9acfc4675
commit
ecd09aa07d
2
root.tf
2
root.tf
@ -33,7 +33,7 @@ data "vault_policy_document" "root" {
|
|||||||
description = try(rule.value.description, null)
|
description = try(rule.value.description, null)
|
||||||
min_wrapping_ttl = try(rule.value.min_wrapping_ttl, null)
|
min_wrapping_ttl = try(rule.value.min_wrapping_ttl, null)
|
||||||
max_wrapping_ttl = try(rule.value.max_wrapping_ttl, null)
|
max_wrapping_ttl = try(rule.value.max_wrapping_ttl, null)
|
||||||
required_parameters = try(rule.value.required_parameters, null)
|
required_parameters = try(rule.value.required_parameters, [])
|
||||||
|
|
||||||
dynamic "allowed_parameter" {
|
dynamic "allowed_parameter" {
|
||||||
for_each = try(rule.value.allowed_parameter, null) != null ? rule.value.allowed_parameter : {}
|
for_each = try(rule.value.allowed_parameter, null) != null ? rule.value.allowed_parameter : {}
|
||||||
|
Loading…
Reference in New Issue
Block a user