diff --git a/aws/resource_aws_ecs_service_test.go b/aws/resource_aws_ecs_service_test.go index 31f0bb10b9c..32cda44a99d 100644 --- a/aws/resource_aws_ecs_service_test.go +++ b/aws/resource_aws_ecs_service_test.go @@ -862,7 +862,7 @@ resource "aws_ecs_service" "mongo" { func testAccAWSEcsServiceWithMultiPlacementStrategy(clusterName, tdName, svcName string) string { return fmt.Sprintf(` resource "aws_ecs_cluster" "default" { - name = "%s" + name = "%s" } resource "aws_ecs_task_definition" "mongo" { @@ -886,12 +886,12 @@ resource "aws_ecs_service" "mongo" { task_definition = "${aws_ecs_task_definition.mongo.arn}" desired_count = 1 ordered_placement_strategy { - type = "binpack" - field = "memory" + type = "binpack" + field = "memory" } - ordered_placement_strategy { - field = "host" - type = "spread" + ordered_placement_strategy { + field = "host" + type = "spread" } } `, clusterName, tdName, svcName)