EC2: Fix VPC endpoint default policy (#7004)
This commit is contained in:
parent
693bf9e3fd
commit
e43619ae07
@ -43,7 +43,7 @@ class VPCEndPoint(TaggedEC2Resource, CloudFormationModel):
|
||||
|
||||
DEFAULT_POLICY = {
|
||||
"Version": "2008-10-17",
|
||||
"Statement ": [
|
||||
"Statement": [
|
||||
{"Effect": "Allow", "Principal": "*", "Action": "*", "Resource": "*"}
|
||||
],
|
||||
}
|
||||
|
@ -993,7 +993,7 @@ def test_create_vpc_endpoint__policy():
|
||||
# create without policy --> verify the default policy is created
|
||||
default_policy = {
|
||||
"Version": "2008-10-17",
|
||||
"Statement ": [
|
||||
"Statement": [
|
||||
{"Effect": "Allow", "Principal": "*", "Action": "*", "Resource": "*"}
|
||||
],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user