Skip to content

Commit c728b3f

Browse files
authored
IT-4497 Allow Developer role to assume Bedrock role in dedicated Bedrock AWS account (#1432)
IT-4497 Allow Developer role to assume Bedrock role in dedicated Bedrock AWS account
1 parent 19633de commit c728b3f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,14 @@ SsoDeveloper:
442442
{
443443
"Effect": "Deny",
444444
"Action": "sts:AssumeRole",
445-
"Resource": "*"
445+
"Resource": "*",
446+
"Condition": {
447+
"StringNotEquals": {
448+
"aws:PrincipalArn": {
449+
"Fn::ImportValue": "us-east-1-synapsellmprod-bedrock-full-access-ServiceRoleArn"
450+
}
451+
}
452+
}
446453
}
447454
]
448455
}

0 commit comments

Comments
 (0)