Skip to content

Commit

Permalink
[IT-3984] Schematic on new infra deployment (#1279)
Browse files Browse the repository at this point in the history
There's a new deployment for Schematic app at Sage-Bionetwork-IT/schematic-infra-v2. setup github action CI to deploy from there.

depends on Sage-Bionetworks-IT/schematic-infra-v2#4
  • Loading branch information
zaro0508 authored Nov 13, 2024
1 parent 3beb6a3 commit d258791
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions org-formation/650-identity-providers/_tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,28 @@ GithubOidcSageBionetworksSchematicInfra:
- !Ref DCAProdAccount
Region: us-east-1

GithubOidcSageBionetworksItSchematicInfraV2:
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}-sage-bionetworks-it-schematic-infra-v2
Parameters:
ProviderArn: !CopyValue [ !Sub '${resourcePrefix}-${appName}-ProviderArn' ]
ProviderRoleName: !Sub ${resourcePrefix}-${appName}-sage-bionetworks-it-schematic-infra-v2
ManagedPolicyArns:
- "arn:aws:iam::aws:policy/AdministratorAccess"
- "arn:aws:iam::aws:policy/AWSKeyManagementServicePowerUser"
TemplatingContext:
GitHubOrg: "Sage-Bionetworks-IT"
Repositories:
- name: "schematic-infra-v2"
branches: ["dev", "stage", "prod"]
DefaultOrganizationBinding:
Account:
- !Ref DnTDevAccount
- !Ref DCAProdAccount
Region: us-east-1

GithubOidcSageBionetworksSynapseDockerRegistry:
Type: update-stacks
DependsOn: GithubOidcSageBionetworks
Expand Down

0 comments on commit d258791

Please sign in to comment.