Commit Graph

14 Commits

Author SHA1 Message Date
Paul Hinze 028664a015 provider/digitalocean: acctest improvements
* Add SSH Keys to all droplets in tests, this prevents acctests from
   spamming account owner email with root password details
 * Add a new helper/acctest package to be a home for random string / int
   implementations used in tests.
 * Insert some random details into record tests to prevent collisions
 * Normalize config style in tests to hclfmt conventions
2016-01-04 15:30:35 -06:00
Paul Hinze bf11be82c8 provider/digitalocean: enhance user_data test
Checks to ensure that the droplet is recreated. Commenting out
`ForceNew` on `user_data` fails the test now.

/cc @stack72
2015-11-04 15:20:52 -06:00
stack72 ffdd4de326 Making user_data force a new droplet for DigitalOcean 2015-11-03 20:53:54 +00:00
Antoine Grondin 0bcf557198 use official Go client for DigitalOcean provider 2015-09-27 01:09:51 -04: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 aafbc2ab7c providers/digitalocean: tests passing, compiling 2014-09-16 17:28:22 -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 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
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 4455a6120c providers/digitalocean: initial commit 2014-07-18 20:20:28 -04:00