This project automates the setup of a Konnect Control plane and a docker data plane using Terraform.
Before you begin, ensure you have the following installed:
- Docker
- Terraform
Additionally, you will need a personal access token from Konnect.
Set up your environment variables with your Konnect credentials and the API endpoint:
-
Personal Access Token
export TF_VAR_KONNECT_PAT="<PAT_HERE>"
-
Konnect API Endpoint
export TF_VAR_KONNECT_API="<API_HERE>"
export TF_VAR_KONNECT_API="https://us.api.konghq.com"
To deploy your infrastructure, follow these steps:
Run the following script to destroy the deployment:
./deploy.sh
Run the following script to start the deployment:
./destroy.sh