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
31 lines
1.3 KiB
Modula-2
31 lines
1.3 KiB
Modula-2
module git.unkin.net/unkin/terraform-provider-kea
|
|
|
|
go 1.25.9
|
|
|
|
require github.com/hashicorp/terraform-plugin-framework v1.15.0
|
|
|
|
require (
|
|
github.com/fatih/color v1.13.0 // indirect
|
|
github.com/golang/protobuf v1.5.4 // indirect
|
|
github.com/hashicorp/go-hclog v1.5.0 // indirect
|
|
github.com/hashicorp/go-plugin v1.6.3 // indirect
|
|
github.com/hashicorp/go-uuid v1.0.3 // indirect
|
|
github.com/hashicorp/terraform-plugin-go v0.27.0 // indirect
|
|
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
|
|
github.com/hashicorp/terraform-registry-address v0.2.5 // indirect
|
|
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
|
|
github.com/hashicorp/yamux v0.1.1 // indirect
|
|
github.com/mattn/go-colorable v0.1.12 // indirect
|
|
github.com/mattn/go-isatty v0.0.17 // indirect
|
|
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
|
|
github.com/oklog/run v1.0.0 // indirect
|
|
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
|
|
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
|
|
golang.org/x/net v0.39.0 // indirect
|
|
golang.org/x/sys v0.32.0 // indirect
|
|
golang.org/x/text v0.24.0 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a // indirect
|
|
google.golang.org/grpc v1.72.1 // indirect
|
|
google.golang.org/protobuf v1.36.6 // indirect
|
|
)
|