Skip to content

andreee94/terraform-provider-warpgate

Repository files navigation

terraform-provider-warpgate

An unofficial terraform provider for Warpgate

Notes

The client for the warpgate api is automatically generated with
oapi-codegen from the openapi specs at https://raw.githubusercontent.com/warp-tech/warpgate/main/warpgate-web/src/admin/lib/openapi-schema.json

Unfortunately the specification uses uint8 which are interpreted as base64 encoded string.

To solve this issue uint8 are converted to uint16 when generating the golang client.

To regenerate the client run the command:

make gen-warpgate

Testing

To perform the acceptance test run the command:

sudo make testacc

It will setup warpgate in unattended mode, run the container and perform the test against it.

Docker is required