Skip to content

Commit

Permalink
providers/aws: ELB should treat subest as a set
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Oct 20, 2014
1 parent 0468e85 commit 590a635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/providers/aws/resource_aws_elb.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func resourceAwsElbCreate(d *schema.ResourceData, meta interface{}) error {
}

if v, ok := d.GetOk("subnets"); ok {
elbOpts.Subnets = expandStringList(v.([]interface{}))
elbOpts.Subnets = expandStringList(v.(*schema.Set).List())
}

log.Printf("[DEBUG] ELB create configuration: %#v", elbOpts)
Expand Down

0 comments on commit 590a635

Please sign in to comment.