1
0
mirror of https://github.com/terraform-aws-modules/terraform-aws-eks.git synced 2025-09-09 19:32:58 +08:00

fix: Correct encryption configuration enable logic; avoid creating Auto Mode policy when Auto Mode is not enabled (#3439)

This commit is contained in:
Bryant Biggs
2025-07-25 07:19:45 -05:00
committed by GitHub
parent 41d31db4e2
commit 6b8a3d9477
3 changed files with 7 additions and 9 deletions
+2 -4
View File
@@ -165,11 +165,9 @@ variable "encryption_config" {
description = "Configuration block with encryption configuration for the cluster"
type = object({
provider_key_arn = optional(string)
resources = optional(list(string))
resources = optional(list(string), ["secrets"])
})
default = {
resources = ["secrets"]
}
default = {}
}
variable "attach_encryption_policy" {