tests! yes! (thanks stack72)
This commit is contained in:
parent
c7b02d9fdb
commit
df41f10d1d
|
@ -48,6 +48,8 @@ func TestAccAWSAutoScalingGroup_basic(t *testing.T) {
|
|||
"aws_autoscaling_group.bar", "termination_policies.0", "OldestInstance"),
|
||||
resource.TestCheckResourceAttr(
|
||||
"aws_autoscaling_group.bar", "termination_policies.1", "ClosestToNextInstanceHour"),
|
||||
resource.TestCheckResourceAttr(
|
||||
"aws_autoscaling_group.bar", "placement_group", "test"),
|
||||
),
|
||||
},
|
||||
|
||||
|
@ -364,6 +366,7 @@ resource "aws_autoscaling_group" "bar" {
|
|||
desired_capacity = 4
|
||||
force_delete = true
|
||||
termination_policies = ["OldestInstance","ClosestToNextInstanceHour"]
|
||||
placement_group = "test"
|
||||
|
||||
launch_configuration = "${aws_launch_configuration.foobar.name}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue