Antoine Grondin
7594c09623
provider/digitalocean: fix issue #3628 by accepting SSH fingerprints
2015-10-25 16:29:01 -04:00
Paul Hinze
97cb207fc5
Merge pull request #3333 from aybabtme/use-official-digitalocean-client
...
use official Go client for DigitalOcean provider
2015-10-16 09:11:04 -05:00
Antoine Grondin
0bcf557198
use official Go client for DigitalOcean provider
2015-09-27 01:09:51 -04:00
stack72
9ac39a3edf
Enforcing lowercase on the DO Size. This is used for the sizeslug property of API calls - according to their [docs]( https://developers.digitalocean.com/documentation/v1/sizes/ ) this always looks to be lowercase on the slug. I cannot find any definite answer to this question though
2015-09-18 19:42:37 +01:00
Rui Lopes
02791d70df
provider/digitalocean: check if the droplet no longer exists.
2015-06-25 22:17:56 +01:00
Jack Pearkes
5c74a63f3d
Merge pull request #1062 from hashicorp/configure-wait-checks
...
providers/digitalocean: Configure wait checks
2015-02-26 14:55:24 -08:00
Jack Pearkes
8ab4d37f7c
providers/digitalocean: be more lenient for droplets 404ing on creation
2015-02-26 10:00:54 -08:00
Jack Pearkes
74b7137cdc
providers/digitalocean: use real bools for droplet creation
...
Fixes #792
Depends on https://github.com/pearkes/digitalocean/pull/5
2015-02-26 09:37:05 -08:00
Jack Pearkes
3f217763c7
providers/digitalocean: wait for droplet to be unlocked before destroy
2015-02-25 16:54:39 -08:00
Jack Pearkes
f2e92cfeab
providers/digitalocean: increase timeout for droplet wait to 60 mins
...
fixes #325
2015-02-25 16:08:35 -08:00
Mitchell Hashimoto
9a8cb2c526
providers/digitalocean: style
2015-02-18 15:14:50 -08:00
Sander van Harmelen
4ace4865d7
Making all function names consistent
...
Before all providers were using the helper.Schema approach the helper
function had these names. Now they all use names consistent with the Go
naming conventions except for these last few…
2014-12-15 15:26:17 +01:00
Joseph Anthony Pasquale Holsten
5b0894b5cd
simplify digitalocean_droplet.image loading
...
If a droplet's image slug is empty and its image id is empty, then the
image attribute should be empty, so we may assign from either. So it is
unnecessary to check if the image id is empty.
* remove unnecessary check for emptiness of image id
* reverse order of the conditions for assigning the image attribute,
with the default case (using the slug) first, and the fallback case
(using the id) second
2014-12-01 11:36:05 -08:00
Sander van Harmelen
6be4b2e807
A really small update fixing a cosmetic inconsistentie
...
For the OCD types among us, this inconsistentie (only location where
droplet is spelled with a capital) drives me mad
😝
2014-11-20 15:09:22 +01:00
Sander van Harmelen
12f6ccb731
Refactor the DigitalOcean provider
...
With this refactor the DigitalOcean provider is updated to use the
schema.Provider approach released with TF 0.2.
2014-11-18 11:26:59 +01:00
Jack Pearkes
ecf66ad7b5
providers/digitalocean: compat for changes to API for droplet size
...
Upstream in the digitalocean API, the size slug became a size
string, breaking pearkes/digitalocean.
https://github.com/pearkes/digitalocean/pull/1
This fixes compatibility for changes to that library.
closes #510
2014-11-02 14:50:59 -08:00
Mitchell Hashimoto
9b2b3a963f
ResourceDiff => InstanceDiff
2014-09-17 16:33:24 -07:00
Mitchell Hashimoto
aafbc2ab7c
providers/digitalocean: tests passing, compiling
2014-09-16 17:28:22 -07:00
Jack Pearkes
28692656e2
providers/digitalocean: add user_data for create droplet
...
fixes #267
2014-09-05 11:16:12 -04:00
Alex Gaynor
46154ca1d3
Fixed a ton of typos in docs and comments
2014-08-07 00:19:56 -07:00
Jack Pearkes
61122beec4
providers/digitalocean: fix comment
2014-08-01 11:05:32 -04:00
Jack Pearkes
d9bfe1c2fe
providers/digitalocean: only save private ip address if private
2014-08-01 10:12:29 -04:00
Jack Pearkes
2fe6f2e2b1
providers/digitalocean: restart droplet in failed resize
2014-08-01 10:10:52 -04:00
Jack Pearkes
872acb3740
providers/digitalocean: fix ip address when using private networking
...
This adds a new `ipv4_address_private` and `ipv4_address_public`
computed attr. Also pulls in upstream changes from pearkes/digitalocean
2014-07-29 19:04:10 -04:00
Armon Dadgar
0b4950976c
Revert "providers/digitalocean: don't save status and locked"
...
This reverts commit b9414b832c
.
2014-07-28 13:04:17 -04:00
Armon Dadgar
bf3ac46c36
provider/digitalocean: less aggressive retry
2014-07-28 12:58:19 -04:00
Jack Pearkes
b9414b832c
providers/digitalocean: don't save status and locked
2014-07-24 23:32:42 -04:00
Jack Pearkes
9d75352fd3
providers/digitalocean: fix 404 check
2014-07-24 17:57:23 -04:00
Jack Pearkes
bcf92e8d39
providers/digitalocean: handle destroyed droplets
2014-07-24 17:31:39 -04:00
Armon Dadgar
a6e536c718
provider/digitalocean: Support ConnInfo for provisioning
2014-07-24 13:51:43 -04:00
Jack Pearkes
ed8980714c
providers/digitalocean: handle locked droplets and retry
2014-07-21 11:05:24 -04:00
Jack Pearkes
7be85deb92
providers/digitalocean: updates
2014-07-19 12:33:25 -04:00
Jack Pearkes
0965332b88
providers/digitalocean: WaitForAttribute
2014-07-19 09:45:42 -04:00
Jack Pearkes
5dcd453db8
providers/digitalocean: alphabetize all the things
2014-07-18 20:41:02 -04:00
Jack Pearkes
4455a6120c
providers/digitalocean: initial commit
2014-07-18 20:20:28 -04:00