Skip to content

Commit

Permalink
fix: Add conditional null for sqs_managed_sse_enabled (terraform-aws-…
Browse files Browse the repository at this point in the history
  • Loading branch information
bendehaan authored Oct 4, 2022
1 parent bad8dc0 commit da544b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resource "aws_sqs_queue" "this" {
deduplication_scope = var.deduplication_scope
fifo_throughput_limit = var.fifo_throughput_limit

sqs_managed_sse_enabled = var.sqs_managed_sse_enabled
sqs_managed_sse_enabled = var.sqs_managed_sse_enabled ? var.sqs_managed_sse_enabled : null
kms_master_key_id = var.sqs_managed_sse_enabled ? null : var.kms_master_key_id
kms_data_key_reuse_period_seconds = var.kms_data_key_reuse_period_seconds

Expand Down

0 comments on commit da544b9

Please sign in to comment.