Merge pull request #2217 from hashicorp/b-aws-instance-source-dest

provider/aws: Correctly default Instance source_dest_check to true
This commit is contained in:
Clint 2015-06-03 17:52:30 -05:00
commit cb36bacf8e
2 changed files with 1 additions and 1 deletions

View File

@ -85,6 +85,7 @@ func resourceAwsInstance() *schema.Resource {
"source_dest_check": &schema.Schema{
Type: schema.TypeBool,
Optional: true,
Default: true,
},
"user_data": &schema.Schema{

View File

@ -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
}
`