-
Notifications
You must be signed in to change notification settings - Fork 2
/
s3.tf
50 lines (41 loc) · 970 Bytes
/
s3.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
locals {
prod_storage_name = "xquare-prod-bucket"
stag_storage_name = "xquare-stag-bucket"
thanos_storage_name = "xquare-thanos"
loki_storage_name = "xquare-loki"
tempo_storage_name = "xquare-tempo"
cache_storage_name = "xquare-cache"
}
#module "prod_storage" {
# source = "./modules/s3"
#
# bucket_name = local.prod_storage_name
# is_public = true
#}
#
#module "stag_storage" {
# source = "./modules/s3"
#
# bucket_name = local.stag_storage_name
# is_public = true
#}
module "thanos_storage" {
source = "./modules/s3"
bucket_name = local.thanos_storage_name
is_public = false
}
module "loki_storage" {
source = "./modules/s3"
bucket_name = local.loki_storage_name
is_public = false
}
module "tempo_storage" {
source = "./modules/s3"
bucket_name = local.tempo_storage_name
is_public = false
}
module "cache_storage" {
source = "./modules/s3"
bucket_name = local.cache_storage_name
is_public = false
}