Terraform Provider for Appgate SDP

Version compatibility

Our goal is to always support the latest stable release of Appgate.

The current version of the master branch supports Appgate appliance API version 15.

for more documentation about version compatibility, see the terraform documentation.

Requirements

  • Terraform v0.12.26
  • Go 1.16 (to build the provider plugin)

Building the provider

$ make build

Using the provider

Detailed documentation for the Appgate provider can be found in the docs directory, here.

Examples how to deploy Appgate to cloud platforms can be found here.

Testing the provider

$ make test

Example how to run acceptance test on an existing appgate environment.

APPGATE_ADDRESS="https://envy-10-97-168-40.devops:444/admin" \
APPGATE_USERNAME="admin" \
APPGATE_PASSWORD="admin" \
make testacc

test 1 acceptance test, for example

TF_ACC=1 \
APPGATE_ADDRESS="https://ec2-54-80-224-21.compute-1.amazonaws.com:444/admin" \
APPGATE_USERNAME="admin" \
APPGATE_PASSWORD="admin" \
go test -v -timeout 120m github.com/appgate/terraform-provider-appgatesdp/appgate -run '^(TestAccApplianceBasicController)$'