Skip to content

Commit 4275dd0

Browse files
committed
fix(aws_eks): correct encryption_config object
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
1 parent b769147 commit 4275dd0

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

aws_eks/variables.tf

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,10 @@ variable "node_groups" {
2828
default = {}
2929
}
3030
variable "encryption_config" {
31-
description = "Configuration for cluster encryption"
32-
type = list(object({
33-
provider = object({
34-
key_arn = string
35-
})
36-
resources = list(string)
37-
}))
38-
default = []
31+
description = "Configuration block with encryption configuration for the cluster"
32+
type = object({
33+
provider_key_arn = optional(string)
34+
resources = optional(list(string), ["secrets"])
35+
})
36+
default = {}
3937
}

0 commit comments

Comments
 (0)