I was trying to build a custom Terraform provider by following the tutorial on this site:
https://www.terraform.io/docs/extend/writing-custom-providers.html
I executed terraform init
and that went well.
However, executing terraform plan
gives the following error:
Error: Failed to instantiate provider "example" to obtain schema: exec: "C:\Users\myname\go\src\terraform-provider-example\terraform-provider-example": file does not exist
The terraform-provider-example file is present in the working directory where i am executing terraform plan
Has anyone faced this issue? Please help!