provider/aws: remove names from LCs in ASG tests
Makes the tests a little more durable if your account happens to end up with a dangling LC.
This commit is contained in:
parent
20ebb38b8f
commit
1594cb3dbe
|
@ -285,7 +285,6 @@ func testAccCheckAWSAutoScalingGroupHealthyCapacity(
|
||||||
|
|
||||||
const testAccAWSAutoScalingGroupConfig = `
|
const testAccAWSAutoScalingGroupConfig = `
|
||||||
resource "aws_launch_configuration" "foobar" {
|
resource "aws_launch_configuration" "foobar" {
|
||||||
name = "foobarautoscaling-terraform-test"
|
|
||||||
image_id = "ami-21f78e11"
|
image_id = "ami-21f78e11"
|
||||||
instance_type = "t1.micro"
|
instance_type = "t1.micro"
|
||||||
}
|
}
|
||||||
|
@ -313,13 +312,11 @@ resource "aws_autoscaling_group" "bar" {
|
||||||
|
|
||||||
const testAccAWSAutoScalingGroupConfigUpdate = `
|
const testAccAWSAutoScalingGroupConfigUpdate = `
|
||||||
resource "aws_launch_configuration" "foobar" {
|
resource "aws_launch_configuration" "foobar" {
|
||||||
name = "foobarautoscaling-terraform-test"
|
|
||||||
image_id = "ami-21f78e11"
|
image_id = "ami-21f78e11"
|
||||||
instance_type = "t1.micro"
|
instance_type = "t1.micro"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_launch_configuration" "new" {
|
resource "aws_launch_configuration" "new" {
|
||||||
name = "foobarautoscaling-terraform-test-new"
|
|
||||||
image_id = "ami-21f78e11"
|
image_id = "ami-21f78e11"
|
||||||
instance_type = "t1.micro"
|
instance_type = "t1.micro"
|
||||||
}
|
}
|
||||||
|
@ -358,7 +355,6 @@ resource "aws_elb" "bar" {
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_launch_configuration" "foobar" {
|
resource "aws_launch_configuration" "foobar" {
|
||||||
name = "foobarautoscaling-terraform-test"
|
|
||||||
image_id = "ami-21f78e11"
|
image_id = "ami-21f78e11"
|
||||||
instance_type = "t1.micro"
|
instance_type = "t1.micro"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue