From 9cf0c44247dbe242551203f26ff75e6719c62f31 Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Mon, 12 Jan 2015 15:04:58 +0100 Subject: [PATCH] provider/cloudstack: fixing the cloudstack_disk provider This value is read back from the environment to the state, without setting this to `Computed: true` it will see the read back value as a diff. --- builtin/providers/cloudstack/resource_cloudstack_disk.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/providers/cloudstack/resource_cloudstack_disk.go b/builtin/providers/cloudstack/resource_cloudstack_disk.go index b648daf81..23665f9c0 100644 --- a/builtin/providers/cloudstack/resource_cloudstack_disk.go +++ b/builtin/providers/cloudstack/resource_cloudstack_disk.go @@ -42,6 +42,7 @@ func resourceCloudStackDisk() *schema.Resource { "size": &schema.Schema{ Type: schema.TypeInt, Optional: true, + Computed: true, }, "shrink_ok": &schema.Schema{