-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
33 lines (28 loc) · 1.08 KB
/
main.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
#------------------------------------------------------------------------------#
# APPS #
#------------------------------------------------------------------------------#
# REGISTRIES
module "backend_docker_registry" {
source = "./modules/artifact-registry"
default_labels = var.default_labels
environment = var.environment
global_region = var.global_region
repository_name = "be"
}
# BACKEND
module "backend_server_app" {
source = "./modules/backend-app"
# GLOBAL
default_labels = var.default_labels
environment = var.environment
global_region = var.global_region
project_id = var.project_id
# APP
app_docker_tag = var.be_app_server_tag
app_name = var.be_app_server_name
app_sa_display_name = var.be_app_server_sa_display_name
app_invokers = ["allUsers"]
# APP ENVIRONMENT VARIABLES
app_env_gin_mode = var.be_app_env_variables["gin_mode"]
app_env_log_level = var.be_app_env_variables["log_level"]
}