From 57b9097015e7d635eabfaee0fa9d29e1309bcdc8 Mon Sep 17 00:00:00 2001 From: clint shryock Date: Tue, 12 Jan 2016 16:49:51 -0600 Subject: [PATCH] provider/aws: Default false for VPC Classic Link --- builtin/providers/aws/resource_aws_vpc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/aws/resource_aws_vpc.go b/builtin/providers/aws/resource_aws_vpc.go index 03beb8a78..0316b246a 100644 --- a/builtin/providers/aws/resource_aws_vpc.go +++ b/builtin/providers/aws/resource_aws_vpc.go @@ -58,7 +58,7 @@ func resourceAwsVpc() *schema.Resource { "enable_classiclink": &schema.Schema{ Type: schema.TypeBool, Optional: true, - Computed: true, + Default: false, }, "main_route_table_id": &schema.Schema{ @@ -177,7 +177,7 @@ func resourceAwsVpcRead(d *schema.ResourceData, meta interface{}) error { d.Set("enable_dns_hostnames", *resp.EnableDnsHostnames) DescribeClassiclinkOpts := &ec2.DescribeVpcClassicLinkInput{ - VpcIds: []*string{ &vpcid }, + VpcIds: []*string{&vpcid}, } respClassiclink, err := conn.DescribeVpcClassicLink(DescribeClassiclinkOpts) if err != nil {