Skip to content

Commit

Permalink
Merge pull request #3152 from dwradcliffe/read_source_dest_check_state
Browse files Browse the repository at this point in the history
provider/aws: read instance source_dest_check and save to state
  • Loading branch information
phinze committed Sep 16, 2015
2 parents 28ea44b + 987ec96 commit 96317a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions builtin/providers/aws/resource_aws_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,9 @@ func resourceAwsInstanceRead(d *schema.ResourceData, meta interface{}) error {
d.Set("subnet_id", instance.SubnetId)
}
d.Set("ebs_optimized", instance.EbsOptimized)
if instance.SubnetId != nil && *instance.SubnetId != "" {
d.Set("source_dest_check", instance.SourceDestCheck)
}

if instance.Monitoring != nil && instance.Monitoring.State != nil {
monitoringState := *instance.Monitoring.State
Expand Down

0 comments on commit 96317a6

Please sign in to comment.