File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed
infrastructure/terraform/modules/backend-api Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,4 @@ locals {
5757 ][0 ], " " )
5858
5959 sftp_environment = " ${ var . group } -${ var . environment } -${ var . component } "
60-
61- db_entity_shortnames = {
62- " routing_config" = " rc"
63- " template" = " tm"
64- }
6560}
Original file line number Diff line number Diff line change @@ -30,13 +30,12 @@ resource "aws_pipes_pipe" "routing_config_table_events" {
3030 "eventID": <$.eventID>,
3131 "eventName": <$.eventName>,
3232 "eventSource": <$.eventSource>,
33- "tableName": "${ aws_dynamodb_table . routing_configuration . name } ",
34- "prefixedGroupId": "${ local . db_entity_shortnames [" routing_config" ]} :<$.dynamodb.Keys.id.S>"
33+ "tableName": "${ aws_dynamodb_table . routing_configuration . name } "
3534 }
3635 EOF
3736
3837 sqs_queue_parameters {
39- message_group_id = " $.prefixedGroupId "
38+ message_group_id = " <$.dynamodb.Keys.id.S> "
4039 message_deduplication_id = " $.eventID"
4140 }
4241 }
Original file line number Diff line number Diff line change @@ -30,13 +30,12 @@ resource "aws_pipes_pipe" "template_table_events" {
3030 "eventID": <$.eventID>,
3131 "eventName": <$.eventName>,
3232 "eventSource": <$.eventSource>,
33- "tableName": "${ aws_dynamodb_table . templates . name } ",
34- "prefixedGroupId": "${ local . db_entity_shortnames [" template" ]} :<$.dynamodb.Keys.id.S>"
33+ "tableName": "${ aws_dynamodb_table . templates . name } "
3534 }
3635 EOF
3736
3837 sqs_queue_parameters {
39- message_group_id = " $.prefixedGroupId "
38+ message_group_id = " <$.dynamodb.Keys.id.S> "
4039 message_deduplication_id = " $.eventID"
4140 }
4241 }
You can’t perform that action at this time.
0 commit comments