Skip to content

Commit b3a4d87

Browse files
author
Tom McLaughlin
committed
Fix build failure
Due to a limitation in AWS SAM's `package` command in `template.yaml` the `DatadogIntegrationStack` `Location` parameter must be kept in sync manually with the `DatadogTemplateUrl` value.
1 parent 36dc1f5 commit b3a4d87

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ This solution deploys a set of AWS resources across your AWS Organization to ena
3535
- **`stacksets/metrics/stackset.yaml`**, **`stacksets/metrics/oam-link-template.yaml`**, and **`stacksets/metrics/cw-cross-account-sharing-template.yaml`**: Deploy OAM Links and cross-account sharing roles to enable metric sharing from member accounts to the central account.
3636
- **`stacksets/datadog-shipping/stackset.yaml`** and related templates: Deploy resources in the central account to receive logs/metrics and forward them to Datadog.
3737
- **Root-level templates** (e.g., `template.yaml`, `stacksets-shipping-template.yaml`): Compose and orchestrate the deployment of the above stacksets and templates for a full organization-wide rollout.
38+
39+
## Datadog template Updates
40+
41+
Due to a limitation in AWS SAM's `package` command in `template.yaml` the `DatadogIntegrationStack` `Location` parameter must be kept in sync manually with the `DatadogTemplateUrl` value.

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+
# WARNING: due to a limitation of AWS SAM's `package` command the DatadogIntegrationStack
15+
# Location parameter must be kept in sync manually.
1416
DatadogTemplateUrl:
1517
Type: String
1618
DatadogSite:
@@ -31,7 +33,7 @@ Resources:
3133
DatadogIntegrationStack:
3234
Type: AWS::Serverless::Application
3335
Properties:
34-
Location: !Ref DatadogTemplateUrl
36+
Location: "https://datadog-cloudformation-template-quickstart.s3.amazonaws.com/aws/v4.1.3/main_orgnizations.yaml"
3537
Parameters:
3638
DatadogApiKey: !Ref DatadogApiKey
3739
DatadogAppKey: !Ref DatadogAppKey

0 commit comments

Comments
 (0)