terraform/builtin/providers/scaleway
Raphael Randschau a422bf02f1 provider/scaleway: improve volume attachment (#10084)
* provider/scaleway: increase wait for server time

according to the scaleway community, shutdown/ startup might actually take an
hour. since a regular shutdown transfers data this is bound by the size of the
actual volumes in use.

https://community.online.net/t/solving-the-long-shutdown-boot-when-only-needed-to-attach-detach-a-volume/326

anyhow, 20 minutes seems quite optimistic, and we've seen some timeout errors in
the logs, too

* provider/scaleway: clear cache on volume attachment

the volume attachment errors quite often, and while I have no hard evidence
(yet) I guess it might be related to the cache that the official scaleway SDK
includes.

for now this is just a tiny experiment, clearing the cache when creating/
destroying volume attachments. let's see if this improves anything, really

* provider/scaleway: guard against attaching already attached volumes

* provider/scaleway: use cheaper instance types for tests

Scaleway bills by the hour and C2S costs much more than C1, since in the tests
we just spin up instances, to destroy them later on...
2016-11-17 15:08:05 +02:00
..
config.go provider/scaleway: expose Region as user facing configuration 2016-10-10 20:02:32 +02:00
data_source_scaleway_bootscript.go provider/scaleway: add bootscript data source 2016-10-15 19:32:01 +02:00
data_source_scaleway_bootscript_test.go provider/scaleway: fix `scaleway_image` datasource returning unknown images (#9899) 2016-11-05 11:37:02 +00:00
data_source_scaleway_image.go provider/scaleway: fix `scaleway_image` datasource returning unknown images (#9899) 2016-11-05 11:37:02 +00:00
data_source_scaleway_image_test.go provider/scaleway: fix `scaleway_image` datasource returning unknown images (#9899) 2016-11-05 11:37:02 +00:00
helpers.go provider/scaleway: improve volume attachment (#10084) 2016-11-17 15:08:05 +02:00
import_scaleway_ip_test.go provider/scaleway: add importer support 2016-10-15 23:49:14 +02:00
import_scaleway_security_group_test.go provider/scaleway: add importer support 2016-10-15 23:49:14 +02:00
import_scaleway_server_test.go provider/scaleway: add importer support 2016-10-15 23:49:14 +02:00
import_scaleway_volume_test.go provider/scaleway: add importer support 2016-10-15 23:49:14 +02:00
provider.go provider/scaleway: fix scaleway_volume_attachment with count > 1 (#9493) 2016-10-27 16:51:34 +01:00
provider_test.go
resource_scaleway_ip.go provider/scaleway: add importer support 2016-10-15 23:49:14 +02:00
resource_scaleway_ip_test.go provider/scaleway: Expose IPv6 support, improve documentation (#7784) 2016-07-25 12:49:09 +01:00
resource_scaleway_security_group.go provider/scaleway: add importer support 2016-10-15 23:49:14 +02:00
resource_scaleway_security_group_rule.go provider/scaleway: fix security_group_rule identification 2016-09-05 16:29:18 +02:00
resource_scaleway_security_group_rule_test.go provider/scaleway: add importer support 2016-10-15 23:49:14 +02:00
resource_scaleway_security_group_test.go
resource_scaleway_server.go provider/scaleway server volume property (#9695) 2016-10-29 12:07:35 +01:00
resource_scaleway_server_test.go provider/scaleway server volume property (#9695) 2016-10-29 12:07:35 +01:00
resource_scaleway_volume.go provider/scaleway: update sdk (#9976) 2016-11-09 09:32:56 +00:00
resource_scaleway_volume_attachment.go provider/scaleway: improve volume attachment (#10084) 2016-11-17 15:08:05 +02:00
resource_scaleway_volume_attachment_test.go provider/scaleway: improve volume attachment (#10084) 2016-11-17 15:08:05 +02:00
resource_scaleway_volume_test.go provider/scaleway server volume property (#9695) 2016-10-29 12:07:35 +01:00