File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
org-formation/700-aws-sso Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -435,8 +435,9 @@ SsoDeveloper:
435435 - ' arn:aws:iam::aws:policy/AWSBillingReadOnlyAccess'
436436 - ' arn:aws:iam::aws:policy/AmazonBedrockFullAccess'
437437 sessionDuration : ' PT12H'
438- inlinePolicy : >-
439- {
438+ inlinePolicy :
439+ Fn::Sub :
440+ - {
440441 " Version " : " 2012-10-17" ,
441442 " Statement " : [
442443 {
@@ -445,14 +446,13 @@ SsoDeveloper:
445446 " Resource " : " *" ,
446447 " Condition " : {
447448 " StringNotEquals " : {
448- "aws:PrincipalArn": {
449- "Fn::ImportValue": "us-east-1-synapsellmprod-bedrock-full-access-ServiceRoleArn"
450- }
449+ " aws:PrincipalArn " : " ${AllowedRole}"
451450 }
452451 }
453452 }
454453 ]
455- }
454+ }
455+ - AllowedRole : ' !ImportValue us-east-1-synapsellmprod-bedrock-full-access-ServiceRoleArn'
456456
457457SsoFinanceAuditor :
458458 Type : update-stacks
You can’t perform that action at this time.
0 commit comments