terraform/builtin/providers/digitalocean
Julien Pivotto ccb34b702d provider/digitalocean: prevent new resources when using ID's of images with slugs (#13879)
When you specify the ID of an image that has a slug, terraform would
store its slug to the state, hence it would always recreate the image.

This commit fixes it by storing the image as an ID when it is specified
by and ID by the user, ignoring the slug.

Closes #12751.
Fixes #12255.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2017-04-27 18:48:58 +01:00
..
config.go provider/digitalocean: Log HTTP requests & responses in DEBUG+ level (#14039) 2017-04-27 17:14:37 +01:00
datasource_digitalocean_image.go Rename datasource_digitalocea{l,n}_image.go (#14025) 2017-04-27 11:11:57 +01:00
datasource_digitalocean_image_test.go Rename datasource_digitalocea{l,n}_image.go (#14025) 2017-04-27 11:11:57 +01:00
import_digitalocean_domain_test.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +00:00
import_digitalocean_droplet_test.go provider/digitalocean: Update digital ocean acceptance tests 2017-02-10 16:41:35 -05:00
import_digitalocean_floating_ip_test.go provider/digitalocean: Update digital ocean acceptance tests 2017-02-10 16:41:35 -05:00
import_digitalocean_ssh_key_test.go provider/packet|digitalocean: Randomize the SSH Key acceptance tests (#13096) 2017-03-27 19:59:09 +03:00
import_digitalocean_tag_test.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +00:00
import_digitalocean_volume_test.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +00:00
loadbalancer.go provider/digitalocean: Add support for LoadBalancers (#12077) 2017-02-23 23:41:20 +02:00
provider.go Add DigitalOcean datasource digitalocean_image (#13787) 2017-04-21 16:25:34 +03:00
provider_test.go Refactor the DigitalOcean provider 2014-11-18 11:26:59 +01:00
resource_digitalocean_domain.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +00:00
resource_digitalocean_domain_test.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +00:00
resource_digitalocean_droplet.go provider/digitalocean: prevent new resources when using ID's of images with slugs (#13879) 2017-04-27 18:48:58 +01:00
resource_digitalocean_droplet_test.go provider/digitalocean: prevent new resources when using ID's of images with slugs (#13879) 2017-04-27 18:48:58 +01:00
resource_digitalocean_floating_ip.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +00:00
resource_digitalocean_floating_ip_test.go provider/digitalocean: Update digital ocean acceptance tests 2017-02-10 16:41:35 -05:00
resource_digitalocean_loadbalancer.go provider/digitalocean: Add support for LoadBalancers (#12077) 2017-02-23 23:41:20 +02:00
resource_digitalocean_loadbalancer_test.go provider/digitalocean: Add support for LoadBalancers (#12077) 2017-02-23 23:41:20 +02:00
resource_digitalocean_record.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +00:00
resource_digitalocean_record_test.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +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/packet|digitalocean: Randomize the SSH Key acceptance tests (#13096) 2017-03-27 19:59:09 +03:00
resource_digitalocean_tag.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +00:00
resource_digitalocean_tag_test.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +00:00
resource_digitalocean_volume.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +00:00
resource_digitalocean_volume_test.go provider/digitalocean: Fix faililng acceptance test (#11887) 2017-02-12 19:57:44 +00:00
tags.go provider/digitalocean: Fix failing acceptance test (#11310) 2017-01-20 17:47:54 +00:00
tags_test.go digitalocean tag support (#7500) 2016-07-11 12:09:06 +01:00