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