terra-farm/terraform-provider-virtualbox

Cannot find provider packages

sxddhxrthx opened this issue · 0 comments

I am trying to create virtualbox vms using the the following code:

terraform {
  required_providers {
    virtualbox = {
      source = "terra-farm/virtualbox"
    }
  }
}

resource virtualbox_vm "k8s-node" {
  count = 2
  name = format("k8s-node-%02d", count.index + 1)
  image = "C:\\Users\\username\\Downloads\\CentOS-7-x86_64-Minimal-2009.iso"
  cpus = 2
  memory = "1536 mib"
  network_adapter = {
    type = "bridged"
    host_interface = "eth0"
  }
}

But when I run terraform init, all I get is the following error:

Initializing the backend...

Initializing provider plugins...

  • Finding latest version of terra-farm/virtualbox...
    |
    │ Error: Failed to query available provider packages

    │ Could not retrieve the list of available versions for provider terra-farm/virtualbox: no available releases match the given constraints

Not quite sure what am I doing wrong as I even tried copy-paste from official docs and changed the variable names but it didn't had impact on the result.