-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
51 lines (44 loc) · 1.11 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
data "aws_caller_identity" "current" {}
locals {
project = "example-pipecd-control-plane"
alb = {
certificate_arn = ""
http_host_header = ""
}
redis = {
node_type = "cache.t2.micro"
}
rds = {
node_type = "db.t3.micro"
}
s3 = { # These must be unique in the world.
filestore_bucket = ""
}
ecs = {
memory = "1024"
cpu = "512"
}
kms = {
kms_decryption_key_id = "aws/secretsmanager"
}
sm = {
control_plane_config_secret = ""
envoy_config_secret = ""
encryption_key_secret = ""
}
}
locals {
basicTags = {
Product = "${local.project}"
}
componentType = {
computing = { "CostComponentType" = "Computing" }
storage = { "CostComponentType" = "Storage" }
database = { "CostComponentType" = "Database" }
networking = { "CostComponentType" = "Networking" }
queue = { "CostComponentType" = "Queue" }
operation = { "CostComponentType" = "Operation" }
other = { "CostComponentType" = "Other" }
storageDatabase = { "CostComponentType" = "Storage_Database" }
}
}