mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
this PR fixes a flakyness in the `scaleway_volume_attachment` resource, as described below: when attaching/ detaching a volume from a `scaleway_server`, the server needs to be stopped. even though the code already waits for the server to be stopped, the `PatchServer` calls gets a `400 server is being stopped or rebooted` error response. If the API returns the `400` we bail, leaving terraform in a broken state. Assuming this is the only error that the API might return to us, as the payload itself is correct, this retry behaviour should fix the issue. \cc @stack72 PTAL |
||
---|---|---|
.. | ||
bins | ||
providers | ||
provisioners |