From e7fa85517484422254b5ee0c8c062245c13608fe Mon Sep 17 00:00:00 2001 From: Mike Zupan Date: Sat, 30 May 2015 02:51:56 -0700 Subject: [PATCH] making the update happen --- builtin/providers/aws/resource_aws_autoscaling_group.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/builtin/providers/aws/resource_aws_autoscaling_group.go b/builtin/providers/aws/resource_aws_autoscaling_group.go index 04aed3551..60f3cba85 100644 --- a/builtin/providers/aws/resource_aws_autoscaling_group.go +++ b/builtin/providers/aws/resource_aws_autoscaling_group.go @@ -240,6 +240,11 @@ func resourceAwsAutoscalingGroupUpdate(d *schema.ResourceData, meta interface{}) opts.HealthCheckGracePeriod = aws.Long(int64(d.Get("health_check_grace_period").(int))) } + if d.HasChange("health_check_type") { + opts.HealthCheckGracePeriod = aws.Long(int64(d.Get("health_check_grace_period").(int))) + opts.HealthCheckType = aws.String(d.Get("health_check_type").(string)) + } + if err := setAutoscalingTags(conn, d); err != nil { return err } else {