mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-18 07:23:45 +01:00
feat: Update KMS module to avoid calling data sources when create_kms_key = false (#2804)
This commit is contained in:
2
main.tf
2
main.tf
@@ -122,7 +122,7 @@ resource "aws_cloudwatch_log_group" "this" {
|
||||
|
||||
module "kms" {
|
||||
source = "terraform-aws-modules/kms/aws"
|
||||
version = "1.1.0" # Note - be mindful of Terraform/provider version compatibility between modules
|
||||
version = "2.1.0" # Note - be mindful of Terraform/provider version compatibility between modules
|
||||
|
||||
create = local.create && var.create_kms_key && local.enable_cluster_encryption_config # not valid on Outposts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user