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
Jack Pearkes
def922551e
providers/digitalocean: fix acceptance test suite for running
2014-11-02 14:44:32 -08:00
Mitchell Hashimoto
459ffe9d2a
providers/*: fix compilation for input
2014-09-29 10:28:08 -07: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
Mitchell Hashimoto
78672ead21
providers/digitalocean: convert domain to helper/schema [GH-187]
2014-09-09 13:42:06 -07:00
Mitchell Hashimoto
228fd035ba
providers/digitalocean: handle when resource deleted manually [GH-279]
2014-09-09 13:36:47 -07:00
Mitchell Hashimoto
0a1397b374
providers/digitalocean: convert record to schema
2014-09-09 13:29:36 -07:00
Mitchell Hashimoto
6a1a8b9487
providers/digitalocean: schema framework, validation
2014-09-09 13:13:11 -07:00
Jack Pearkes
58a482d677
providers/digitalocean: fix tests for region
...
the user_data argument doesn't exist on all regions
2014-09-05 11:18:49 -04:00
Jack Pearkes
28692656e2
providers/digitalocean: add user_data for create droplet
...
fixes #267
2014-09-05 11:16:12 -04:00
Jack Pearkes
bf52f3886b
providers/digitalocean: if delete droplet returns 404, mark as gone
2014-09-05 11:10:22 -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
Mitchell Hashimoto
d70b451b58
providers/digitalocean: fmt
2014-07-24 14:40:54 -07: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
67bc9f51ae
providers/digitalocean: records
2014-07-24 13:47:22 -04:00
Jack Pearkes
d2a01f2209
proviers/digitalocean: add domains
2014-07-24 13:24:18 -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