From fc0c2c0ea784b32786922f88dad8a40dc80b71d0 Mon Sep 17 00:00:00 2001 From: Raphael Randschau Date: Sun, 13 Mar 2016 08:58:14 +0100 Subject: [PATCH] Validate number of load_balancers see #5336 --- builtin/providers/aws/resource_aws_ecs_service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/providers/aws/resource_aws_ecs_service.go b/builtin/providers/aws/resource_aws_ecs_service.go index aa629829b465..656167485642 100644 --- a/builtin/providers/aws/resource_aws_ecs_service.go +++ b/builtin/providers/aws/resource_aws_ecs_service.go @@ -71,6 +71,7 @@ func resourceAwsEcsService() *schema.Resource { Type: schema.TypeSet, Optional: true, ForceNew: true, + MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "elb_name": &schema.Schema{