Skip to content

Commit

Permalink
IT-3924: Add cross-account for SynapseProd (#1234)
Browse files Browse the repository at this point in the history
* Add cross-account

* Comment

* Fix naming per review

* Save...
  • Loading branch information
xschildw authored Oct 7, 2024
1 parent b02e6d4 commit 495f0c4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions org-formation/600-access/_tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,21 @@ StackArmorReadOnlyAccess:
- arn:aws:iam::aws:policy/AmazonEC2ReadOnlyAccess
- arn:aws:iam::aws:policy/AmazonVPCReadOnlyAccess

# Setup cross-account access to BedRock in SynapseLlmProd account
# https://repost.aws/knowledge-center/bedrock-invoke-with-cross-account
SynapseLlmProdBedrockFullAccess:
Type: update-stacks
Template: https://raw.githubusercontent.com/Sage-Bionetworks/aws-infra/v0.2.10/templates/IAM/cross-account-access.yaml
StackName: synapsellmprod-bedrock-full-access
DefaultOrganizationBinding:
Account: !Ref SynapseLlmProdAccount
Region: us-east-1
Parameters:
PrincipalArns:
- arn:aws:iam::325565585839:root # SynapseProd AWS account ID
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonBedrockFullAccess

#---------- Policies -------------
CostExplorerAccessPolicy:
Type: update-stacks
Expand Down

0 comments on commit 495f0c4

Please sign in to comment.