alijahnas / CKA-practice-exercises

This is a guide for passing the CNCF Certified Kubernetes Administrator (CKA) with practice exercises. Good luck!
GNU General Public License v3.0
1.11k stars 495 forks source link

cluster-infra.tf failing to load modules. #13

Open virtualkarthik opened 2 years ago

virtualkarthik commented 2 years ago

terraform init

Initializing the backend...

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see any changes that are required for your infrastructure. All Terraform commands should now work.

If you ever set or change modules or backend configuration for Terraform, rerun this command to reinitialize your working directory. If you forget, other commands will detect it and remind you to do so if necessary.

kkadmin@Node1:~/terraform$ terraform apply ╷ │ Error: Failed to load plugin schemas │ │ Error while loading schemas for plugin components: Failed to obtain provider schema: Could not load the schema for provider │ registry.terraform.io/multani/libvirt: failed to instantiate provider "registry.terraform.io/multani/libvirt" to obtain schema: Unrecognized remote plugin │ message: │ │ This usually means that the plugin is either invalid or simply │ needs to be recompiled to support the latest protocol...

kkadmin@Node1:~/terraform$ terraform version Terraform v1.1.7 on linux_amd64

christrt9 commented 2 years ago

try this https://registry.terraform.io/providers/dmacvicar/libvirt/latest