Skip to content

Commit befc4c3

Browse files
committed
use admin access
1 parent ba09cd6 commit befc4c3

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

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

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -881,18 +881,9 @@ GithubOidcNbConvertDeploy:
881881
ProviderArn: !CopyValue [ !Sub '${resourcePrefix}-${appName}-ProviderArn' ]
882882
ProviderRoleName: !Sub ${resourcePrefix}-${appName}-nbconvert-deploy
883883
MaxSessionDuration: 7200
884-
PolicyDocument: !Sub |
885-
{
886-
"Version": "2012-10-17",
887-
"Statement": [
888-
{
889-
"Sid": "AssumeRoleStatement",
890-
"Effect": "Allow",
891-
"Action": "sts:AssumeRole",
892-
"Resource": "arn:aws:iam::${AWS::AccountId}:role/cdk-*-role-*-us-east-1"
893-
}
894-
]
895-
}
884+
ManagedPolicyArns:
885+
- "arn:aws:iam::aws:policy/AdministratorAccess"
886+
- "arn:aws:iam::aws:policy/AWSKeyManagementServicePowerUser"
896887
TemplatingContext:
897888
GitHubOrg: "Sage-Bionetworks"
898889
Repositories:

0 commit comments

Comments
 (0)