mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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 = `
|
||||
resource "aws_launch_configuration" "foobar" {
|
||||
name = "foobarautoscaling-terraform-test"
|
||||
image_id = "ami-21f78e11"
|
||||
instance_type = "t1.micro"
|
||||
}
|
||||
@ -313,13 +312,11 @@ resource "aws_autoscaling_group" "bar" {
|
||||
|
||||
const testAccAWSAutoScalingGroupConfigUpdate = `
|
||||
resource "aws_launch_configuration" "foobar" {
|
||||
name = "foobarautoscaling-terraform-test"
|
||||
image_id = "ami-21f78e11"
|
||||
instance_type = "t1.micro"
|
||||
}
|
||||
|
||||
resource "aws_launch_configuration" "new" {
|
||||
name = "foobarautoscaling-terraform-test-new"
|
||||
image_id = "ami-21f78e11"
|
||||
instance_type = "t1.micro"
|
||||
}
|
||||
@ -358,7 +355,6 @@ resource "aws_elb" "bar" {
|
||||
}
|
||||
|
||||
resource "aws_launch_configuration" "foobar" {
|
||||
name = "foobarautoscaling-terraform-test"
|
||||
image_id = "ami-21f78e11"
|
||||
instance_type = "t1.micro"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user