Fix dynamically determining if `ForceNew = true` (#7745)

The same instance of the resources’ `schema.Resource` is used for all resources of the same type.

So we need to set either `true` or `false` for every resource to make sure we get the correct value.
pull/7751/head
Sander van Harmelen 10 years ago committed by GitHub
parent 330ca236d0
commit ddc0f4cdb0

@ -25,6 +25,8 @@ func resourceCloudStackNetwork() *schema.Resource {
if value == none {
aclidSchema.ForceNew = true
} else {
aclidSchema.ForceNew = false
}
return value

Loading…
Cancel
Save