Go to file
2022-07-12 22:32:18 +02:00
infra Adding a lot of stuff. 2022-07-12 22:32:18 +02:00
init-state Initial commit. 2022-07-01 14:12:11 +02:00
modules Adding a lot of stuff. 2022-07-12 22:32:18 +02:00
.gitignore Initial commit. 2022-07-01 14:12:11 +02:00
backend.tf Initial commit. 2022-07-01 14:12:11 +02:00
Makefile Initial commit. 2022-07-01 14:12:11 +02:00
README.md Initial commit. 2022-07-01 14:12:11 +02:00
terragrunt.hcl Initial commit. 2022-07-01 14:12:11 +02:00

avx-pmarie-aws-infra

Initialization

Run terraform into the init-state directory to create initial s3 & dynamodb.

Validate, plan & apply

There is a Makefile for this:

$ make validate
$ make plan
$ make apply

Extract EKS configuration

$ aws eks update-kubeconfig --name avx-pmarie-eks --region eu-west-3
$ kubectl config rename-context arn:aws:eks:eu-west-3:563042046245:cluster/avx-pmarie-eks avx-pmarie-eks

Notes

aws-auth

It can be required to import existing aws-auth configmap:

$ cd infra/eks-aws-auth
$ terragrunt import kubernetes_config_map.aws_auth kube-system/aws-auth
...