From 1894839e8c38ba9d8febb0d5f5dcc0b1a3052690 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Tue, 17 Nov 2026 06:27:06 +1100 Subject: [PATCH 1/3] Move module to github.com/IUCLabs and neutralise schema text --- Makefile | 7 +++++-- go.mod | 2 +- internal/provider/models.go | 2 +- internal/provider/provider.go | 4 ++-- internal/provider/resource_status.go | 2 +- main.go | 6 ++++-- 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 03a1a10..884e6cc 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ -.PHONY: build install test lint fmt clean tidy package patch minor major +.PHONY: build install test lint fmt clean tidy package docs patch minor major BINARY := terraform-provider-encapi VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo "0.0.0-dev") OS_ARCH := linux_amd64 INSTALL_VERSION := $(shell echo $(VERSION) | sed 's/^v//') -INSTALL_DIR := ~/.terraform.d/plugins/git.unkin.net/unkin/encapi/$(INSTALL_VERSION)/$(OS_ARCH) +INSTALL_DIR := ~/.terraform.d/plugins/registry.terraform.io/iuclabs/encapi/$(INSTALL_VERSION)/$(OS_ARCH) ZIP := $(BINARY)_$(INSTALL_VERSION)_$(OS_ARCH).zip GO_VERSION_REQUIRED := 1.23 @@ -39,6 +39,9 @@ package: build clean: rm -f $(BINARY) *.zip +docs: + go generate ./... + tidy: go mod tidy diff --git a/go.mod b/go.mod index 624ddcf..d7ff455 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.unkin.net/unkin/terraform-provider-encapi +module github.com/IUCLabs/terraform-provider-encapi go 1.25.9 diff --git a/internal/provider/models.go b/internal/provider/models.go index 51cec25..17f0105 100644 --- a/internal/provider/models.go +++ b/internal/provider/models.go @@ -1,6 +1,6 @@ package provider -// API wire types, mirroring git.unkin.net/unkin/encapi/pkg/models. They are +// API wire types, mirroring the encapi API models. They are // duplicated here to keep the provider's dependency surface small. type roleAPI struct { diff --git a/internal/provider/provider.go b/internal/provider/provider.go index aa8e1e9..de9b2bd 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -39,11 +39,11 @@ func (p *encapiProvider) Schema(_ context.Context, _ provider.SchemaRequest, res Description: "Manage the Puppet External Node Classifier (encapi): roles, statuses (environments), and node role assignments.", Attributes: map[string]schema.Attribute{ "endpoint": schema.StringAttribute{ - Description: "The encapi server base URL (e.g. https://encapi.k8s.syd1.au.unkin.net).", + Description: "The encapi server base URL, e.g. `https://encapi.example.com`.", Required: true, }, "token": schema.StringAttribute{ - Description: "Write token (bearer) for mutating operations. Defaults to the ENCAPI_WRITE_TOKEN environment variable.", + Description: "Write token (bearer) for mutating operations. Defaults to the `ENCAPI_WRITE_TOKEN` environment variable.", Optional: true, Sensitive: true, }, diff --git a/internal/provider/resource_status.go b/internal/provider/resource_status.go index 81c95f3..9752924 100644 --- a/internal/provider/resource_status.go +++ b/internal/provider/resource_status.go @@ -37,7 +37,7 @@ func (r *statusResource) Metadata(_ context.Context, req resource.MetadataReques func (r *statusResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) { resp.Schema = schema.Schema{ - Description: "A Puppet environment (Cobbler \"status\", e.g. testing, production, development). Nodes may only reference a status that exists.", + Description: "A Puppet environment, referred to as a status (e.g. testing, production, development). Nodes may only reference a status that exists.", Attributes: map[string]schema.Attribute{ "name": schema.StringAttribute{ Description: "Status/environment name.", diff --git a/main.go b/main.go index 7db0bf4..88f7708 100644 --- a/main.go +++ b/main.go @@ -3,6 +3,8 @@ // role assignments. package main +//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@v0.24.0 generate --provider-name encapi + import ( "context" "flag" @@ -10,7 +12,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/providerserver" - "git.unkin.net/unkin/terraform-provider-encapi/internal/provider" + "github.com/IUCLabs/terraform-provider-encapi/internal/provider" ) var version = "0.0.1" @@ -21,7 +23,7 @@ func main() { flag.Parse() opts := providerserver.ServeOpts{ - Address: "git.unkin.net/unkin/encapi", + Address: "registry.terraform.io/iuclabs/encapi", Debug: debug, } -- 2.47.3 From 590daf2e5c09f55c5eb25555466e1dacfcea81a0 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Tue, 17 Nov 2026 06:27:06 +1100 Subject: [PATCH 2/3] Add Registry docs generated by tfplugindocs --- docs/data-sources/node.md | 40 +++++++++ docs/data-sources/role.md | 35 ++++++++ docs/index.md | 38 +++++++++ docs/resources/node.md | 50 +++++++++++ docs/resources/role.md | 51 ++++++++++++ docs/resources/status.md | 52 ++++++++++++ .../encapi_node/{main.tf => data-source.tf} | 2 +- .../data-sources/encapi_role/data-source.tf | 7 ++ examples/main.tf | 82 ------------------- examples/provider/provider.tf | 12 +++ examples/resources/encapi_node/import.sh | 2 + .../encapi_node/{main.tf => resource.tf} | 2 +- examples/resources/encapi_role/import.sh | 2 + .../encapi_role/{main.tf => resource.tf} | 0 examples/resources/encapi_status/import.sh | 2 + .../encapi_status/{main.tf => resource.tf} | 2 +- 16 files changed, 294 insertions(+), 85 deletions(-) create mode 100644 docs/data-sources/node.md create mode 100644 docs/data-sources/role.md create mode 100644 docs/index.md create mode 100644 docs/resources/node.md create mode 100644 docs/resources/role.md create mode 100644 docs/resources/status.md rename examples/data-sources/encapi_node/{main.tf => data-source.tf} (78%) create mode 100644 examples/data-sources/encapi_role/data-source.tf delete mode 100644 examples/main.tf create mode 100644 examples/provider/provider.tf create mode 100644 examples/resources/encapi_node/import.sh rename examples/resources/encapi_node/{main.tf => resource.tf} (83%) create mode 100644 examples/resources/encapi_role/import.sh rename examples/resources/encapi_role/{main.tf => resource.tf} (100%) create mode 100644 examples/resources/encapi_status/import.sh rename examples/resources/encapi_status/{main.tf => resource.tf} (79%) diff --git a/docs/data-sources/node.md b/docs/data-sources/node.md new file mode 100644 index 0000000..3d98e5c --- /dev/null +++ b/docs/data-sources/node.md @@ -0,0 +1,40 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "encapi_node Data Source - encapi" +subcategory: "" +description: |- + Looks up the role/environment/params assigned to a Puppet node. +--- + +# encapi_node (Data Source) + +Looks up the role/environment/params assigned to a Puppet node. + +## Example Usage + +```terraform +data "encapi_node" "web0" { + certname = "node01.example.com" +} + +output "web0_role" { + value = data.encapi_node.web0.role +} + +output "web0_environment" { + value = data.encapi_node.web0.environment +} +``` + + +## Schema + +### Required + +- `certname` (String) Puppet certname (fqdn). + +### Read-Only + +- `environment` (String) Assigned environment/status. +- `params` (String) Per-node params as JSON. +- `role` (String) Assigned role. diff --git a/docs/data-sources/role.md b/docs/data-sources/role.md new file mode 100644 index 0000000..9b155ea --- /dev/null +++ b/docs/data-sources/role.md @@ -0,0 +1,35 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "encapi_role Data Source - encapi" +subcategory: "" +description: |- + Looks up a role and its inheritable default params. +--- + +# encapi_role (Data Source) + +Looks up a role and its inheritable default params. + +## Example Usage + +```terraform +data "encapi_role" "vault" { + name = "roles::infra::storage::vault" +} + +output "vault_default_params" { + value = jsondecode(data.encapi_role.vault.default_params) +} +``` + + +## Schema + +### Required + +- `name` (String) Role/class name. + +### Read-Only + +- `default_params` (String) Default params as JSON. +- `description` (String) Description. diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..80ae3d8 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,38 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "encapi Provider" +description: |- + Manage the Puppet External Node Classifier (encapi): roles, statuses (environments), and node role assignments. +--- + +# encapi Provider + +Manage the Puppet External Node Classifier (encapi): roles, statuses (environments), and node role assignments. + +## Example Usage + +```terraform +terraform { + required_providers { + encapi = { + source = "IUCLabs/encapi" + } + } +} + +provider "encapi" { + endpoint = "https://encapi.example.com" + # token defaults to the ENCAPI_WRITE_TOKEN environment variable +} +``` + + +## Schema + +### Required + +- `endpoint` (String) The encapi server base URL, e.g. `https://encapi.example.com`. + +### Optional + +- `token` (String, Sensitive) Write token (bearer) for mutating operations. Defaults to the `ENCAPI_WRITE_TOKEN` environment variable. diff --git a/docs/resources/node.md b/docs/resources/node.md new file mode 100644 index 0000000..a1999c6 --- /dev/null +++ b/docs/resources/node.md @@ -0,0 +1,50 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "encapi_node Resource - encapi" +subcategory: "" +description: |- + Assigns a Puppet node (by certname) to a role and environment, with optional per-node parameter overrides. +--- + +# encapi_node (Resource) + +Assigns a Puppet node (by certname) to a role and environment, with optional per-node parameter overrides. + +## Example Usage + +```terraform +resource "encapi_node" "example" { + certname = "node01.example.com" + role = "roles::infra::storage::vault" + environment = "testing" + + # Optional per-node overrides (win over the role's default_params). + params = jsonencode({ + vault_role = "leader" + }) +} +``` + + +## Schema + +### Required + +- `certname` (String) Puppet certname (fqdn) of the host. +- `environment` (String) Environment/status. Must reference an existing encapi_status. +- `role` (String) Role/class to assign. Must reference an existing encapi_role. + +### Optional + +- `params` (String) Per-node parameter overrides as a JSON object. Use jsonencode({...}) to preserve value types. These override the role's default_params. + +## Import + +Import is supported using the following syntax: + +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + +```shell +# Import by certname. +terraform import encapi_node.example node01.example.com +``` diff --git a/docs/resources/role.md b/docs/resources/role.md new file mode 100644 index 0000000..d8339de --- /dev/null +++ b/docs/resources/role.md @@ -0,0 +1,51 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "encapi_role Resource - encapi" +subcategory: "" +description: |- + A Puppet class assignment target (e.g. roles::infra::storage::vault) with inheritable default parameters. +--- + +# encapi_role (Resource) + +A Puppet class assignment target (e.g. roles::infra::storage::vault) with inheritable default parameters. + +## Example Usage + +```terraform +resource "encapi_role" "minio" { + name = "roles::infra::storage::minio" + description = "MinIO object storage node" + + # Inheritable defaults, merged into every node with this role. + # Use jsonencode so numbers/bools keep their type in the ENC output. + default_params = jsonencode({ + minio_pool = "pool1" + replicas = 4 + tls = true + }) +} +``` + + +## Schema + +### Required + +- `name` (String) Fully-qualified role/class name, e.g. roles::infra::storage::vault. + +### Optional + +- `default_params` (String) Inheritable default parameters as a JSON object. Use jsonencode({...}) to preserve value types. Merged into every node carrying this role; node params win on collisions. +- `description` (String) Human-readable description. + +## Import + +Import is supported using the following syntax: + +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + +```shell +# Import by role name. +terraform import encapi_role.minio roles::infra::storage::minio +``` diff --git a/docs/resources/status.md b/docs/resources/status.md new file mode 100644 index 0000000..99885ee --- /dev/null +++ b/docs/resources/status.md @@ -0,0 +1,52 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "encapi_status Resource - encapi" +subcategory: "" +description: |- + A Puppet environment, referred to as a status (e.g. testing, production, development). Nodes may only reference a status that exists. +--- + +# encapi_status (Resource) + +A Puppet environment, referred to as a status (e.g. testing, production, development). Nodes may only reference a status that exists. + +## Example Usage + +```terraform +# Statuses map to Puppet environments. Define as many as you need; +# a node can only be pinned to one that exists. +resource "encapi_status" "testing" { + name = "testing" +} + +resource "encapi_status" "production" { + name = "production" + description = "Production environment" +} + +resource "encapi_status" "development" { + name = "development" +} +``` + + +## Schema + +### Required + +- `name` (String) Status/environment name. + +### Optional + +- `description` (String) Human-readable description. + +## Import + +Import is supported using the following syntax: + +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: + +```shell +# Import by status name. +terraform import encapi_status.production production +``` diff --git a/examples/data-sources/encapi_node/main.tf b/examples/data-sources/encapi_node/data-source.tf similarity index 78% rename from examples/data-sources/encapi_node/main.tf rename to examples/data-sources/encapi_node/data-source.tf index f636c4c..686f077 100644 --- a/examples/data-sources/encapi_node/main.tf +++ b/examples/data-sources/encapi_node/data-source.tf @@ -1,5 +1,5 @@ data "encapi_node" "web0" { - certname = "ausyd1nxvm2000.main.unkin.net" + certname = "node01.example.com" } output "web0_role" { diff --git a/examples/data-sources/encapi_role/data-source.tf b/examples/data-sources/encapi_role/data-source.tf new file mode 100644 index 0000000..b30150e --- /dev/null +++ b/examples/data-sources/encapi_role/data-source.tf @@ -0,0 +1,7 @@ +data "encapi_role" "vault" { + name = "roles::infra::storage::vault" +} + +output "vault_default_params" { + value = jsondecode(data.encapi_role.vault.default_params) +} diff --git a/examples/main.tf b/examples/main.tf deleted file mode 100644 index 99aed49..0000000 --- a/examples/main.tf +++ /dev/null @@ -1,82 +0,0 @@ -terraform { - required_providers { - encapi = { - source = "git.unkin.net/unkin/encapi" - version = "0.0.1" - } - } -} - -provider "encapi" { - endpoint = "https://encapi.k8s.syd1.au.unkin.net" - # token defaults to the ENCAPI_WRITE_TOKEN environment variable -} - -# --------------------------------------------------------------------------- -# Statuses (Puppet environments / Cobbler "status") -# --------------------------------------------------------------------------- - -resource "encapi_status" "testing" { - name = "testing" - description = "Implicit environment; dropped from ENC output so agents use their default." -} - -resource "encapi_status" "production" { - name = "production" -} - -resource "encapi_status" "development" { - name = "development" -} - -# --------------------------------------------------------------------------- -# Roles, with inheritable default params (use jsonencode to keep value types) -# --------------------------------------------------------------------------- - -resource "encapi_role" "vault" { - name = "roles::infra::storage::vault" - description = "HashiCorp Vault cluster member" -} - -resource "encapi_role" "minio" { - name = "roles::infra::storage::minio" - description = "MinIO object storage node" - - default_params = jsonencode({ - minio_pool = "pool1" - replicas = 4 - }) -} - -# --------------------------------------------------------------------------- -# Node assignments -# --------------------------------------------------------------------------- - -resource "encapi_node" "vault0" { - certname = "ausyd1nxvm2000.main.unkin.net" - role = encapi_role.vault.name - environment = encapi_status.testing.name -} - -resource "encapi_node" "minio0" { - certname = "ausyd1nxvm2100.main.unkin.net" - role = encapi_role.minio.name - environment = encapi_status.production.name - - # per-node override of the role default - params = jsonencode({ - minio_pool = "pool2" - }) -} - -# --------------------------------------------------------------------------- -# Data sources -# --------------------------------------------------------------------------- - -data "encapi_node" "vault0" { - certname = encapi_node.vault0.certname -} - -output "vault0_role" { - value = data.encapi_node.vault0.role -} diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf new file mode 100644 index 0000000..4462898 --- /dev/null +++ b/examples/provider/provider.tf @@ -0,0 +1,12 @@ +terraform { + required_providers { + encapi = { + source = "IUCLabs/encapi" + } + } +} + +provider "encapi" { + endpoint = "https://encapi.example.com" + # token defaults to the ENCAPI_WRITE_TOKEN environment variable +} diff --git a/examples/resources/encapi_node/import.sh b/examples/resources/encapi_node/import.sh new file mode 100644 index 0000000..29319d7 --- /dev/null +++ b/examples/resources/encapi_node/import.sh @@ -0,0 +1,2 @@ +# Import by certname. +terraform import encapi_node.example node01.example.com diff --git a/examples/resources/encapi_node/main.tf b/examples/resources/encapi_node/resource.tf similarity index 83% rename from examples/resources/encapi_node/main.tf rename to examples/resources/encapi_node/resource.tf index 7ed2668..e77c829 100644 --- a/examples/resources/encapi_node/main.tf +++ b/examples/resources/encapi_node/resource.tf @@ -1,5 +1,5 @@ resource "encapi_node" "example" { - certname = "ausyd1nxvm2000.main.unkin.net" + certname = "node01.example.com" role = "roles::infra::storage::vault" environment = "testing" diff --git a/examples/resources/encapi_role/import.sh b/examples/resources/encapi_role/import.sh new file mode 100644 index 0000000..1064117 --- /dev/null +++ b/examples/resources/encapi_role/import.sh @@ -0,0 +1,2 @@ +# Import by role name. +terraform import encapi_role.minio roles::infra::storage::minio diff --git a/examples/resources/encapi_role/main.tf b/examples/resources/encapi_role/resource.tf similarity index 100% rename from examples/resources/encapi_role/main.tf rename to examples/resources/encapi_role/resource.tf diff --git a/examples/resources/encapi_status/import.sh b/examples/resources/encapi_status/import.sh new file mode 100644 index 0000000..4005fc3 --- /dev/null +++ b/examples/resources/encapi_status/import.sh @@ -0,0 +1,2 @@ +# Import by status name. +terraform import encapi_status.production production diff --git a/examples/resources/encapi_status/main.tf b/examples/resources/encapi_status/resource.tf similarity index 79% rename from examples/resources/encapi_status/main.tf rename to examples/resources/encapi_status/resource.tf index 7183384..161e98e 100644 --- a/examples/resources/encapi_status/main.tf +++ b/examples/resources/encapi_status/resource.tf @@ -1,4 +1,4 @@ -# Statuses map to Puppet environments. Define as many as your estate uses; +# Statuses map to Puppet environments. Define as many as you need; # a node can only be pinned to one that exists. resource "encapi_status" "testing" { name = "testing" -- 2.47.3 From 5ce84232eaf10e8534bda7e957b192eb6a440dda Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Tue, 17 Nov 2026 06:27:06 +1100 Subject: [PATCH 3/3] Rewrite README and add MIT license --- LICENSE | 21 +++++++++++++++ README.md | 78 ++++++++++++++++++++++++++----------------------------- 2 files changed, 58 insertions(+), 41 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..83ee371 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 IUCLabs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 992352c..6ab3779 100644 --- a/README.md +++ b/README.md @@ -1,65 +1,61 @@ -# terraform-provider-encapi +# Terraform Provider encapi -Terraform / OpenTofu provider for [encapi](https://git.unkin.net/unkin/encapi), -the Puppet External Node Classifier that replaces Cobbler. +The encapi provider manages a Puppet External Node Classifier (ENC) served by +encapi: Puppet environments (statuses), roles with inheritable default +parameters, and per-node role assignments. It works with Terraform and OpenTofu. -It manages three resources and two data sources over the encapi HTTP API. - -## Provider configuration +## Quick start ```hcl terraform { required_providers { encapi = { - source = "git.unkin.net/unkin/encapi" - version = "0.0.1" + source = "IUCLabs/encapi" } } } provider "encapi" { - endpoint = "https://encapi.k8s.syd1.au.unkin.net" - # token = "..." # defaults to $ENCAPI_WRITE_TOKEN + endpoint = "https://encapi.example.com" + # token defaults to the ENCAPI_WRITE_TOKEN environment variable +} + +resource "encapi_status" "production" { + name = "production" +} + +resource "encapi_role" "web" { + name = "roles::web" + default_params = jsonencode({ port = 8080 }) +} + +resource "encapi_node" "web01" { + certname = "web01.example.com" + role = encapi_role.web.name + environment = encapi_status.production.name } ``` -Reads are unauthenticated; writes require the token. Set it out-of-band via the -`ENCAPI_WRITE_TOKEN` environment variable (managed in Vault) rather than in HCL. +Reads are unauthenticated; writes need the bearer token. -## Resources +## Requirements -| Resource | Purpose | -|------------------|----------------------------------------------------------------| -| `encapi_status` | A Puppet environment (Cobbler "status"): testing, production… | -| `encapi_role` | A class assignment target with inheritable `default_params`. | -| `encapi_node` | Assigns a host (certname) to a role + environment, with `params`. | +- [Terraform](https://developer.hashicorp.com/terraform/downloads) >= 1.0 or [OpenTofu](https://opentofu.org) >= 1.6 +- [Go](https://go.dev/doc/install) >= 1.25 (to build the provider) -## Data sources +## Building -| Data source | Purpose | -|------------------|------------------------------------------| -| `encapi_node` | Look up a node's role/environment/params. | -| `encapi_role` | Look up a role and its default params. | - -## Parameters - -`default_params` (role) and `params` (node) are JSON-object strings. Use -`jsonencode({...})` so numbers, bools, lists, and nested objects keep their -types in the rendered ENC document: - -```hcl -resource "encapi_role" "minio" { - name = "roles::infra::storage::minio" - default_params = jsonencode({ minio_pool = "pool1", replicas = 4, tls = true }) -} +```sh +make build # or: go build +make test +make docs # regenerate docs/ from the schema and examples/ ``` -Node `params` override the role's `default_params` on key collisions. +## Documentation -## Releases +See [`docs/`](docs/index.md) for the provider, resource and data source +reference, and [`examples/`](examples/) for usage. -Tagging `vX.Y.Z` builds `terraform-provider-encapi_X.Y.Z_linux_amd64.zip` and -uploads it to the ArtifactAPI Terraform registry (`terraform-unkin` remote, -namespace `unkin/encapi`), which serves it as a GPG-signed provider registry. +## License -See `examples/` for full usage. +[MIT](LICENSE) -- 2.47.3