File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
infrastructure/terraform/modules/backend-api Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ No requirements.
5252| <a name =" module_s3bucket_internal " ></a > [ s3bucket\_ internal] ( #module\_ s3bucket\_ internal ) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/s3bucket | v1.0.8 |
5353| <a name =" module_s3bucket_quarantine " ></a > [ s3bucket\_ quarantine] ( #module\_ s3bucket\_ quarantine ) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/s3bucket | v1.0.8 |
5454| <a name =" module_sqs_sftp_upload " ></a > [ sqs\_ sftp\_ upload] ( #module\_ sqs\_ sftp\_ upload ) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/sqs | v2.0.1 |
55- | <a name =" module_sqs_template_table_events " ></a > [ sqs\_ template\_ table \_ events] ( #module\_ sqs\_ template\_ table \_ events ) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/sqs | v2.0.8 |
55+ | <a name =" module_sqs_template_mgmt_events " ></a > [ sqs\_ template\_ mgmt \_ events] ( #module\_ sqs\_ template\_ mgmt \_ events ) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/sqs | v2.0.8 |
5656| <a name =" module_sqs_template_table_events_pipe_dlq " ></a > [ sqs\_ template\_ table\_ events\_ pipe\_ dlq] ( #module\_ sqs\_ template\_ table\_ events\_ pipe\_ dlq ) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/sqs | v2.0.8 |
5757| <a name =" module_sqs_validate_letter_template_files " ></a > [ sqs\_ validate\_ letter\_ template\_ files] ( #module\_ sqs\_ validate\_ letter\_ template\_ files ) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/sqs | v2.0.1 |
5858| <a name =" module_submit_template_lambda " ></a > [ submit\_ template\_ lambda] ( #module\_ submit\_ template\_ lambda ) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/lambda | v2.0.4 |
Original file line number Diff line number Diff line change 1- module "sqs_template_table_events " {
1+ module "sqs_template_mgmt_events " {
22 source = " git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/sqs?ref=v2.0.8"
33
44 aws_account_id = var. aws_account_id
55 component = var. component
66 environment = var. environment
77 project = var. project
88 region = var. region
9- name = " template-table -events"
9+ name = " template-mgmt -events"
1010 fifo_queue = true
1111 sqs_kms_key_arn = var. kms_key_arn
1212}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ resource "aws_pipes_pipe" "template_table_events" {
22 name = " ${ local . csi } -template-table-events"
33 role_arn = aws_iam_role. pipe_template_table_events . arn
44 source = aws_dynamodb_table. templates . stream_arn
5- target = module. sqs_template_table_events . sqs_queue_arn
5+ target = module. sqs_template_mgmt_events . sqs_queue_arn
66 desired_state = var. enable_event_stream ? " RUNNING" : " STOPPED"
77 kms_key_identifier = var. kms_key_arn
88
@@ -83,7 +83,7 @@ data "aws_iam_policy_document" "pipe_template_table_events" {
8383 effect = " Allow"
8484 actions = [" sqs:SendMessage" ]
8585 resources = [
86- module . sqs_template_table_events . sqs_queue_arn ,
86+ module . sqs_template_mgmt_events . sqs_queue_arn ,
8787 module . sqs_template_table_events_pipe_dlq . sqs_queue_arn ,
8888 ]
8989 }
You can’t perform that action at this time.
0 commit comments