Merge pull request #3152 from dwradcliffe/read_source_dest_check_state
provider/aws: read instance source_dest_check and save to state
This commit is contained in:
commit
96317a6a38
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue