-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
49 lines (42 loc) · 1.34 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
40
41
42
43
44
45
46
47
48
49
# variable "aws_access_key" {
# description = "AWS access key"
# type = string
# }
# variable "aws_secret_key" {
# description = "AWS secret key"
# type = string
# }
variable "region" {
description = "The aws region. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html"
type = string
default = "eu-central-1"
}
variable "availability_zones_count" {
description = "The number of AZs."
type = number
default = 2
}
variable "project" {
description = "Name to be used on all the resources as identifier. e.g. Project name, Application name"
# description = "Name of the project deployment."
type = string
}
variable "vpc_cidr" {
description = "The CIDR block for the VPC. Default value is a valid CIDR, but not acceptable by AWS and should be overridden"
type = string
default = "10.0.0.0/16"
}
variable "subnet_cidr_bits" {
description = "The number of subnet bits for the CIDR. For example, specifying a value 8 for this parameter will create a CIDR with a mask of /24."
type = number
default = 8
}
variable "tags" {
description = "A map of tags to add to all resources"
type = map(string)
default = {
"Project" = "TerraformEKSWorkshop"
"Environment" = "Development"
"Owner" = "Ashish Patel"
}
}