Skip to content

Commit

Permalink
revert creation of role for agora-data-manager (#1061)
Browse files Browse the repository at this point in the history
Revert creation of a role for GH OIDC because our plan shifted to using self-hosted runner insteead of a GH runner.  A role is not needed when using self-hosted runners because the self hosted runner is already setup with access to the databases.

more info in PR Sage-Bionetworks/agora-data-manager#116

This reverts commit d1f91e1 and  commit a6406aa.
  • Loading branch information
zaro0508 authored Jan 5, 2024
1 parent d1f91e1 commit 6d2cbb8
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions org-formation/650-identity-providers/_tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -797,25 +797,3 @@ GithubOidcAgoraEBDeploy:
- !Ref AgoraDevAccount
- !Ref AgoraProdAccount
Region: us-east-1

GithubOidcAgoraDataManagerDeploy:
Type: update-stacks
DependsOn: GithubOidcSageBionetworks
Template: https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.7.6/templates/IAM/github-oidc-provider.j2
StackName: !Sub ${resourcePrefix}-${appName}-agora-data-manager-deploy
Parameters:
ProviderArn: !CopyValue [ !Sub '${resourcePrefix}-${appName}-ProviderArn' ]
ProviderRoleName: !Sub ${resourcePrefix}-${appName}-agora-data-manager-deploy
MaxSessionDuration: 3600
ManagedPolicyArns:
- "arn:aws:iam::aws:policy/AmazonDocDBFullAccess"
TemplatingContext:
GitHubOrg: "Sage-Bionetworks"
Repositories:
- name: "Agora"
branches: ["develop", "prod", "staging"]
DefaultOrganizationBinding:
Account:
- !Ref AgoraDevAccount
- !Ref AgoraProdAccount
Region: us-east-1

0 comments on commit 6d2cbb8

Please sign in to comment.