terraform/builtin/providers/digitalocean
Jake Champlin 712b3e74b6
provider/digitalocean: Fix failing acceptance test
The second step of the `TestAccDigitalOceanDroplet_ResizeWithOutDisk` acceptance test was regularly failing. Upon investigation it was found that the second step's Terraform configuration had omitted the `user_data` parameter, thus forcing Terraform to create a new droplet resource instead of updating the current resource.

```
-/+ digitalocean_droplet.foobar
    disk:                 "20" => "<computed>"
    image:                "centos-7-x64" => "centos-7-x64"
    ipv4_address:         "138.197.0.55" => "<computed>"
    ipv4_address_private: "" => "<computed>"
    ipv6_address:         "" => "<computed>"
    ipv6_address_private: "" => "<computed>"
    locked:               "false" => "<computed>"
    name:                 "foo" => "foo"
    region:               "nyc3" => "nyc3"
    resize_disk:          "true" => "false"
    size:                 "512mb" => "1gb"
    ssh_keys.#:           "1" => "1"
    ssh_keys.0:           "5770472" => "5770472"
    status:               "active" => "<computed>"
    user_data:            "foobar" => "" (forces new resource)
    vcpus:                "1" => "<computed>"
```

This fixes the acceptance test by adding the missing `user_data` parameter.
2017-01-10 10:00:04 -05:00
..
config.go provider/digitalocean: adds a volume resource (#7560) 2016-07-13 15:36:37 +01:00
import_digitalocean_domain_test.go provider/digitalocean: Support Import `digitalocean_domain` (#7342) 2016-06-29 16:10:56 +01:00
import_digitalocean_droplet_test.go provider/digitalocean: Ingore resize_disk on the import DO droplet tests 2016-10-25 11:40:56 +01:00
import_digitalocean_floating_ip_test.go provider/digitalocean: Support Import `digitalocean_floating_ip` (#7343) 2016-06-29 16:30:11 +01:00
import_digitalocean_ssh_key_test.go provider/digitalocean: Support Import `digitalocean_ssh_key` (#7345) 2016-06-29 16:09:34 +01:00
import_digitalocean_tag_test.go provider/digitalocean: Add Test for DO Tag Import (#7602) 2016-07-12 13:16:34 +01:00
import_digitalocean_volume_test.go provider/digitalocean: adds a volume resource (#7560) 2016-07-13 15:36:37 +01:00
provider.go provider/digitalocean: adds a volume resource (#7560) 2016-07-13 15:36:37 +01:00
provider_test.go Refactor the DigitalOcean provider 2014-11-18 11:26:59 +01:00
resource_digitalocean_domain.go provider/digitalocean: Support Import `digitalocean_domain` (#7342) 2016-06-29 16:10:56 +01:00
resource_digitalocean_domain_test.go provider/digitalocean: prevent collision on domain acctest 2016-01-04 16:36:07 -06:00
resource_digitalocean_droplet.go Allow resizing DigitalOcean Droplets without increasing disk size. 2016-10-24 20:00:04 -04:00
resource_digitalocean_droplet_test.go provider/digitalocean: Fix failing acceptance test 2017-01-10 10:00:04 -05:00
resource_digitalocean_floating_ip.go provider/digitalocean: Support Import `digitalocean_floating_ip` (#7343) 2016-06-29 16:30:11 +01:00
resource_digitalocean_floating_ip_test.go provider/digitalocean: Acceptance Tests needed a new Image Name 2016-08-08 12:08:37 +12:00
resource_digitalocean_record.go Fix typo 2016-02-22 13:31:59 -05:00
resource_digitalocean_record_test.go provider/digitalocean: Addsa FQDN out to the `digitalocean_record` 2016-02-09 16:57:42 +00:00
resource_digitalocean_ssh_key.go helper/schema: Add diff suppression callback 2016-08-31 19:13:53 -05:00
resource_digitalocean_ssh_key_test.go provider/digitalocean: Fix a whitespace issue in DO ssh_key causing test failures (#10673) 2016-12-12 16:27:55 +00:00
resource_digitalocean_tag.go digitalocean tag support (#7500) 2016-07-11 12:09:06 +01:00
resource_digitalocean_tag_test.go digitalocean tag support (#7500) 2016-07-11 12:09:06 +01:00
resource_digitalocean_volume.go provider/digitalocean: adds a volume resource (#7560) 2016-07-13 15:36:37 +01:00
resource_digitalocean_volume_test.go provider/digitalocean: adds a volume resource (#7560) 2016-07-13 15:36:37 +01:00
tags.go digitalocean tag support (#7500) 2016-07-11 12:09:06 +01:00
tags_test.go digitalocean tag support (#7500) 2016-07-11 12:09:06 +01:00