-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
89 lines (72 loc) · 1.9 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
# guangzhou
variable "vpc_name-guangzhou" {
description = "The name of the VPC."
type = string
}
variable "vpc_cidr_block-guangzhou" {
description = "The CIDR block for the VPC."
type = string
}
variable "subnet_name-guangzhou" {
description = "The name of the subnet."
type = string
}
variable "subnet_cidr_block-guangzhou" {
description = "The CIDR block for the subnet."
type = string
}
variable "availability_zone-guangzhou" {
description = "The subnet availability zone."
type = string
}
variable "sg_name-guangzhou" {
description = "The name of the security group."
type = string
}
variable "sg_description-guangzhou" {
description = "The description of the security group."
type = string
}
# shanghai
variable "vpc_name-shanghai" {
description = "The name of the VPC."
type = string
}
variable "vpc_cidr_block-shanghai" {
description = "The CIDR block for the VPC."
type = string
}
variable "subnet_name-shanghai" {
description = "The name of the subnet."
type = string
}
variable "subnet_cidr_block-shanghai" {
description = "The CIDR block for the subnet."
type = string
}
variable "availability_zone-shanghai" {
description = "The subnet availability zone."
type = string
}
variable "sg_name-shanghai" {
description = "The name of the security group."
type = string
default = "security_group_name-1"
}
variable "sg_description-shanghai" {
description = "The description of the security group."
type = string
}
# mysql
variable "master_instance_name" {
description = "The name of the master instance."
type = string
}
variable "master_instance_region" {
description = "The regioni of the master instance."
type = string
}
variable "master_instance_password" {
description = "The password of the master instance."
type = string
}