Closed displague closed 2 years ago
The metal_device resource should support the Terraform timeout attributes.
metal_device
Of particular interest is the timeout for delete events. During a reservation instance deletion the reservation state checking is hardcoded to 60m.
https://github.com/equinix/terraform-provider-metal/blob/main/metal/resource_metal_device.go#L785
The timeout attributes and defaults should be added and documented. The timeout should cover the time to delete the resource and the reservation cleanup.
Just adding terraform docs for reference:
https://www.terraform.io/language/resources/syntax#operation-timeouts
The
metal_device
resource should support the Terraform timeout attributes.Of particular interest is the timeout for delete events. During a reservation instance deletion the reservation state checking is hardcoded to 60m.
https://github.com/equinix/terraform-provider-metal/blob/main/metal/resource_metal_device.go#L785
The timeout attributes and defaults should be added and documented. The timeout should cover the time to delete the resource and the reservation cleanup.