feat: Update KMS module to avoid calling data sources when create_kms_key = false (#2804)

This commit is contained in:
Bryant Biggs
2023-11-04 08:41:59 -04:00
committed by GitHub
parent e4c50987f7
commit 0732bea85f
3 changed files with 3 additions and 3 deletions

View File

@@ -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