diff --git a/terraform/india/production/main.tf b/terraform/india/production/main.tf index a2a8913f..0e7bf853 100644 --- a/terraform/india/production/main.tf +++ b/terraform/india/production/main.tf @@ -468,6 +468,8 @@ module "analysis_dashboard" { { "name" : "ORIGINS", "value" : "*" }, { "name" : "REGION", "value": local.domain}, { "name" : "ENVIRONMENT", "value": local.environment}, + { "name" : "AUTH0_DOMAIN", "value" : var.auth_domain }, + { "name" : "AUTH0_CLIENT_ID", "value" : var.auth_dashboard_client_id }, ] container-name = "analysis-dashboard" container-tag = var.analysis_dashboard_version diff --git a/terraform/india/production/variables.tf b/terraform/india/production/variables.tf index 2eee7eb2..e85bf900 100644 --- a/terraform/india/production/variables.tf +++ b/terraform/india/production/variables.tf @@ -73,3 +73,8 @@ variable satellite-consumer { default = "0.0.1" description = "Container image tag of the satellite data consumer to use: openclimatefix/satip" } + +variable "auth_dashboard_client_id" { + description = "The Auth client id for the dashboard that should be used" + default = "not-set" +}