Skip to content

Commit 8a77595

Browse files
committed
remove cloudfront:CreateVpcOrigin from wildcardOnlyActions
1 parent ed81fad commit 8a77595

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

packages/aws-cdk-lib/aws-cloudfront/lib/private/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ const wildcardOnlyActions = [
1212
'cloudfront:CreateOriginAccessControl',
1313
'cloudfront:CreatePublicKey',
1414
'cloudfront:CreateSavingsPlan',
15-
'cloudfront:CreateVpcOrigin',
1615
'cloudfront:DeleteKeyGroup',
1716
'cloudfront:DeleteMonitoringSubscription',
1817
'cloudfront:DeletePublicKey',

packages/aws-cdk-lib/aws-cloudfront/test/distribution.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,6 @@ test('grants custom actions', () => {
11241124
'cloudfront:CreateOriginAccessControl',
11251125
'cloudfront:CreatePublicKey',
11261126
'cloudfront:CreateSavingsPlan',
1127-
'cloudfront:CreateVpcOrigin',
11281127
'cloudfront:DeleteKeyGroup',
11291128
'cloudfront:DeleteMonitoringSubscription',
11301129
'cloudfront:DeletePublicKey',
@@ -1181,7 +1180,6 @@ test('grants custom actions', () => {
11811180
'cloudfront:CreateOriginAccessControl',
11821181
'cloudfront:CreatePublicKey',
11831182
'cloudfront:CreateSavingsPlan',
1184-
'cloudfront:CreateVpcOrigin',
11851183
'cloudfront:DeleteKeyGroup',
11861184
'cloudfront:DeleteMonitoringSubscription',
11871185
'cloudfront:DeletePublicKey',

0 commit comments

Comments
 (0)