From bc308914cf68fc747406cdecdd02de2597ff6020 Mon Sep 17 00:00:00 2001 From: Tyler Hendrickson Date: Tue, 12 Dec 2023 14:51:34 -0600 Subject: [PATCH] Configure Access-Control-Allow-Headers for RUM (#47) --- terraform/api_gateway.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/terraform/api_gateway.tf b/terraform/api_gateway.tf index 86fbd3b7..0c85ec22 100644 --- a/terraform/api_gateway.tf +++ b/terraform/api_gateway.tf @@ -64,10 +64,15 @@ module "api_gateway" { allow_headers = [ "authorization", "content-type", + "traceparent", "x-amz-date", "x-amz-security-token", "x-amz-user-agent", "x-api-key", + "x-datadog-trace-id", + "x-datadog-parent-id", + "x-datadog-origin", + "x-datadog-sampling-priority", ] max_age = 86400 // 24 hours, in seconds }