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.
ubuntu@terraform:~/go/src/github.com/HewlettPackard/terraform-provider-oneview$ terraform plan
Error: Failed to instantiate provider "oneview" to obtain schema: Incompatible API version with plugin. Plugin version: 4, Client versions: [5]
Need a help. I am getting below error messages
ubuntu@terraform:~/go/src/github.com/HewlettPackard/terraform-provider-oneview$ 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. ubuntu@terraform:~/go/src/github.com/HewlettPackard/terraform-provider-oneview$ terraform plan
Error: Failed to instantiate provider "oneview" to obtain schema: Incompatible API version with plugin. Plugin version: 4, Client versions: [5]
Terraform config file:
provider "oneview" { ov_username = "v191usradmin" ov_password = "xxxxx" ov_endpoint = "https://10.188.10.10" ov_sslverify = false ov_apiversion = 1200 ov_ifmatch = "*" }
resource "oneview_fc_network" "default" { name = "FC-SAN F01" type = "fc-networkV300" }
Environment: Oneview version : 5.0 Terraform version : 0.12 Ubuntu VM
Regards Soibam