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

fix: Move encryption_config default for resources out of type definition and to default variable value to allow disabling encryption (#3436)

* Update variables.tf

Fixes inability to provide default {} encryption_config

* Readme update

* fix syntax

* syntax

* fix: Run pre-commit

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
This commit is contained in:
Brandon Kneeld
2025-07-24 14:58:41 -04:00
committed by GitHub
parent 0049a9b9d0
commit b37368fdbc
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -165,9 +165,11 @@ variable "encryption_config" {
description = "Configuration block with encryption configuration for the cluster"
type = object({
provider_key_arn = optional(string)
resources = optional(list(string), ["secrets"])
resources = optional(list(string))
})
default = {}
default = {
resources = ["secrets"]
}
}
variable "attach_encryption_policy" {