We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca7e5c5 commit bbf8042Copy full SHA for bbf8042
datadog_lambda/api.py
@@ -66,6 +66,8 @@ def get_api_key() -> str:
66
67
REGION = os.environ.get("AWS_REGION", "")
68
is_gov_region = REGION.startswith("us-gov-")
69
+ if is_gov_region:
70
+ logger.info("Govcloud region detected. Using FIPs endpoints for secrets management.")
71
72
if DD_API_KEY_SECRET_ARN:
73
# Secrets manager endpoints: https://docs.aws.amazon.com/general/latest/gr/asm.html
0 commit comments