# ls
README.md _variables.tf eks security-groups.tf terraform.tfstate terraform.tfstate.backup vpc.tf
# cat _variables.tf
terraform {
backend "s3" {
region = "eu-central-1"
profile = "devops"
bucket = "privacyscaling-tf-state"
key = "nt-eks.tfstate"
encrypt = "true"
}
}
locals {
vpc = {
name = "nt-eks"
cidr_prefix = "10.45"
}
}
# terraform init
# terraform apply
# cp eks/* .
# ls
README.md _variables.tf autoscaler.tf efs-csi.tf efs.tf eks eks-cluster.tf security-groups.tf terraform.tfstate terraform.tfstate.backup vpc.tf
# terraform init
# terraform apply