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.
This commit is contained in:
parent
a909ce88ab
commit
9cf0c44247
|
@ -42,6 +42,7 @@ func resourceCloudStackDisk() *schema.Resource {
|
||||||
"size": &schema.Schema{
|
"size": &schema.Schema{
|
||||||
Type: schema.TypeInt,
|
Type: schema.TypeInt,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
Computed: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"shrink_ok": &schema.Schema{
|
"shrink_ok": &schema.Schema{
|
||||||
|
|
Loading…
Reference in New Issue