providers/aws: ELB treats subnets as a set
This commit is contained in:
parent
74ad2797cf
commit
7e2a421d87
|
@ -30,6 +30,7 @@ BUG FIXES:
|
|||
* providers/aws: Drain autoscale groups before deleting. [GH-435]
|
||||
* providers/aws: Fix crash case if launch config is manually deleted. [GH-421]
|
||||
* providers/aws: Disassociate EIP before destroying.
|
||||
* providers/aws: ELB treats subnets as a set.
|
||||
|
||||
## 0.3.0 (October 14, 2014)
|
||||
|
||||
|
|
|
@ -59,11 +59,14 @@ func resourceAwsElb() *schema.Resource {
|
|||
|
||||
// TODO: could be not ForceNew
|
||||
"subnets": &schema.Schema{
|
||||
Type: schema.TypeList,
|
||||
Type: schema.TypeSet,
|
||||
Elem: &schema.Schema{Type: schema.TypeString},
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
Computed: true,
|
||||
Set: func(v interface{}) int {
|
||||
return hashcode.String(v.(string))
|
||||
},
|
||||
},
|
||||
|
||||
// TODO: could be not ForceNew
|
||||
|
|
Loading…
Reference in New Issue