-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
136 lines (117 loc) · 3.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
131
132
133
134
135
136
###############################################################################
#### Default values that match what is set in the datacenter terraform ####
#### file. These should not be changed here! Most of these should be ####
#### set in the <datacetner>_<datacenter_prefix>.tf file that is located ####
#### in the datacenters/aws/ directory of the terraform modules. ####
#### Variables that are marked below with a comment should be changed in ####
#### this file and not in the <datacetner>_<datacenter_prefix>.tf file. ####
###############################################################################
variable "cloud_provider" {
type = string
default = "aws"
}
variable "aws_access_key" {
type = string
default = ""
}
variable "aws_secret_key" {
type = string
default = ""
}
variable "region" {
type = string
default = ""
}
variable "datacenter" {
type = string
default = ""
}
variable "datacenter_prefix" {
type = string
default = ""
}
variable "datacenter_cidr" {
type = string
default = ""
}
variable "internal_svcs_datacenter_cidr" {
type = string
default = ""
}
variable "access_zone_cidr" {
type = string
default = ""
}
variable "security_zone_cidr" {
type = string
default = ""
}
variable "transit_gateway" {
default = ""
}
################################################################################
#### VPC variable is here, modify or update accordingly ####
################################################################################
variable "ibm_internal_svc" {
type = string
default = "data.aws_vpc.ibm_internal_svc.id"
}
################################################################################
#### SG variable is here, modify or update accordingly ####
################################################################################
#variable "ibm_rosa_sg" {
# type = string
# default = "data.aws_security_group.ibm_rosa_sg.id"
#}
################################################################################
variable "instance_tenancy" {
type = string
default = "default"
}
variable "root_block_encryption" {
type = string
default = ""
}
variable "s3_bucket_encryption" {
type = string
default = ""
}
#variable "domain_controller_1_ip" {
# type = string
# default = ""
#}
#variable "domain_controller_2_ip" {
# type = string
# default = ""
#}
variable "AMIS" {
type = map(string)
}
variable "INSTANCE" {
type = map(string)
}
################################################################################
################################################################################
#### Below are the default 'deploy' values for the variables used for these ####
#### AWS terraform modules. ####
################################################################################
variable "deploy_den_master_node" {
type = bool
default = true
}
variable "deploy_den_worker_node" {
type = bool
default = true
}
################################################################################
#### These are the default server deploy counts to be use for the AWS ####
#### terraform code for these modules. ####
################################################################################
variable "deploy_den_master_node_count" {
type = number
default = 1
}
variable "deploy_den_worker_node_count" {
type = number
default = 1
}