-
Notifications
You must be signed in to change notification settings - Fork 56
Description
Is your feature request related to a problem?
As per current documentation, if wait_for_completion_timeout
is exceeded for Provision API, execution continues asynchronously. As user of Provision API, I think it may be better to stop provisioning, and deprovision created resources, because timeout may indicate request should fail, which is more aligned with my expectation. Continuing execution asynchronously is actually same experience as calling Provision API without wait_for_completion_timeout
.
What solution would you like?
Add one more param like fail_on_timeout:boolean
. Default is false, which ensures backward compatibility. If value is specified as true, when wait_for_completion_timeout
is exceeded, fail the request and deprovision the created resources.
What alternatives have you considered?
One alternative solution is to simply change existing behavior to fail the request and deprovision the created resources when timeout is exceeded, without adding fail_on_timeout
param
Do you have any additional context?
N/A