Skip to content

Commit

Permalink
[IT-3471] link non-org accounts to cloudwatch dashboard
Browse files Browse the repository at this point in the history
Link AWS accounts that are not in our organizations to the
cloudwatch dashboard.

depends on Sage-Bionetworks/aws-infra#407
  • Loading branch information
zaro0508 committed Mar 13, 2024
1 parent 3ce69df commit 199a188
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 102 deletions.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions org-formation/740-cloudwatch-dashboard/_tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CrossAccountListAccountRole:
# Link cloudwatch in member accounts to MonitorCentral
LinkManagementAccount:
Type: update-stacks
Template: ./Cloudwatch-Link-Management-Account.yaml
Template: https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.8.6/templates/Cloudwatch/Link-Management-Account.yaml
StackName: !Sub '${resourcePrefix}-${appName}-LinkManagementAccount'
DefaultOrganizationBindingRegion: !Ref primaryRegion
DefaultOrganizationBinding:
Expand All @@ -32,7 +32,7 @@ LinkManagementAccount:
# Allow member accounts to share cloudwatch data with MonitorCentral
CrossAccountSharingRole:
Type: update-stacks
Template: ./CloudWatch-CrossAccountSharingRole-AccountList.yaml
Template: https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.8.6/templates/Cloudwatch/CrossAccountSharingRole-AccountList.yaml
StackName: !Sub '${resourcePrefix}-${appName}-CrossAccountSharingRole'
DefaultOrganizationBindingRegion: !Ref primaryRegion
DefaultOrganizationBinding:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
template:
type: "http"
url: "https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.8.6/templates/Cloudwatch/CrossAccountSharingRole-AccountList.yaml"
stack_name: sagebase-CloudWatcDashboard-CrossAccountSharingRole'
stack_tags:
OwnerEmail: "[email protected]"
dependencies:
- "prod/CloudWatch-CrossAccountSharingRole-AccountList.yaml"
parameters:
MonitoringAccountIds: "767397888168"
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
template:
type: "http"
url: "https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.8.6/templates/Cloudwatch/Link-Management-Account.yaml"
stack_name: "sagebase-CloudWatcDashboard-CrossAccountSharingRole"
stack_tags:
OwnerEmail: "[email protected]"
dependencies:
- "prod/bootstrap.yaml"
parameters:
MonitoringAccountId: !Ref MonitorCentralAccount
SinkIdentifier: "6046cc13-135d-4e41-ae56-63327a7a7b8c"
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
template:
type: "http"
url: "https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.8.6/templates/Cloudwatch/CrossAccountSharingRole-AccountList.yaml"
stack_name: sagebase-CloudWatcDashboard-CrossAccountSharingRole'
stack_tags:
OwnerEmail: "[email protected]"
dependencies:
- "prod/CloudWatch-CrossAccountSharingRole-AccountList.yaml"
parameters:
MonitoringAccountIds: "767397888168"
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
template:
type: "http"
url: "https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.8.6/templates/Cloudwatch/Link-Management-Account.yaml"
stack_name: "sagebase-CloudWatcDashboard-CrossAccountSharingRole"
stack_tags:
OwnerEmail: "[email protected]"
dependencies:
- "prod/bootstrap.yaml"
parameters:
MonitoringAccountId: !Ref MonitorCentralAccount
SinkIdentifier: "6046cc13-135d-4e41-ae56-63327a7a7b8c"
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
template:
type: "http"
url: "https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.8.6/templates/Cloudwatch/CrossAccountSharingRole-AccountList.yaml"
stack_name: sagebase-CloudWatcDashboard-CrossAccountSharingRole'
stack_tags:
OwnerEmail: "[email protected]"
dependencies:
- "prod/CloudWatch-CrossAccountSharingRole-AccountList.yaml"
parameters:
MonitoringAccountIds: "767397888168"
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
template:
type: "http"
url: "https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.8.6/templates/Cloudwatch/Link-Management-Account.yaml"
stack_name: "sagebase-CloudWatcDashboard-CrossAccountSharingRole"
stack_tags:
OwnerEmail: "[email protected]"
dependencies:
- "prod/bootstrap.yaml"
parameters:
MonitoringAccountId: !Ref MonitorCentralAccount
SinkIdentifier: "6046cc13-135d-4e41-ae56-63327a7a7b8c"

0 comments on commit 199a188

Please sign in to comment.