https://github.com/ricardo-larosa/terraform-provider-hashicups-pf
Trainer for Terraform Plugin Framework
https://github.com/ricardo-larosa/terraform-provider-hashicups-pf
Last synced: 3 months ago
JSON representation
Trainer for Terraform Plugin Framework
- Host: GitHub
- URL: https://github.com/ricardo-larosa/terraform-provider-hashicups-pf
- Owner: ricardo-larosa
- Created: 2021-09-22T11:25:55.000Z (over 3 years ago)
- Default Branch: boilerplate
- Last Pushed: 2021-09-23T11:42:26.000Z (over 3 years ago)
- Last Synced: 2025-01-23T00:12:00.691Z (5 months ago)
- Language: Go
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Terraform Provider Hashicups
This repo is a companion repo to the [Call APIs with Terraform Providers](https://learn.hashicorp.com/collections/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.
## Build provider
Run the following command to build the provider
```shell
$ go build -o terraform-provider-hashicups
```## Test sample configuration
First, build and install the provider.
```shell
$ make install
```Then, navigate to the `examples` directory.
```shell
$ cd examples
```Run the following command to initialize the workspace and apply the sample configuration.
```shell
$ terraform init && terraform apply
```