Skip to content

Commit

Permalink
need to update aws with the change if there is one
Browse files Browse the repository at this point in the history
  • Loading branch information
mzupan committed Apr 26, 2015
1 parent 9fe6317 commit 0177be2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions builtin/providers/aws/resource_aws_autoscaling_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ func resourceAwsAutoscalingGroupUpdate(d *schema.ResourceData, meta interface{})
if d.HasChange("max_size") {
opts.MaxSize = aws.Long(int64(d.Get("max_size").(int)))
}

if d.HasChange("health_check_grace_period") {
opts.HealthCheckGracePeriod = aws.Long(int64(d.Get("health_check_grace_period").(int)))
}

if err := setAutoscalingTags(autoscalingconn, d); err != nil {
return err
Expand Down

0 comments on commit 0177be2

Please sign in to comment.