diff --git a/builtin/providers/aws/resource_aws_instance.go b/builtin/providers/aws/resource_aws_instance.go index 42656214f..c9074fb5b 100644 --- a/builtin/providers/aws/resource_aws_instance.go +++ b/builtin/providers/aws/resource_aws_instance.go @@ -85,6 +85,7 @@ func resourceAwsInstance() *schema.Resource { "source_dest_check": &schema.Schema{ Type: schema.TypeBool, Optional: true, + Default: true, }, "user_data": &schema.Schema{ diff --git a/builtin/providers/aws/resource_aws_instance_test.go b/builtin/providers/aws/resource_aws_instance_test.go index 253632a9a..9e443bd96 100644 --- a/builtin/providers/aws/resource_aws_instance_test.go +++ b/builtin/providers/aws/resource_aws_instance_test.go @@ -653,7 +653,6 @@ resource "aws_instance" "foo" { ami = "ami-4fccb37f" instance_type = "m1.small" subnet_id = "${aws_subnet.foo.id}" - source_dest_check = true } `