-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
130 lines (102 loc) · 2.52 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
variable "region" {
description = "resource region name"
default = "ap-southeast-1"
}
variable "environment" {
description = "environment name"
type = string
}
variable "tags" {
description = "A map of tags to add to created resource"
type = map(any)
}
############ IAM
variable "jenkins_ecs_role_name" {
description = "iam role name for ecs jenkins"
type = string
}
variable "jenkins_ecs_policy_name" {
description = "iam policy name for ecs jenkins"
type = string
}
#################
############ ECS
variable "ecs_cluster_name" {
description = "ecs cluster name"
type = string
}
variable "ecs_service_name" {
description = "service name for ecs jenkins"
type = string
}
variable "ecs_task_definitions_name" {
description = "ecs task definitions name"
type = string
}
variable "jenkins_master_image" {
description = "docker image for jenkins master"
type = string
}
variable "jenkins_master_cpu_size" {
description = "cpu limit for ecs jenkins master container"
}
variable "jenkins_master_memory_size" {
description = "memory limit for ecs jenkins master container"
}
########
############ awslog
variable "awslogs_group" {
description = "cloudwatch log group name"
type = string
}
variable "awslogs_stream_prefix" {
description = "cloudwatch log stream prefix"
type = string
}
########
########### loadbalancer
variable "lb_target_group_name" {
description = "target group name for loadbalancer"
type = string
}
variable "public_load_balancer_name" {
description = "loadbalancer name"
type = string
}
variable "jenkins_master_domain" {
description = "jenkins master certificate domain"
type = string
}
############
######## efs ########
variable "efs_name" {
description = "efs name"
type = string
}
######## vpc ########
variable "vpc_name" {
description = "private subnet 1"
type = string
}
variable "vpc_cidr" {
description = "vcp cidr"
default = "10.42.0.0/16"
}
variable "public_subnet_1_cidr" {
description = "Public Subnet 1 cidr block"
}
variable "public_subnet_2_cidr" {
description = "Public Subnet 2 cidr block"
}
variable "public_subnet_3_cidr" {
description = "Public Subnet 3 cidr block"
}
variable "private_subnet_1_cidr" {
description = "Private Subnet 1 cidr block"
}
variable "private_subnet_2_cidr" {
description = "Private Subnet 2 cidr block"
}
variable "private_subnet_3_cidr" {
description = "Private Subnet 3 cidr block"
}