providers/aws: read ASG termination policies
Right now we yield a perpetual diff on ASGs because we're not reading termination policies back out in the provider. This depends on https://github.com/mitchellh/goamz/pull/218 and fixes it.
This commit is contained in:
parent
680fa3c0d8
commit
926effb800
|
@ -197,6 +197,7 @@ func resourceAwsAutoscalingGroupRead(d *schema.ResourceData, meta interface{}) e
|
||||||
d.Set("max_size", g.MaxSize)
|
d.Set("max_size", g.MaxSize)
|
||||||
d.Set("name", g.Name)
|
d.Set("name", g.Name)
|
||||||
d.Set("vpc_zone_identifier", strings.Split(g.VPCZoneIdentifier, ","))
|
d.Set("vpc_zone_identifier", strings.Split(g.VPCZoneIdentifier, ","))
|
||||||
|
d.Set("termination_policies", g.TerminationPolicies)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue