From 3da8e17e9c9b14ed6e0943deb015c2325a519c0f Mon Sep 17 00:00:00 2001 From: Angie Pinilla Date: Fri, 15 May 2020 00:51:00 -0400 Subject: [PATCH] enable linter --- aws/resource_aws_eks_node_group.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aws/resource_aws_eks_node_group.go b/aws/resource_aws_eks_node_group.go index 7c29f24f089..a646912cdaa 100644 --- a/aws/resource_aws_eks_node_group.go +++ b/aws/resource_aws_eks_node_group.go @@ -59,7 +59,7 @@ func resourceAwsEksNodeGroup() *schema.Resource { ForceNew: true, }, "instance_types": { - Type: schema.TypeSet, + Type: schema.TypeList, Optional: true, Computed: true, ForceNew: true, @@ -201,8 +201,8 @@ func resourceAwsEksNodeGroupCreate(d *schema.ResourceData, meta interface{}) err input.DiskSize = aws.Int64(int64(v.(int))) } - if v := d.Get("instance_types").(*schema.Set); v.Len() > 0 { - input.InstanceTypes = expandStringSet(v) + if v := d.Get("instance_types").([]interface{}); len(v) > 0 { + input.InstanceTypes = expandStringList(v) } if v := d.Get("labels").(map[string]interface{}); len(v) > 0 {