forked from taskcluster/taskcluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweb-ui.tf
27 lines (25 loc) · 874 Bytes
/
web-ui.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
module "web_ui_secrets" {
source = "modules/service-secrets"
project_name = "taskcluster-ui"
secrets = {
APPLICATION_NAME = "Taskcluster"
PORT = ""
GRAPHQL_ENDPOINT = "${var.root_url}/graphql"
GRAPHQL_SUBSCRIPTION_ENDPOINT = "${var.root_url}/subscription"
LOGIN_STRATEGIES = ""
}
}
module "web_ui" {
source = "modules/deployment"
project_name = "taskcluster-ui"
service_name = "ui"
proc_name = "web"
root_url = "${var.root_url}"
docker_image = "${local.taskcluster_image_monoimage}"
secret_name = "${module.web_ui_secrets.secret_name}"
secrets_hash = "${module.web_ui_secrets.secrets_hash}"
secret_keys = "${module.web_ui_secrets.env_var_keys}"
readiness_path = "/"
cpu = "100m"
memory = "400Mi"
}