Terraform is used for configuring Kong API Gateway. for Kong installation see ansible-playbook.
Update the kong_admin_url
variable and run the following commands.
cd kong
terraform init
terraform plan
Route for VMs and Kubernetes services are in the kong/routes
directory. simply update the route file and run terraform apply
.
Certificates are stored in the kong/certificates
directory. put the certificate and key file in the directory and run terraform apply
.
Update the grafana variable ( url, datasource ) and run the following commands.
cd grafana
terraform init
terraform plan