-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
105 lines (88 loc) · 2.02 KB
/
variables.tf
File metadata and controls
105 lines (88 loc) · 2.02 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
variable "region" {
type = string
description = "Name of region for deployment."
default = "us-east-1"
}
variable "environment" {
type = string
description = "Name of Environment for deployment."
default = "dev"
}
variable "vpc_cidr" {
description = "VPC Cidr Block"
type = string
default = null
}
variable "azs" {
description = "AZ's for the VPC"
type = list(string)
default = []
}
variable "private_subnets" {
description = "Private Subnets for the VPC"
type = list(string)
default = []
}
variable "public_subnets" {
description = "Public Subnets for the VPC"
type = list(string)
default = []
}
variable "database_subnets" {
description = "Database Subnets for the VPC"
type = list(string)
default = []
}
variable "ecs_asg_max_size" {
description = "EC2 Capacity Providers ASG - Max Number of Instances"
type = number
default = 1
}
variable "ecs_asg_min_size" {
description = "EC2 Capacity Providers ASG - Min Number of Instances"
type = number
default = 1
}
variable "ecs_asg_desired_capacity" {
description = "EC2 Capacity Providers ASG - Min Number of Instances"
type = number
default = 1
}
variable "ecs_instance_type" {
description = "Instance Type for ECS Cluster"
type = string
default = "c5.4xlarge"
}
variable "docker_tag" {
default = ""
}
variable "rpc_node_cpu" {
description = "ECS Container - RPC Node CPU"
type = number
default = 4096
}
variable "rpc_node_ram" {
description = "ECS Container - RPC Node RAM"
type = number
default = 16384
}
variable "ecr_subrepositories" {
type = string
default = "rpc"
}
variable "primelab_nodes" {
description = "Primelab Node Parameters"
default = {
"rpc" = {
"dockerTag" = ""
"dockerRepo" = 0
}
}
}
variable "container_name" {
description = "RPC Container name"
default = "rpc_node"
}
variable "rpc_node" {
default = "rpc_node"
}