diff --git a/aws/resource_aws_ecs_service_test.go b/aws/resource_aws_ecs_service_test.go index 0f8d433aa6e..b833feb5583 100644 --- a/aws/resource_aws_ecs_service_test.go +++ b/aws/resource_aws_ecs_service_test.go @@ -2294,172 +2294,6 @@ resource "aws_ecs_service" "with_alb" { `, clusterName, tdName, roleName, policyName, lbName, svcName) } -func testAccAWSEcsServiceWithMultipleTargetGroup(clusterName, tdName, roleName, policyName, lbName, svcName string) string { - return fmt.Sprintf(` -data "aws_availability_zones" "available" {} - -resource "aws_vpc" "main" { - cidr_block = "10.10.0.0/16" - - tags = { - Name = "terraform-testacc-ecs-service-with-alb" - } -} - -resource "aws_subnet" "main" { - count = 2 - cidr_block = "${cidrsubnet(aws_vpc.main.cidr_block, 8, count.index)}" - availability_zone = "${data.aws_availability_zones.available.names[count.index]}" - vpc_id = "${aws_vpc.main.id}" - - tags = { - Name = "tf-acc-ecs-service-with-alb" - } -} - -resource "aws_ecs_cluster" "main" { - name = "%s" -} - -resource "aws_ecs_task_definition" "with_lb_changes" { - family = "%s" - - container_definitions = <