This repo is a companion repo to the Call APIs with Terraform Providers Learn collection.
In the collection, you will use the HashiCups provider as a bridge between Terraform and the HashiCups API. Then, extend Terraform by recreating the HashiCups provider. By the end of this collection, you will be able to take these intuitions to create your own custom Terraform provider.
Run the following command to build the provider
$ go build -o terraform-provider-hashicupsFirst, build and install the provider.
$ make installThen, navigate to the examples directory.
$ cd examplesRun the following command to initialize the workspace and apply the sample configuration.
$ terraform init && terraform apply