Skip to content

Commit bf3f5e0

Browse files
committed
cleanup
1 parent 18d0278 commit bf3f5e0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

terraform/sqs_id_sync.tf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Standard SQS Queue
2-
31
resource "aws_sqs_queue" "id_sync_queue" {
42
name = "${local.short_prefix}-id-sync-queue"
53
kms_master_key_id = data.aws_kms_key.existing_id_sync_sqs_encryption_key.arn
@@ -10,8 +8,6 @@ resource "aws_sqs_queue" "id_sync_queue" {
108
})
119
}
1210

13-
# DLQ for id-sync-queue
14-
1511
resource "aws_sqs_queue" "id_sync_dlq" {
1612
name = "${local.short_prefix}-id-sync-dlq"
1713
}
@@ -25,10 +21,6 @@ resource "aws_sqs_queue_redrive_allow_policy" "id_sync_queue_redrive_allow_polic
2521
})
2622
}
2723

28-
# IAM policy.
29-
# TODO: this is currently a global allow policy.
30-
# Refine this to allow receive from our lambda, and send from MNS
31-
3224
data "aws_iam_policy_document" "id_sync_sqs_policy" {
3325
statement {
3426
sid = "id-sync-queue SQS statement"

0 commit comments

Comments
 (0)