-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
91 lines (69 loc) · 1.68 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
###### General ######
variable "environment" {
type = string
description = "The environment name"
}
#### Tags ####
variable "owner" {
type = string
description = "The name of the infra provisioner or owner"
}
variable "company" {
type = string
description = "The cost_center name for this porject"
}
variable "app_name" {
type = string
description = "Application name of the project"
}
variable "cost_center" {
type = string
description = "Application Cost center of the project"
}
#### VM Details ####
variable "instance_type" {
type = string
description = "The Size for vm resource"
}
# core
variable "account" {
description = "The AWS Account Number (10 digit) to create resources in."
}
variable "region" {
description = "The AWS region to create resources in."
}
# networking
variable "vpc_cidr" {
description = "CIDR Block for VPC"
}
variable "pub_subnet_cidr" {
description = "CIDR Block for Public Subnet"
}
variable "pvt_subnet_cidr" {
description = "CIDR Block for Private Subnet"
}
variable "availability_zones" {
description = "Availability zones"
type = list(string)
}
variable "allocation_id" {
description = "Availability zones"
type = list(string)
}
# load balancer
variable "health_check_path" {
description = "Health check path for the default target group"
}
variable "ami" {
description = "Which AMI to spawn."
}
# auto scaling
variable "autoscale_min" {
description = "Minimum autoscale (number of EC2)"
}
variable "autoscale_max" {
description = "Maximum autoscale (number of EC2)"
}
variable "autoscale_desired" {
description = "Desired autoscale (number of EC2)"
}