andreee94 / terraform-provider-warpgate

A terraform provider for Warpgate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A terraform provider for Warpgate

License:MIT License


Languages

Language:Go 97.2%Language:Makefile 2.3%Language:Shell 0.5%