civo / terraform-provider-civo

Terraform Civo provider
https://www.civo.com
Mozilla Public License 2.0
65 stars 51 forks source link

Creating volumes on networks other than the default hangs indefinitely #213

Closed fernando-villalba closed 1 month ago

fernando-villalba commented 1 month ago

Description

Issue

When creating a volume with terraform in a network that's not the default, it hangs forever, even though the volume gets successfully created.

Here is the code to reproduce the issue

 resource "civo_network" "test-issue" {
     label = "test-issue"
 }

resource "civo_volume" "test-volume-issue" {
  name       = "test-volume-issue-volume"
  size_gb    = 1
  network_id = civo_network.test-issue.id
}

I have waited up to 20 minutes and it never ends. Using the default network it works fine.

(Tested on LON1 region, have not tested in other regions to see if the issue is the same everywhere)

Acceptance criteria

Screenshots

image

Additional information

No response

uzaxirr commented 1 month ago

unable to replicate it, perhaps you might not be having any other resources in that network. You need to have atleast one (cluster, db, instanse etc) in that network