mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-16 10:00:27 -04:00
read source_dest_check and save to state
This commit is contained in:
@@ -475,6 +475,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
|
||||
|
||||
Reference in New Issue
Block a user