Cloud-Temple / terraform-provider-cloudtemple

Cloud Temple CSP Terraform Provider
https://cloud-temple.com
Mozilla Public License 2.0
8 stars 1 forks source link

virtual disk creation fails after 20 minutes #91

Closed pbesret closed 8 months ago

pbesret commented 8 months ago

Describe the bug When creating a lot a resources simultanously, the resource cloudtemple_compute_virtual_disk can fail its creation if it waits more than 20 minutes due to the default timeout set in the context CreateContext of golang.

Current Behavior We get an error Context deadline exceeded after 20 minutes.

Expected behavior Even if creation lasts more than 20 minutes, the process should keep running since there are no errors.

Steps to reproduce Steps to reproduce the behavior:

  1. Create a terraform file that create a large amount of resources that will take more than 20 minutes to create.
  2. Execute a terraform apply.
  3. Wait 20 minutes until you see the error.

Screenshots If applicable, add screenshots to help explain your problem. image