/terragrunt_lab

For own scripts

Primary LanguageHCL

Backend S3 Minio

Run S3 Minio

Run S3 Minio Server for terraform state, docker-compose.yaml:

version: '3.7'

services:
  minio:
    image: minio/minio
    ports:
      - "9000:9000"
      - "9001:9001"
    volumes:
      - minio_storage:/data
    environment:
      MINIO_ROOT_USER: minioadmin
      MINIO_ROOT_PASSWORD: minioadmin
    command: server --console-address ":9001" /data

volumes:
  minio_storage: {}

Create Bucket

Create bucket with name terraform-state.

Create Virtual Machines Services

Kubernetes VM

cd live/vms/kubernetes-servers
terragrunt apply

Prepare for Terragrunt

Get GitHub Token

Create token in Github:

Deploy

cd live/prod
terragrunt run-all plan

Run only one project

cd live/prod/cilium
terragrunt apply