EC2: Fix VPC endpoint default policy (#7004)

This commit is contained in:
Viren Nadkarni 2023-11-09 23:30:19 +05:30 committed by GitHub
parent 693bf9e3fd
commit e43619ae07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class VPCEndPoint(TaggedEC2Resource, CloudFormationModel):
DEFAULT_POLICY = { DEFAULT_POLICY = {
"Version": "2008-10-17", "Version": "2008-10-17",
"Statement ": [ "Statement": [
{"Effect": "Allow", "Principal": "*", "Action": "*", "Resource": "*"} {"Effect": "Allow", "Principal": "*", "Action": "*", "Resource": "*"}
], ],
} }

View File

@ -993,7 +993,7 @@ def test_create_vpc_endpoint__policy():
# create without policy --> verify the default policy is created # create without policy --> verify the default policy is created
default_policy = { default_policy = {
"Version": "2008-10-17", "Version": "2008-10-17",
"Statement ": [ "Statement": [
{"Effect": "Allow", "Principal": "*", "Action": "*", "Resource": "*"} {"Effect": "Allow", "Principal": "*", "Action": "*", "Resource": "*"}
], ],
} }