From 969c7a7c4340c8ed327d18f86c5e00e18190a48b Mon Sep 17 00:00:00 2001 From: tal-lederman-dy <125883319+tal-lederman-dy@users.noreply.github.com> Date: Tue, 18 Apr 2023 16:03:15 +0300 Subject: [PATCH] fix: SQS queue encryption types selection (#2575) Co-authored-by: Tal Lederman --- modules/karpenter/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/karpenter/main.tf b/modules/karpenter/main.tf index cdbfb13f5d..fdae1a410a 100644 --- a/modules/karpenter/main.tf +++ b/modules/karpenter/main.tf @@ -197,7 +197,7 @@ resource "aws_sqs_queue" "this" { name = local.queue_name message_retention_seconds = 300 - sqs_managed_sse_enabled = var.queue_managed_sse_enabled + sqs_managed_sse_enabled = var.queue_managed_sse_enabled ? var.queue_managed_sse_enabled : null kms_master_key_id = var.queue_kms_master_key_id kms_data_key_reuse_period_seconds = var.queue_kms_data_key_reuse_period_seconds