-
Notifications
You must be signed in to change notification settings - Fork 372
/
ebs_baselines.tf
156 lines (122 loc) · 3.28 KB
/
ebs_baselines.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# --------------------------------------------------------------------------------------------------
# EBS Baseline
# --------------------------------------------------------------------------------------------------
module "ebs_baseline_ap-northeast-1" {
count = contains(var.target_regions, "ap-northeast-1") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.ap-northeast-1
}
}
module "ebs_baseline_ap-northeast-2" {
count = contains(var.target_regions, "ap-northeast-2") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.ap-northeast-2
}
}
module "ebs_baseline_ap-northeast-3" {
count = contains(var.target_regions, "ap-northeast-3") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.ap-northeast-3
}
}
module "ebs_baseline_ap-south-1" {
count = contains(var.target_regions, "ap-south-1") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.ap-south-1
}
}
module "ebs_baseline_ap-southeast-1" {
count = contains(var.target_regions, "ap-southeast-1") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.ap-southeast-1
}
}
module "ebs_baseline_ap-southeast-2" {
count = contains(var.target_regions, "ap-southeast-2") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.ap-southeast-2
}
}
module "ebs_baseline_ca-central-1" {
count = contains(var.target_regions, "ca-central-1") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.ca-central-1
}
}
module "ebs_baseline_eu-central-1" {
count = contains(var.target_regions, "eu-central-1") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.eu-central-1
}
}
module "ebs_baseline_eu-north-1" {
count = contains(var.target_regions, "eu-north-1") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.eu-north-1
}
}
module "ebs_baseline_eu-west-1" {
count = contains(var.target_regions, "eu-west-1") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.eu-west-1
}
}
module "ebs_baseline_eu-west-2" {
count = contains(var.target_regions, "eu-west-2") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.eu-west-2
}
}
module "ebs_baseline_eu-west-3" {
count = contains(var.target_regions, "eu-west-3") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.eu-west-3
}
}
module "ebs_baseline_sa-east-1" {
count = contains(var.target_regions, "sa-east-1") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.sa-east-1
}
}
module "ebs_baseline_us-east-1" {
count = contains(var.target_regions, "us-east-1") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.us-east-1
}
}
module "ebs_baseline_us-east-2" {
count = contains(var.target_regions, "us-east-2") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.us-east-2
}
}
module "ebs_baseline_us-west-1" {
count = contains(var.target_regions, "us-west-1") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.us-west-1
}
}
module "ebs_baseline_us-west-2" {
count = contains(var.target_regions, "us-west-2") ? 1 : 0
source = "./modules/ebs-baseline"
providers = {
aws = aws.us-west-2
}
}