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:
+2
-4
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user