Skip to content

Commit fc8ba22

Browse files
committed
fix msg group id prefix
1 parent 6a248ca commit fc8ba22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infrastructure/terraform/modules/backend-api/pipes_pipe_routing_config_table_events.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ resource "aws_pipes_pipe" "routing_config_table_events" {
2727
input_template = "{\"dynamodb\": <$.dynamodb>,\"eventID\": <$.eventID>,\"eventName\": <$.eventName>,\"eventSource\": <$.eventSource>,\"tableName\": \"${aws_dynamodb_table.routing_configuration.name}\"}"
2828

2929
sqs_queue_parameters {
30-
message_group_id = "${local.db_entity_shortnames["routing_configuration"]}:<$.dynamodb.Keys.id.S>"
30+
message_group_id = "${local.db_entity_shortnames["routing_config"]}:<$.dynamodb.Keys.id.S>"
3131
message_deduplication_id = "$.eventID"
3232
}
3333
}
@@ -63,7 +63,7 @@ data "aws_iam_policy_document" "pipes_routing_config_trust_policy" {
6363

6464
resource "aws_iam_role_policy" "pipe_routing_config_table_events" {
6565
name = "${local.csi}-pipe-routing-config-table-events"
66-
role = aws_iam_role.pipes_execution_role.id
66+
role = aws_iam_role.pipe_routing_config_table_events.id
6767
policy = data.aws_iam_policy_document.pipe_routing_config_table_events.json
6868
}
6969

0 commit comments

Comments
 (0)