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 with name terraform-state
.
cd live/vms/kubernetes-servers
terragrunt apply
Create token in Github:
- Use link: https://github.com/settings/tokens
- Generate new token
- Set token in
live/egorka/flux/terragrunt.hcl
=>github_token = "TOKEN"
cd live/prod
terragrunt run-all plan
cd live/prod/cilium
terragrunt apply