Commit d571928
committed
fix: Add missing IAM permission for AgentCore service-linked role creation
- Add iam:CreateServiceLinkedRole permission to Custom Resource role
- Required for AWSServiceRoleForBedrockAgentCoreRuntimeIdentity creation
- Fixes deployment failure since October 13, 2025 AgentCore Runtime changes
- Resolves AccessDeniedException when creating AgentCore Runtime
Fixes issue where GenU deployment fails with:
'Failed creating service linked role. Please verify that the calling role has sufficient permissions to create a service linked role.'
Reference: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/service-linked-roles.html
According to AWS documentation, starting October 13, 2025, new AgentCore Runtime resources automatically require the AWSServiceRoleForBedrockAgentCoreRuntimeIdentity service-linked role.1 parent e75085c commit d571928
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
188 | 205 | | |
189 | 206 | | |
190 | 207 | | |
| |||
0 commit comments