forked from jnibrahim/tf-eks-fargate-tmpl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
39 lines (32 loc) · 1.49 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
variable "name" {
description = "the name of your stack, e.g. \"demo\""
default = "eks-demo"
}
variable "environment" {
description = "the name of your environment, e.g. \"prod\""
default = "prod"
}
variable "region" {
description = "the AWS region in which resources are created, you must set the availability_zones variable as well if you define this value to something other than the default"
default = "eu-west-1"
}
variable "availability_zones" {
description = "a comma-separated list of availability zones, defaults to all AZ of the region, if set to something other than the defaults, both private_subnets and public_subnets have to be defined as well"
default = ["eu-west-1a", "eu-west-1b", "eu-west-1c"]
}
variable "cidr" {
description = "The CIDR block for the VPC."
default = "10.0.0.0/16"
}
variable "private_subnets" {
description = "a list of CIDRs for private subnets in your VPC, must be set if the cidr variable is defined, needs to have as many elements as there are availability zones"
default = ["10.0.0.0/20", "10.0.32.0/20", "10.0.64.0/20"]
}
variable "public_subnets" {
description = "a list of CIDRs for public subnets in your VPC, must be set if the cidr variable is defined, needs to have as many elements as there are availability zones"
default = ["10.0.16.0/20", "10.0.48.0/20", "10.0.80.0/20"]
}
variable "kubeconfig_path" {
description = "Path where the config file for kubectl should be written to"
default = "~/.kube"
}