support/ docs/ terraform-provider-example

Terraform provider Any v0.2.0

terraform-provider-example

A custom provider for an internal API, written in Go with the Terraform Plugin Framework.

View source on GitHub ↗

Usage

terraform {
  required_providers {
    example = {
      source  = "gremlinltd/example"
      version = "~> 0.2"
    }
  }
}

provider "example" {
  endpoint = "https://api.example.com"
}

Requirements

Terraform>= 1.6
Go (to build)>= 1.22

Provider configuration

NameTypeDefaultDescription
endpoint string — Base URL of the API.
token string — API token. Can also be set with EXAMPLE_TOKEN.

Resources and data sources

example_projectResource: a project in the API.
example_projectsData source: list projects.

Changelog

0.2.0Adds the projects data source.
0.1.0First release.
Found a bug? Open an issue on the repository, or contact us.