Skip to content

Commit

Permalink
fix: fix github issues aws-solutions#227.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ming Xu committed Mar 6, 2024
1 parent 162a4c2 commit b298bbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ export class CloudWatchLogStack extends SolutionStack {
],
resources: [
`arn:${Aws.PARTITION}:logs:${Aws.REGION}:${Aws.ACCOUNT_ID}:*`,
`arn:${Aws.PARTITION}:logs:*:${Aws.ACCOUNT_ID}:destination:*`,
],
}),
new iam.PolicyStatement({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ export class CWtoFirehosetoS3Stack extends Construct {
],
resources: [
`arn:${Aws.PARTITION}:logs:${Aws.REGION}:${Aws.ACCOUNT_ID}:*`,
`arn:${Aws.PARTITION}:logs:*:${Aws.ACCOUNT_ID}:destination:*`,
],
}),
new iam.PolicyStatement({
Expand Down
1 change: 1 addition & 0 deletions source/constructs/lib/subaccount/cross-account-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ export class CrossAccount extends Stack {
],
resources: [
`arn:${Aws.PARTITION}:logs:*:${Aws.ACCOUNT_ID}:log-group:*`,
`arn:${Aws.PARTITION}:logs:*:${parentAccountId.valueAsString}:destination:*`,
],
}),
new iam.PolicyStatement({
Expand Down

0 comments on commit b298bbb

Please sign in to comment.