Failed to query available providers on init?

terraform {
    required_providers {
        vsphere = {
            source = "hashicorp/vsphere"
            #version = "2.1.1"
        }
    }
}

provider "vsphere" {
  user = "my_vsphere_user"
  password = "my_vsphere_password"
  vsphere_server = "my_vsphere_server"
  allow_unverified_ssl = true
}

data "vsphere_datacenter" "dc" {}

resource "vpshere_folder" "parent" {
    path = "Templates"
    type = "vm"
    datacenter_id = data.vsphere_datacenter.dc.id
}

I’m going through a tutorial, and this is all the code I’ve got, so far.

When I run terraform init, the output I get is as follows:

   Aaron Kulbe@kraken  ~\Code\new-tf  terraform init

Initializing the backend...

Initializing provider plugins...
- Finding latest version of hashicorp/vsphere...
- Finding latest version of hashicorp/vpshere...
- Installing hashicorp/vsphere v2.1.1...
- Installed hashicorp/vsphere v2.1.1 (signed by HashiCorp)
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider
│ hashicorp/vpshere: provider registry registry.terraform.io does not
│ have a provider named registry.terraform.io/hashicorp/vpshere
│
│ All modules should specify their required_providers so that external
│ consumers will get the correct providers when using a module. To see│ which modules are currently depending on hashicorp/vpshere, run the
│ following command:
│     terraform providers

Am I doing something incorrectly?

You have a misspelling of vsphere as vpshere in your code.

:man_facepalming:

Thank you. I’m going to go bury my head in the sand somewhere.