|
|
|
|
@ -85,6 +85,7 @@ func resourceAwsInstance() *schema.Resource {
|
|
|
|
|
"source_dest_check": &schema.Schema{
|
|
|
|
|
Type: schema.TypeBool,
|
|
|
|
|
Optional: true,
|
|
|
|
|
Default: true,
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"user_data": &schema.Schema{
|
|
|
|
|
@ -641,6 +642,7 @@ func resourceAwsInstanceRead(d *schema.ResourceData, meta interface{}) error {
|
|
|
|
|
d.Set("subnet_id", instance.SubnetID)
|
|
|
|
|
}
|
|
|
|
|
d.Set("ebs_optimized", instance.EBSOptimized)
|
|
|
|
|
d.Set("source_dest_check", instance.SourceDestCheck)
|
|
|
|
|
d.Set("tags", tagsToMap(instance.Tags))
|
|
|
|
|
|
|
|
|
|
// Determine whether we're referring to security groups with
|
|
|
|
|
|