cleanup spot instance attribute setting
This commit is contained in:
parent
50bb0e6b4a
commit
be07e4c0c9
|
@ -195,12 +195,8 @@ func resourceAwsSpotInstanceRequestRead(d *schema.ResourceData, meta interface{}
|
|||
}
|
||||
}
|
||||
|
||||
if request.State != nil {
|
||||
d.Set("spot_request_state", *request.State)
|
||||
}
|
||||
if request.BlockDurationMinutes != nil {
|
||||
d.Set("block_duration_minutes", *request.BlockDurationMinutes)
|
||||
}
|
||||
d.Set("spot_request_state", request.State)
|
||||
d.Set("block_duration_minutes", request.BlockDurationMinutes)
|
||||
d.Set("tags", tagsToMap(request.Tags))
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue