Skip to content

Commit 75ecf30

Browse files
committed
fixes header mapping
1 parent 2d779b0 commit 75ecf30

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

modules/aws-sqs/main.tf

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,23 @@ resource "aws_apigatewayv2_integration" "sqs_integration" {
9292
"DataType" = "String"
9393
"StringValue" = "$request.header.X-Syn-Webhook-Id"
9494
}
95-
"AuthorizationHeader" = {
95+
"WebhookMessageId" = {
96+
"DataType" = "String"
97+
"StringValue" = "$request.header.X-Syn-Webhook-Message-Id"
98+
}
99+
"WebhookOwnerId" = {
100+
"DataType" = "String"
101+
"StringValue" = "$request.header.X-Syn-Webhook-Owner-Id"
102+
}
103+
"ContentType" = {
104+
"DataType" = "String"
105+
"StringValue" = "$request.header.Content-Type"
106+
}
107+
"UserAgent" = {
108+
"DataType" = "String"
109+
"StringValue" = "$request.header.User-Agent"
110+
}
111+
"Authorization" = {
96112
"DataType" = "String"
97113
"StringValue" = "$request.header.Authorization"
98114
}

0 commit comments

Comments
 (0)