Paperspace / terraform-provider-paperspace

Paperspace terraform provider
ISC License
33 stars 7 forks source link

feat: wait for machine create & destroy before terraform reports success PS-13868 #4

Closed jaredscheib closed 4 years ago

jaredscheib commented 4 years ago

This PR introduces a retry for machineCreate and machineDestroy that waits until those resources are actually created (meaning in "ready" state) and destroyed (meaning "not found"), whereas before the provider would report success on create/destroy just based on API success response. The API success response does not correlate to actual create or destroy.

sanfilip commented 4 years ago

Looks good. I don't even know if this was possible 3 years ago in the terraform api, but it is definitely a needed addition.

PSBOT commented 4 years ago

:tada: This PR is included in version 0.2.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: