Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WaitForVolumeAvailable ¶ added in v0.14.2
WaitForVolumeAvailable polls the IBM Cloud PowerVS API until the volume reaches "available" (or "in-use") state, retrying on 500 errors. This is necessary because the Terraform IBM Cloud provider's ibm_pi_volume_attach resource polls volume state via GET but does not retry on HTTP 500, causing spurious failures when the IBM Cloud backend returns a transient 500 shortly after volume creation. Running this wait before the Pulumi attachment resource is registered ensures the volume is in a stable state before the provider's own polling begins.
Types ¶
type PowerArgs ¶
type PowerArgs struct {
InstanceArgs models.PVMInstanceCreate
CloudInstanceId string
}
Click to show internal directories.
Click to hide internal directories.