Skip to content

Commit b403d1a

Browse files
authored
[IT-4529] Remove bmgfki account (#1444)
Remove access to BMGF-Ki account and removing the account as well. depends on #1443
1 parent ddef84f commit b403d1a

File tree

3 files changed

+0
-56
lines changed

3 files changed

+0
-56
lines changed

org-formation/650-identity-providers/_tasks.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ GithubOidcSciPoolProdSageBionetworksSynapseLoginAwsInfra:
572572
DefaultOrganizationBinding:
573573
Account:
574574
- !Ref ScipoolProdAccount
575-
- !Ref BmgfkiAccount
576575
Region: us-east-1
577576

578577
GithubOidcSciPoolDevSageBionetworksSynapseLoginAwsInfra:

org-formation/700-aws-sso/_tasks.yaml

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,6 @@ Parameters:
153153
Type: String
154154
Default: 'f4d84498-c0e1-70e7-215b-49089082ecaa'
155155

156-
bmgfkiAdminGroup: #JC aws-bmgfki-admins
157-
Type: String
158-
Default: '906769aa66-dfc5248b-3d5d-44ce-81ae-6759ee284e59'
159-
160-
bmgfkiCommunityManagerGroup: #JC aws-bmgfki-community-managers
161-
Type: String
162-
Default: '906769aa66-0a6a0177-d4cf-47e4-a5bc-4ba5297995ff'
163-
164156
cnbAdminGroup: #JC aws-cnb-admins
165157
Type: String
166158
Default: '906769aa66-911ad81b-8331-4670-a8eb-d53c63d6a0e1'
@@ -1503,41 +1495,6 @@ SsoHtanDevDeveloper:
15031495
principalId: !Ref htanDevDeveloperGroup
15041496
permissionSetArn: !CopyValue [ !Sub '${resourcePrefix}-${appName}-developer-permission-set-arn' ]
15051497

1506-
1507-
SsoBmgfkiAdmin:
1508-
Type: update-stacks
1509-
DependsOn: SsoAdministrator
1510-
Template: https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.3.8/templates/SSO/aws-sso.yaml
1511-
StackName: !Sub '${resourcePrefix}-${appName}-bmgf-admin'
1512-
StackDescription: 'SSO: admin role used by BMGF KI admin group'
1513-
DefaultOrganizationBindingRegion: !Ref primaryRegion
1514-
DefaultOrganizationBinding:
1515-
IncludeMasterAccount: true
1516-
OrganizationBindings:
1517-
TargetBinding:
1518-
Account: !Ref BmgfkiAccount
1519-
Parameters:
1520-
instanceArn: !Ref instanceArn
1521-
principalId: !Ref bmgfkiAdminGroup
1522-
permissionSetArn: !CopyValue [ !Sub '${resourcePrefix}-${appName}-admin-permission-set-arn' ]
1523-
1524-
SsoBmgfkiCommunityManager:
1525-
Type: update-stacks
1526-
DependsOn: [ SsoScipoolDevCommunityManager ]
1527-
Template: https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.3.8/templates/SSO/aws-sso.yaml
1528-
StackName: !Sub '${resourcePrefix}-${appName}-bmgfki-community-manager'
1529-
StackDescription: 'SSO: community manager role used by BMGF KI community manager group'
1530-
DefaultOrganizationBindingRegion: !Ref primaryRegion
1531-
DefaultOrganizationBinding:
1532-
IncludeMasterAccount: true
1533-
OrganizationBindings:
1534-
TargetBinding:
1535-
Account: !Ref BmgfkiAccount
1536-
Parameters:
1537-
instanceArn: !Ref instanceArn
1538-
principalId: !Ref bmgfkiCommunityManagerGroup
1539-
permissionSetArn: !CopyValue [ !Sub '${resourcePrefix}-${appName}-scipooldev-community-manager-permission-set-arn' ]
1540-
15411498
SsoCnbAdmin:
15421499
Type: update-stacks
15431500
DependsOn: SsoAdministrator

org-formation/organization.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ Organization:
106106
ServiceControlPolicies:
107107
- !Ref RestrictDnsRegistrationSCP
108108
Accounts:
109-
- !Ref BmgfkiAccount
110109
- !Ref ScipoolDevAccount
111110
- !Ref ScipoolProdAccount
112111

@@ -286,17 +285,6 @@ Organization:
286285
Tags:
287286
<<: !Include ./_default_org_tags.yaml
288287

289-
BmgfkiAccount:
290-
Type: OC::ORG::Account
291-
Properties:
292-
AccountName: org-sagebase-bmgfki
293-
AccountId: '464102568320'
294-
RootEmail: aws.bmgfki@sagebase.org
295-
Alias: org-sagebase-bmgfki
296-
Tags:
297-
<<: !Include ./_default_org_tags.yaml
298-
CostCenter: 'BMGF-Ki / 30144'
299-
300288
ScicompAccount:
301289
Type: OC::ORG::Account
302290
Properties:

0 commit comments

Comments
 (0)