provider/digitalocean: Update of droplet document to add a note about

resize

When resizing a DO droplet, you can only increase the size not
descrease. If you try and go down in size, the API will return this
error:

```
 * digitalocean_droplet.foobar: Error resizing droplet (17090364):
   POST https://api.digitalocean.com/v2/droplets/17090364/actions:
   422 Size can not decrease size of Droplet's disk image
```
This commit is contained in:
stack72 2016-06-09 20:09:33 +01:00
parent 57dda90177
commit 84770e6c08
1 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,10 @@ The following arguments are supported:
* `image` - (Required) The droplet image ID or slug. * `image` - (Required) The droplet image ID or slug.
* `name` - (Required) The droplet name * `name` - (Required) The droplet name
* `region` - (Required) The region to start in * `region` - (Required) The region to start in
* `size` - (Required) The instance size to start * `size` - (Required) The instance size to start
-> **Note:** When resizing a droplet, only a bigger droplet size can be chosen.
* `backups` - (Optional) Boolean controlling if backups are made. Defaults to * `backups` - (Optional) Boolean controlling if backups are made. Defaults to
false. false.
* `ipv6` - (Optional) Boolean controlling if IPv6 is enabled. Defaults to false. * `ipv6` - (Optional) Boolean controlling if IPv6 is enabled. Defaults to false.