From 84770e6c0837498517737f43d567596638816560 Mon Sep 17 00:00:00 2001 From: stack72 Date: Thu, 9 Jun 2016 20:09:33 +0100 Subject: [PATCH] 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 ``` --- website/source/docs/providers/do/r/droplet.html.markdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/source/docs/providers/do/r/droplet.html.markdown b/website/source/docs/providers/do/r/droplet.html.markdown index 0a3352211..053ab74a1 100644 --- a/website/source/docs/providers/do/r/droplet.html.markdown +++ b/website/source/docs/providers/do/r/droplet.html.markdown @@ -31,7 +31,10 @@ The following arguments are supported: * `image` - (Required) The droplet image ID or slug. * `name` - (Required) The droplet name * `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 false. * `ipv6` - (Optional) Boolean controlling if IPv6 is enabled. Defaults to false.