Skip to content

Commit ea530b7

Browse files
committed
use placeholder message attribute
1 parent 5ee8471 commit ea530b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/aws-sqs/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ resource "aws_apigatewayv2_integration" "sqs_integration" {
8484
"QueueUrl" = aws_sqs_queue.queue.url
8585
"MessageBody" = "$request.body"
8686
"MessageAttributes" = jsonencode({
87-
"ContentType" = {
88-
"DataType" = "String"
89-
"StringValue" = "$request.header.Content-Type"
87+
"ApiSource": {
88+
"DataType": "String",
89+
"StringValue": "ApiGateway"
9090
}
9191
})
9292
}

0 commit comments

Comments
 (0)