Fixing aws_elb schema

If not suppling the `availability_zones`, they will be computed
(meaning an update/refresh will retrieve the info and update the values
to the state file).

So without the `Computed = true` the diff will always flag this as a
change, even when it’s not.
This commit is contained in:
Sander van Harmelen 2014-12-25 23:12:54 +01:00
parent a305d48320
commit 852e2f74ca
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ func resourceAwsElb() *schema.Resource {
Elem: &schema.Schema{Type: schema.TypeString},
Optional: true,
ForceNew: true,
Computed: true,
Set: func(v interface{}) int {
return hashcode.String(v.(string))
},