Skip to content

Commit

Permalink
fix: Updated the fifo flag for deadletter queue. (#2641)
Browse files Browse the repository at this point in the history
* fix: updated the fifo flag for dl queue.

* fix: formatting.

* fix: variable name.

Co-authored-by: navdeepg2021 <navdeepg2021@gmail.com>
  • Loading branch information
GuptaNavdeep1983 and navdeepg2021 authored Nov 14, 2022
1 parent 6f1eba3 commit a8b1645
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ resource "aws_sqs_queue_policy" "build_queue_dlq_policy" {

resource "aws_sqs_queue" "queued_builds_dlq" {
count = var.redrive_build_queue.enabled ? 1 : 0
name = "${var.prefix}-queued-builds_dead_letter"
name = "${var.prefix}-queued-builds_dead_letter${var.fifo_build_queue ? ".fifo" : ""}"

sqs_managed_sse_enabled = var.queue_encryption.sqs_managed_sse_enabled
kms_master_key_id = var.queue_encryption.kms_master_key_id
kms_data_key_reuse_period_seconds = var.queue_encryption.kms_data_key_reuse_period_seconds

tags = var.tags
fifo_queue = var.fifo_build_queue
tags = var.tags
}

module "ssm" {
Expand Down

0 comments on commit a8b1645

Please sign in to comment.