Make availability zones a computed attribute.
Fixes a diff calculation error when only a VPC zone identifiers is provided. In this case the associated availability zones are computed from the subnets per the AWS documentation.
This commit is contained in:
parent
e0f4be47a8
commit
37eb1cba88
|
@ -92,6 +92,7 @@ func resourceAwsAutoscalingGroup() *schema.Resource {
|
||||||
"availability_zones": &schema.Schema{
|
"availability_zones": &schema.Schema{
|
||||||
Type: schema.TypeSet,
|
Type: schema.TypeSet,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
Computed: true,
|
||||||
Elem: &schema.Schema{Type: schema.TypeString},
|
Elem: &schema.Schema{Type: schema.TypeString},
|
||||||
Set: schema.HashString,
|
Set: schema.HashString,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue