Skip to content

Commit 0a3d95c

Browse files
committed
add apitally to quartz-api
1 parent 4d1d1c6 commit 0a3d95c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

terraform/nowcasting/development/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ module "uk-national-quartz-api" {
135135
{ "name" : "AUTH0_DOMAIN", "value" : var.auth_domain },
136136
{ "name" : "AUTH0_AUDIENCE", "value" : var.auth_api_audience },
137137
{ "name" : "AUTH0_RULE_NAMESPACE", "value" : "https://openclimatefix.org"},
138+
{ "name" : "APITALLY_CLIENT_ID", "value" : var.apitally_client_id},
138139
# legacy, we shouldnt need this in the future,
139140
# but we need this for status in the mean time
140141
{ "name" : "DB_URL", "value" : module.database.forecast-database-secret-url },
@@ -372,6 +373,7 @@ module "quartz-api" {
372373
{ "name" : "ENVIRONMENT", "value": local.environment},
373374
{ "name" : "DATA_PLATFORM_HOST", "value": module.data_platform_api.api_url},
374375
{ "name" : "DATA_PLATFORM_PORT", "value": "50051"},
376+
{ "name" : "APITALLY_CLIENT_ID", "value" : var.apitally_client_id},
375377
]
376378
container-name = "quartz-api"
377379
container-tag = var.quartz-api

terraform/nowcasting/development/variables.tf

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,9 @@ variable "uk-national-quartz-api" {
9898
type = string
9999
description = "Docker image tag for the uk national quartz api"
100100
default = "0.3.4"
101-
}
101+
}
102+
103+
variable "apitally_client_id" {
104+
description = "The client id for APItally"
105+
default = ""
106+
}

0 commit comments

Comments
 (0)