Skip to content

Commit 70eab1b

Browse files
author
Tom McLaughlin
committed
Update to new Datadog CFN template
1 parent 82b0143 commit 70eab1b

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

cfn-parameters.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
"DatadogApiKey": $secrets.DATADOG_API_KEY,
99
"DatadogAppKey": $secrets.DATADOG_APP_KEY,
1010
"DataDogLogsDestinationArn": $secrets.DATADOG_LOGS_DESTINATION_ARN,
11-
"DatadogSite": "us5.datadoghq.com"
11+
"DatadogSite": "us5.datadoghq.com",
12+
"DatadogTemplateUrl": $vars.DATADOG_TEMPLATE_URL
1213
}

stacksets-shipping-template.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Parameters:
2626
NoEcho: 'true'
2727
AwsOamSinkArn:
2828
Type: String
29+
DatadogTemplateUrl:
30+
Type: String
2931

3032
Resources:
3133
DatadogIntegrationStackSet:
@@ -35,6 +37,7 @@ Resources:
3537
Parameters:
3638
DeploymentOrgId: !Ref AwsOrgRootId
3739
TargetRegions: !Ref TargetRegions
40+
DatadogTemplateUrl: !Ref DatadogTemplateUrl
3841
DatadogApiKey: !Ref DatadogApiKey
3942
DatadogAppKey: !Ref DatadogAppKey
4043
DatadogSite: !Ref DatadogSite

stacksets/datadog-integration/stackset.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Parameters:
1818
DisableMetricCollection:
1919
Type: String
2020
Default: 'false'
21+
DatadogTemplateUrl:
22+
Type: String
2123

2224
Resources:
2325
DatadogLogShippingStackSet:
@@ -51,4 +53,4 @@ Resources:
5153
FailureToleranceCount: 1
5254
MaxConcurrentCount: 5
5355
PermissionModel: SERVICE_MANAGED
54-
TemplateURL: https://datadog-cloudformation-template.s3.amazonaws.com/aws/main_organizations.yaml
56+
TemplateURL: !Ref DatadogTemplateUrl

template.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Parameters:
1111
Type: String
1212
ObservabilityOu:
1313
Type: String
14+
DatadogTemplateUrl:
15+
Type: String
1416
DatadogSite:
1517
Type: String
1618
DatadogApiKey:
@@ -29,7 +31,7 @@ Resources:
2931
DatadogIntegrationStack:
3032
Type: AWS::Serverless::Application
3133
Properties:
32-
Location: "https://datadog-cloudformation-template.s3.amazonaws.com/aws/main_organizations.yaml"
34+
Location: !Ref DatadogTemplateUrl
3335
Parameters:
3436
DatadogApiKey: !Ref DatadogApiKey
3537
DatadogAppKey: !Ref DatadogAppKey

0 commit comments

Comments
 (0)