Initializing the backend...
Initializing provider plugins...
- Finding latest version of hashicorp/k0s...
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/k0s: provider registry registry.terraform.io does not have a provider named registry.terraform.io/hashicorp/k0s
│
│ 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/k0s, run the
│ following command:
│ terraform providers
2022-09-03T22:11:27.737+0200 [INFO] Terraform version: 1.2.8
2022-09-03T22:11:27.737+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.0.0
2022-09-03T22:11:27.737+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.12.0
2022-09-03T22:11:27.737+0200 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-09-03T22:11:27.737+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-09-03T22:11:27.737+0200 [DEBUG] using github.com/zclconf/go-cty v1.11.0
2022-09-03T22:11:27.737+0200 [INFO] Go runtime version: go1.18.1
2022-09-03T22:11:27.737+0200 [INFO] CLI args: []string{"/var/lib/tfenv/versions/1.2.8/terraform", "init"}
2022-09-03T22:11:27.737+0200 [TRACE] Stdout is a terminal of width 213
2022-09-03T22:11:27.737+0200 [TRACE] Stderr is a terminal of width 213
2022-09-03T22:11:27.737+0200 [TRACE] Stdin is a terminal
2022-09-03T22:11:27.737+0200 [DEBUG] Attempting to open CLI config file: /home/user/.terraformrc
2022-09-03T22:11:27.737+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2022-09-03T22:11:27.737+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2022-09-03T22:11:27.737+0200 [DEBUG] ignoring non-existing provider search directory /home/user/.terraform.d/plugins
2022-09-03T22:11:27.737+0200 [DEBUG] ignoring non-existing provider search directory /home/user/.local/share/terraform/plugins
2022-09-03T22:11:27.737+0200 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2022-09-03T22:11:27.737+0200 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2022-09-03T22:11:27.737+0200 [INFO] CLI command args: []string{"init"}
Initializing the backend...
2022-09-03T22:11:27.738+0200 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2022-09-03T22:11:27.738+0200 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2022-09-03T22:11:27.738+0200 [DEBUG] New state was assigned lineage "b3b0bc2b-fa67-f605-724c-eec09c09b821"
2022-09-03T22:11:27.738+0200 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2022-09-03T22:11:27.738+0200 [TRACE] Meta.Backend: instantiated backend of type <nil>
2022-09-03T22:11:27.739+0200 [DEBUG] checking for provisioner in "."
2022-09-03T22:11:27.739+0200 [DEBUG] checking for provisioner in "/var/lib/tfenv/versions/1.2.8"
2022-09-03T22:11:27.739+0200 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2022-09-03T22:11:27.739+0200 [TRACE] backend/local: state manager for workspace "default" will:
- read initial snapshot from terraform.tfstate
- write new snapshots to terraform.tfstate
- create any backup at terraform.tfstate.backup
2022-09-03T22:11:27.739+0200 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate
2022-09-03T22:11:27.739+0200 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2022-09-03T22:11:27.739+0200 [TRACE] statemgr.Filesystem: read nil snapshot
Initializing provider plugins...
- Finding latest version of hashicorp/k0s...
2022-09-03T22:11:27.739+0200 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
2022-09-03T22:11:27.739+0200 [TRACE] HTTP client GET request to https://registry.terraform.io/.well-known/terraform.json
2022-09-03T22:11:27.954+0200 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/k0s/versions
2022-09-03T22:11:27.954+0200 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/hashicorp/k0s/versions
2022-09-03T22:11:28.187+0200 [DEBUG] GET https://registry.terraform.io/v1/providers/-/k0s/versions
2022-09-03T22:11:28.187+0200 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/-/k0s/versions
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/k0s: provider registry registry.terraform.io does not have a provider named registry.terraform.io/hashicorp/k0s
│
│ 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/k0s, run the
│ following command:
│ terraform providers
╵