opentofu/builtin
Raphael Randschau b0772b9131 provider/scaleway: retry volume attachment create/ destroy (#9972)
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
2016-11-08 21:57:33 +00:00
..
bins Add PagerDuty provider 2016-10-24 14:19:55 +02:00
providers provider/scaleway: retry volume attachment create/ destroy (#9972) 2016-11-08 21:57:33 +00:00
provisioners Add ability to skip chef registration 2016-10-01 00:49:39 +02:00