mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-18 12:42:58 -06:00
d9a2e0dbb3
* provider/scaleway: fix scaleway_volume_attachment with count > 1 since scaleway requires servers to be powered off to attach volumes to, we need to make sure that we don't power down a server twice, or power up a server while it's supposed to be modified. sadly terraform doesn't seem to sport serialization primitives for usecases like this, but putting the code in question behind a `sync.Mutex` does the trick, too fixes #9417 * provider/scaleway: use mutexkv to lock per-resource following @dcharbonnier suggestion. thanks! * provider/scaleway: cleanup waitForServerState signature * provider/scaleway: store serverID in var * provider/scaleway: correct imports * provider/scaleway: increase timeouts |
||
---|---|---|
.. | ||
config.go | ||
data_source_scaleway_bootscript_test.go | ||
data_source_scaleway_bootscript.go | ||
data_source_scaleway_image_test.go | ||
data_source_scaleway_image.go | ||
helpers.go | ||
import_scaleway_ip_test.go | ||
import_scaleway_security_group_test.go | ||
import_scaleway_server_test.go | ||
import_scaleway_volume_test.go | ||
provider_test.go | ||
provider.go | ||
resource_scaleway_ip_test.go | ||
resource_scaleway_ip.go | ||
resource_scaleway_security_group_rule_test.go | ||
resource_scaleway_security_group_rule.go | ||
resource_scaleway_security_group_test.go | ||
resource_scaleway_security_group.go | ||
resource_scaleway_server_test.go | ||
resource_scaleway_server.go | ||
resource_scaleway_volume_attachment_test.go | ||
resource_scaleway_volume_attachment.go | ||
resource_scaleway_volume_test.go | ||
resource_scaleway_volume.go |