diff --git a/builtin/providers/aws/resource_aws_autoscaling_group_test.go b/builtin/providers/aws/resource_aws_autoscaling_group_test.go index 20ec40cd6..ce453d6d0 100644 --- a/builtin/providers/aws/resource_aws_autoscaling_group_test.go +++ b/builtin/providers/aws/resource_aws_autoscaling_group_test.go @@ -96,7 +96,7 @@ func testAccCheckAWSAutoScalingGroupAttributes(group *autoscaling.AutoScalingGro return fmt.Errorf("Bad max_size: %s", group.MinSize) } - if group.HealthCheckType != "elb" { + if group.HealthCheckType != "ELB" { return fmt.Errorf("Bad health_check_type: %s", group.HealthCheckType) } @@ -151,7 +151,7 @@ func testAccCheckAWSAutoScalingGroupExists(n string, group *autoscaling.AutoScal const testAccAWSAutoScalingGroupConfig = ` resource "aws_launch_configuration" "foobar" { - name = "foobar-terraform-test" + name = "foobarautoscaling-terraform-test" image_id = "ami-fb8e9292" instance_type = "t1.micro" }