Skip to content

Commit

Permalink
providers/aws: read ASG termination policies
Browse files Browse the repository at this point in the history
Right now we yield a perpetual diff on ASGs because we're not reading
termination policies back out in the provider.

This depends on mitchellh/goamz#218 and fixes
it.
  • Loading branch information
phinze committed Feb 4, 2015
1 parent 680fa3c commit 926effb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/providers/aws/resource_aws_autoscaling_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ func resourceAwsAutoscalingGroupRead(d *schema.ResourceData, meta interface{}) e
d.Set("max_size", g.MaxSize)
d.Set("name", g.Name)
d.Set("vpc_zone_identifier", strings.Split(g.VPCZoneIdentifier, ","))
d.Set("termination_policies", g.TerminationPolicies)

return nil
}
Expand Down

0 comments on commit 926effb

Please sign in to comment.