Merge pull request #2630 from kislyuk/patch-1

Add missing default value for moto.ec2.models.VPC.classic_link_dns_su…
This commit is contained in:
Mike Grima 2019-12-13 13:35:44 -08:00 committed by GitHub
commit 3247b865de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2449,6 +2449,7 @@ class VPC(TaggedEC2Resource):
self.is_default = "true" if is_default else "false"
self.enable_dns_support = "true"
self.classic_link_enabled = "false"
self.classic_link_dns_supported = "false"
# This attribute is set to 'true' only for default VPCs
# or VPCs created using the wizard of the VPC console
self.enable_dns_hostnames = "true" if is_default else "false"