From 010a39a58ec149f38cd33edcc8ed6a251ddc421e Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Wed, 6 May 2015 10:12:30 -0500 Subject: [PATCH] provider/aws: remove placement_group from acctest Depends on there being an existing placement group in the account called "terraform-placement-group" - we'll need to circle back around to cover this with AccTests after TF gets an `aws_placement_group` resource. --- builtin/providers/aws/resource_aws_instance_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/builtin/providers/aws/resource_aws_instance_test.go b/builtin/providers/aws/resource_aws_instance_test.go index d5cc6c850..e825062fd 100644 --- a/builtin/providers/aws/resource_aws_instance_test.go +++ b/builtin/providers/aws/resource_aws_instance_test.go @@ -21,10 +21,6 @@ func TestAccAWSInstance_normal(t *testing.T) { return fmt.Errorf("bad availability zone: %#v", *v.Placement.AvailabilityZone) } - if *v.Placement.GroupName != "terraform-placement-group" { - return fmt.Errorf("bad placement group name: %#v", *v.Placement.GroupName) - } - if len(v.SecurityGroups) == 0 { return fmt.Errorf("no security groups: %#v", v.SecurityGroups) } @@ -549,7 +545,6 @@ resource "aws_instance" "foo" { # us-west-2 ami = "ami-4fccb37f" availability_zone = "us-west-2a" - placement_group = "terraform-placement-group" instance_type = "m1.small" security_groups = ["${aws_security_group.tf_test_foo.name}"]