Skip to content

mhuaco/Tyk-Terraform-EDP

Repository files navigation

Terraform Deployment for Tyk Stack with Enterprise Portal

This repository contains Terraform configurations to deploy the Tyk Stack, including the Enterprise Portal, using Helm charts. The configuration is set up to run with Docker Desktop as the Kubernetes provider, allowing easy local testing and development.

Prerequisites

Before starting, ensure the following tools and setups are configured on your local machine:

  • Terraform: Download and install Terraform for your OS.
  • Helm: Install Helm to manage Kubernetes applications.
  • Docker Desktop: Ensure Docker Desktop is installed, with the Kubernetes feature enabled. This setup uses Docker Desktop’s Kubernetes cluster as the provider.
  • Tyk License: Update Tyk dashboard and EDP license in the values.yaml file.

Getting Started

1. Clone the Repository

Clone this repository to your local machine:

git clone https://github.com/mhuaco/Tyk-Terraform-EDP.git

cd Tyk-Terraform-EDP

2. Initialize Terraform

Run the following command to initialize the Terraform workspace. This will download the necessary provider plugins and set up the working directory for Terraform.

terraform init

3. Update values.yaml file with Tyk-dashboard and EDP license

4. Apply the Configuration

Use the following command to deploy the Tyk Stack and Enterprise Portal:

terraform apply

5. Verify the Deployment

You can check the status of your Tyk deployment by running:

kubectl get pods -n tyk

Bringing Down the Infrastructure

To bring down the deployed Tyk infrastructure, use the following command:

terraform destroy

Warning: terraform destroy will delete all infrastructure and associated data. Be sure to back up any important data before proceeding.

You will be prompted to confirm this action. Type yes to proceed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages