Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: multi runner dl queue. #2644

Merged
merged 1 commit into from
Nov 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/multi-runner/queues.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ resource "aws_sqs_queue_policy" "build_queue_policy" {

resource "aws_sqs_queue" "queued_builds_dlq" {
for_each = var.multi_runner_config
name = "${var.prefix}-${each.key}-queued-builds_dead_letter"
name = "${var.prefix}-${each.key}-queued-builds_dead_letter${each.value.fifo ? ".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 = each.value.fifo
tags = var.tags
}

resource "aws_sqs_queue_policy" "build_queue_dlq_policy" {
Expand Down