Skip to content

Commit 1b6a750

Browse files
Update variables.tf
Fixes inability to provide default {} encryption_config
1 parent 0049a9b commit 1b6a750

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

variables.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,11 @@ variable "encryption_config" {
165165
description = "Configuration block with encryption configuration for the cluster"
166166
type = object({
167167
provider_key_arn = optional(string)
168-
resources = optional(list(string), ["secrets"])
168+
resources = optional(list(string))
169169
})
170-
default = {}
170+
default = {
171+
resources = ["secrets"]
172+
}
171173
}
172174

173175
variable "attach_encryption_policy" {

0 commit comments

Comments
 (0)