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:
Trevor Pounds 2016-01-31 17:44:19 -08:00
parent e0f4be47a8
commit 37eb1cba88
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ func resourceAwsAutoscalingGroup() *schema.Resource {
"availability_zones": &schema.Schema{
Type: schema.TypeSet,
Optional: true,
Computed: true,
Elem: &schema.Schema{Type: schema.TypeString},
Set: schema.HashString,
},