terraform-aws-eks
terraform-aws-eks copied to clipboard
sqs_managed_sse_enabled = false in Karpenter creates SQS with SSE enabled
Description
In the Karpenter module, setting sqs_managed_sse_enabled = false still creates SQS with SSE enabled.
This might be due to the following line which sets the underlying aws_sqs_queue resource with sqs_managed_sse_enabled = null.
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/modules/karpenter/main.tf#L147
- [x] β I have searched the open/closed issues and my issue is not listed.
β οΈ Note
Before you submit an issue, please perform the following first:
- Remove the local
.terraformdirectory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/ - Re-initialize the project root to pull down modules:
terraform init - Re-attempt your terraform plan or apply and check if the issue still persists
Versions
-
Module version [Required]:
-
Terraform version:
- Provider version(s):
Reproduction Code [Required]
module "karpenter" {
source = "terraform-aws-modules/eks/aws//modules/karpenter"
namespace = "karpenter"
# ...
queue_managed_sse_enabled = false
}
Steps to reproduce the behavior: