From bb6ceeb2d7c8ec721df1d3850000c50d43a26ce1 Mon Sep 17 00:00:00 2001 From: Tal Usvyatsky Date: Tue, 30 Jun 2026 17:01:41 -0400 Subject: [PATCH] Add uk1.datadoghq.com as a supported Datadog site Co-Authored-By: Claude Sonnet 4.6 --- README.md | 2 +- src/index.spec.ts | 2 +- src/index.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b50803ea..21518d05 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ To further configure your plugin, use the following custom parameters in your `s | Parameter | Description | | ----------------------------- |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `site` | Set which Datadog site to send data to, such as `datadoghq.com` (default), `datadoghq.eu`, `us3.datadoghq.com`, `us5.datadoghq.com`, `ap1.datadoghq.com`, `ap2.datadoghq.com`, `ddog-gov.com`, or `us2.ddog-gov.com`. This parameter is required when collecting telemetry using the Datadog Lambda Extension. | +| `site` | Set which Datadog site to send data to, such as `datadoghq.com` (default), `datadoghq.eu`, `us3.datadoghq.com`, `us5.datadoghq.com`, `ap1.datadoghq.com`, `ap2.datadoghq.com`, `uk1.datadoghq.com`, `ddog-gov.com`, or `us2.ddog-gov.com`. This parameter is required when collecting telemetry using the Datadog Lambda Extension. | | `apiKey` | [Datadog API key][7]. This parameter is required when collecting telemetry using the Datadog Lambda Extension. Alternatively, you can also set the `DATADOG_API_KEY` environment variable in your deployment environment. | | `appKey` | Datadog app key. Only needed when the `monitors` field is defined. Alternatively, you can also set the `DATADOG_APP_KEY` environment variable in your deployment environment. | | `apiKeySecretArn` | An alternative to using the `apiKey` field. The ARN of the secret that is storing the Datadog API key in AWS Secrets Manager. Remember to add the `secretsmanager:GetSecretValue` permission to the Lambda execution role. | diff --git a/src/index.spec.ts b/src/index.spec.ts index fecea80a..1765fcab 100644 --- a/src/index.spec.ts +++ b/src/index.spec.ts @@ -803,7 +803,7 @@ describe("ServerlessPlugin", () => { } expect(threwError).toBe(true); expect(thrownErrorMessage).toEqual( - "Warning: Invalid site URL. Must be one of datadoghq.com, datadoghq.eu, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, ddog-gov.com, us2.ddog-gov.com.", + "Warning: Invalid site URL. Must be one of datadoghq.com, datadoghq.eu, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, uk1.datadoghq.com, ddog-gov.com, us2.ddog-gov.com.", ); }); diff --git a/src/index.ts b/src/index.ts index 3f1ec6ff..5ab44fcf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -639,6 +639,7 @@ function validateConfiguration(config: Configuration): void { "us5.datadoghq.com", "ap1.datadoghq.com", "ap2.datadoghq.com", + "uk1.datadoghq.com", "ddog-gov.com", "us2.ddog-gov.com", ];