Add terraform-provider-kea #1

Merged
benvin merged 1 commits from benvin/initial into main 2026-08-02 20:09:33 +10:00
Owner

Terraform/OpenTofu provider wrapping the kea-operator KeaAPI, modelled on terraform-provider-encapi.

  • add kea_subnet and kea_clientclass resources with full CRUD over the KeaAPI REST contract
  • add provider config (endpoint + bearer token, KEA_API_TOKEN fallback); 404 on read drops the resource from state
  • add unit tests against httptest mocks (client, wire round-trip, conversions, schemas)
  • add Makefile (patch|minor|major + package) and .woodpecker CI mirroring terraform-provider-encapi; tag release PUTs the zip to the artifactapi terraform-unkin registry under unkin/kea

https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT

Terraform/OpenTofu provider wrapping the kea-operator KeaAPI, modelled on terraform-provider-encapi. - add kea_subnet and kea_clientclass resources with full CRUD over the KeaAPI REST contract - add provider config (endpoint + bearer token, KEA_API_TOKEN fallback); 404 on read drops the resource from state - add unit tests against httptest mocks (client, wire round-trip, conversions, schemas) - add Makefile (patch|minor|major + package) and .woodpecker CI mirroring terraform-provider-encapi; tag release PUTs the zip to the artifactapi terraform-unkin registry under unkin/kea https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
unkinben added 1 commit 2026-08-02 19:40:57 +10:00
Add terraform-provider-kea
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
7c851b8df5
Terraform/OpenTofu provider wrapping the kea-operator KeaAPI, modelled on
terraform-provider-encapi.

- add kea_subnet and kea_clientclass resources with full CRUD over the
  PUT/GET/DELETE /api/v1/{subnets,clientclasses}/{name} contract
- add provider config (endpoint + bearer token, KEA_API_TOKEN fallback);
  404 on read removes the resource from state
- add unit tests against httptest mock servers (client, wire round-trip,
  type conversions, schemas)
- add Makefile (patch|minor|major + package) and .woodpecker CI mirroring
  terraform-provider-encapi; tag release PUTs the zip to the artifactapi
  terraform-unkin registry under unkin/kea

Claude-Session: https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT
benvin merged commit 9ae0bd35cb into main 2026-08-02 20:09:33 +10:00
benvin deleted branch benvin/initial 2026-08-02 20:09:33 +10:00
Sign in to join this conversation.