add terraform config files

This commit is contained in:
Nana Janashia
2020-12-20 13:28:58 +01:00
parent 70fb6f1f11
commit 6566e1b821
6 changed files with 237 additions and 0 deletions

27
terraform/variables.tf Normal file
View File

@@ -0,0 +1,27 @@
variable env_prefix {
default = "dev"
}
variable region {
default = "eu-west-3"
}
variable vpc_cidr_block {
default = "10.0.0.0/16"
}
variable private_subnet_cidr_blocks {
default = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
}
variable public_subnet_cidr_blocks {
default = ["10.0.4.0/24", "10.0.5.0/24", "10.0.6.0/24"]
}
variable k8s_version {
default = "1.17"
}
variable cluster_name {
default = "myapp-eks-cluster"
}