No description
  • HCL 71.3%
  • Shell 20.5%
  • Go 3.5%
  • Smarty 2.6%
  • Makefile 1%
  • Other 1.1%
Find a file
oss-core-libraries-dashboard[bot] 086ebe4b71
[COMPLIANCE] Update Copyright and License Headers (#64)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2026-02-20 15:28:15 +05:30
.github Result of tsccr-helper -log-level=info -pin-all-workflows . 2023-09-12 07:40:42 +00:00
.vscode Initial commit 2021-05-18 11:07:54 +01:00
Consul Demo Add files via upload 2021-12-08 12:33:34 +00:00
Consul-Envoy-Windows-SM Update consul-server.yaml 2023-09-26 14:55:50 +01:00
consul-vms [COMPLIANCE] Update Copyright and License Headers (#64) 2026-02-20 15:28:15 +05:30
docs Initial commit 2021-05-18 11:07:54 +01:00
EKS Update eks-cluster.tf 2023-09-26 14:54:33 +01:00
EKS-TF Update eks-cluster.tf 2023-09-26 14:53:33 +01:00
examples Initial commit 2021-05-18 11:07:54 +01:00
hashicups_new Update README.md 2022-02-24 11:58:05 +00:00
internal/provider Initial commit 2021-05-18 11:07:54 +01:00
NIA F5 Demo Update admin-shadow.sh 2022-02-17 16:27:02 +00:00
nomad Update README.md 2024-02-13 15:16:36 +00:00
Peering Update config-dc6.yaml 2024-06-21 08:57:04 +01:00
SA-Tech Update README.md 2024-01-31 12:46:40 +00:00
Teraform-AWS-demostack Update Makefile 2021-06-02 13:39:45 +01:00
tools Initial commit 2021-05-18 11:07:54 +01:00
Vault&Consul Update 1-demoscript.md 2022-01-19 16:21:33 +00:00
.gitignore Initial commit 2021-05-18 11:07:54 +01:00
.goreleaser.yml Initial commit 2021-05-18 11:07:54 +01:00
CHANGELOG.md Initial commit 2021-05-18 11:07:54 +01:00
consul-policy-example-demo-main.zip Add files via upload 2021-12-08 12:27:32 +00:00
GNUmakefile Initial commit 2021-05-18 11:07:54 +01:00
go.mod Initial commit 2021-05-18 11:07:54 +01:00
go.sum Initial commit 2021-05-18 11:07:54 +01:00
LICENSE [COMPLIANCE] Update Copyright and License Headers (#64) 2026-02-20 15:28:15 +05:30
main.go Initial commit 2021-05-18 11:07:54 +01:00
README.md Initial commit 2021-05-18 11:07:54 +01:00
SA-Tech-Training-test Create SA-Tech-Training-test 2024-01-25 11:58:03 +00:00

Terraform Provider Scaffolding

This repository is a template for a Terraform provider. It is intended as a starting point for creating Terraform providers, containing:

  • A resource, and a data source (internal/provider/),
  • Examples (examples/) and generated documentation (docs/),
  • Miscellaneous meta files.

These files contain boilerplate code that you will need to edit to create your own Terraform provider. A full guide to creating Terraform providers can be found at Writing Custom Providers.

Please see the GitHub template repository documentation for how to create a new repository from this template on GitHub.

Once you've written your provider, you'll want to publish it on the Terraform Registry so that others can use it.

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

Fill this in for each provider

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

To generate or update documentation, run go generate.

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc