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:
commit
cb36bacf8e
|
@ -85,6 +85,7 @@ func resourceAwsInstance() *schema.Resource {
|
|||
"source_dest_check": &schema.Schema{
|
||||
Type: schema.TypeBool,
|
||||
Optional: true,
|
||||
Default: true,
|
||||
},
|
||||
|
||||
"user_data": &schema.Schema{
|
||||
|
|
|
@ -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
|
||||
}
|
||||
`
|
||||
|
||||
|
|
Loading…
Reference in New Issue