-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
110 lines (82 loc) · 1.93 KB
/
Copy pathvariables.tf
File metadata and controls
110 lines (82 loc) · 1.93 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
####################### TAGS Reference############################
variable "appname" {
default = "BLUE"
}
variable "owner" {
type = "string"
default = "ANKIT"
}
variable "ZONE" {
default = "S01"
description = "ZONE it belongs to as Management/Workspace.."
}
variable "envr" {
default = "T"
}
##################################################################
variable "environment" {
description = "Name of the environment"
default = "TEST"
}
variable "aws_region" {
description = "AWS region"
default = ""
}
variable "ecs_key_pair_name" {
description = "EC2 instance key pair name"
default = ""
}
variable "customer" {
default = "TEST"
}
variable "ecs_cluster" {
description = "ECS cluster name"
default = "BLUE"
}
variable "ecs_cluster_green" {
default = "GREEN"
}
variable "vpc_cidr" {
description = "VPC CIDR for Test environment"
default = "10.0.0.0/16"
}
variable "public_subnet_cidr" {
description = "Public 0.0 CIDR for externally accessible subnet"
type = "list"
default = ["10.0.1.0/24", "10.0.2.0/24"]
}
variable "private_subnet_cidr" {
default = ["10.0.5.0/24", "10.0.6.0/24"]
}
variable "az" {
default = ["eu-west-1a", "eu-west-1b"]
}
########################### Autoscale Config ################################
variable "max_instance_size" {
description = "Maximum number of instances in the cluster"
default = "3"
}
variable "min_instance_size" {
description = "Minimum number of instances in the cluster"
default = "1"
}
variable "desired_capacity" {
description = "Desired number of instances in the cluster"
default = "1"
}
variable "container_name" {
default = "apache2"
}
#########################RDS My SQL ###########################
variable "db_admin" {
default = ""
}
variable "db_password" {
default = ""
}
variable "db_instance_size" {
default = "db.t2.micro"
}
variable "domain_name" {
default = ""
}