Skip to content

Commit c621c90

Browse files
authored
Fix deployment issue (#157)
*Issue #, if available:* Agentic core deployment fails due to permission issue *Description of changes:* Fixed the permission issues by adding a service linked role. This resolves the issue By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent aee2473 commit c621c90

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cdk/agents/lib/bedrock-agentcore-deployer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class BedrockAgentCoreDeployer extends Construct {
4343
'ecr:*',
4444
'iam:PassRole',
4545
'iam:GetRole',
46+
'iam:CreateServiceLinkedRole',
4647
'codebuild:*',
4748
's3:*',
4849
'logs:*'
@@ -63,4 +64,4 @@ class BedrockAgentCoreDeployer extends Construct {
6364
}
6465
}
6566

66-
module.exports = { BedrockAgentCoreDeployer };
67+
module.exports = { BedrockAgentCoreDeployer };

0 commit comments

Comments
 (0)