Skip to content

satish-chinthanippu/terraform-provider-hashicups

Repository files navigation

Terraform Provider for HashiCups API

Overview

The Terraform provider for HashiCups API allows you to manage and interact with HashiCups resources using Terraform. This provider supports managing coffee and order resources.

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:
go install

Adding Dependencies

This provider uses Go modules. Please see the Go documentation for the most up to date information about using Go modules.

To add a new dependency github.com/author/dependency to your Terraform provider:

go get github.com/author/dependency
go mod tidy

Then commit the changes to go.mod and go.sum.

Using the provider

Create or update your main.tf file with the following configuration:

terraform {
required_providers {
 hashicups = {
   source = "hashicorp.com/edu/hashicups"
 }
}
required_version = ">= 1.1.0"
}

provider "hashicups" {
username = "username"
password = "password"
host     = "http://localhost:19090"
}

About

Terraform Custom Provider based on Hashicups API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published