This is a custom provider for adding to KMI
- Clone the repository
- Enter the repository directory
- Build the provider using the Go
install
command:
go install .
- create a
~/.terraformrc
provider_installation {
dev_overrides {
"registry.terraform.io/akamai/kmi" = "/Users/hachandr/go/bin"
}
# For all other providers, install them directly from their origin provider
# registries as normal. If you omit this, Terraform will _only_ use
# the dev_overrides block, and so no other providers will be available.
direct {}
}
- check out example terraform config for how to use it with Linode provider
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
.