A template Terraform provider. It ships an empty provider configuration, a retrying HTTP client, and no resources or data sources yet. It builds, lints, and tests green out of the box, and is meant to be copied, not used directly.
Resources are added one at a time, as they are needed. This template exists so a new provider repository starts from working tooling (mise tasks, CI, release automation, linting) instead of from a blank directory.
provider "example" {}None yet.
To start a new provider from this template:
- Create the new repository from this template.
- Rename
exampleto the new provider's name everywhere it appears: the Go module path ingo.modand every import of it, the registry address inmain.go, the provider type name and schema description ininternal/provider/provider.go, theprovider-namepassed totfplugindocsinmise.toml,package-namein.github/release-please-config.json, the example inexamples/provider/provider.tf, and every mention ofterraform-provider-examplein this file,CONTRIBUTING.md, andAGENTS.md. - Update
.github/terraform-registry.json'scategoryto whatever best describes the new provider in the Terraform Registry. - Replace this README's description, the provider configuration example, and the "Resources" section as resources are added.
- Run
mise trust && mise run buildand confirm it is still green before the first commit.
See CONTRIBUTING.md for the development setup, test workflow, and release process.