Skip to content

Commit

Permalink
Can't deploy to just an account when using SERVICE_MANAGED permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Aug 16, 2024
1 parent b803611 commit 7e7a234
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cfn-parameters.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ObservabilityOu": "ou-c834-7gp1wa8v",
"TargetRegions": "us-east-1",
"DatadogShipperAwsAccountdId": "481665128499",
"DatadogHttpEndpointUrl": "https://aws-kinesis-http-intake.logs.datadoghq.com/v1/input",
"DatadogApiKey": $secrets.DATADOG_API_KEY
}
4 changes: 2 additions & 2 deletions stacksets/datadog-shipping/stackset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Transform: AWS::Serverless-2016-10-31
Description: AWS account infrastructure stackset (datadog)

Parameters:
TargetAccounts:
ObservabilityOu:
Type: CommaDelimitedList
Description: List of OUs
TargetRegions:
Expand Down Expand Up @@ -34,7 +34,7 @@ Resources:
ParameterValue: !Ref DatadogApiKey
StackInstancesGroup:
- DeploymentTargets:
Accounts: !Ref TargetAccounts
OrganizationalUnitIds: !Ref ObservabilityOu
Regions: !Ref TargetRegions
AutoDeployment:
Enabled: true
Expand Down
6 changes: 3 additions & 3 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Parameters:
TargetRegions:
Type: String
Description: List of OUs
DatadogShipperAwsAccountdId:
ObservabilityOu:
Type: String
Description: Datadog Account ID
Description: OU of observability accounts
DatadogHttpEndpointUrl:
Type: String
AllowedValues:
Expand All @@ -25,7 +25,7 @@ Resources:
Properties:
Location: "./stacksets/datadog-shipping/stackset.yaml"
Parameters:
TargetAccounts: !Ref DatadogShipperAwsAccountdId
ObservabilityOu: !Ref ObservabilityOu
TargetRegions: !Ref TargetRegions
DatadogHttpEndpointUrl: !Ref DatadogHttpEndpointUrl
DatadogApiKey: !Ref DatadogApiKey

0 comments on commit 7e7a234

Please sign in to comment.