providers/aws: ELB should treat subest as a set

This commit is contained in:
Mitchell Hashimoto 2014-10-20 16:32:38 -07:00
parent 0468e85d6e
commit 590a635b70
1 changed files with 1 additions and 1 deletions

View File

@ -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)