Skip to content

Commit ade0d6f

Browse files
author
Local E2E
committed
fix: split DescribeLogGroups into wildcard resource statement
1 parent 7ac95fd commit ade0d6f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/cli/operations/deploy/post-deploy-ab-tests.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,11 +639,16 @@ async function getOrCreateABTestRole(options: CreateABTestRoleOptions): Promise<
639639
Resource: `${arnPrefix(region)}:bedrock-agentcore:*:${accountId}:*`,
640640
Condition: { StringEquals: { 'aws:ResourceAccount': accountId } },
641641
},
642+
{
643+
Sid: 'CloudWatchLogsDescribe',
644+
Effect: 'Allow',
645+
Action: ['logs:DescribeLogGroups'],
646+
Resource: '*',
647+
},
642648
{
643649
Sid: 'CloudWatchLogs',
644650
Effect: 'Allow',
645651
Action: [
646-
'logs:DescribeLogGroups',
647652
'logs:DescribeIndexPolicies',
648653
'logs:PutIndexPolicy',
649654
'logs:StartQuery',

0 commit comments

Comments
 (0)