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:
Paul Hinze 2015-02-04 10:00:03 -06:00
parent 680fa3c0d8
commit 926effb800
1 changed files with 1 additions and 0 deletions

View File

@ -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
} }