diff --git a/envs/staging/api.tf b/envs/staging/api.tf index e5b47f2..539c2a5 100644 --- a/envs/staging/api.tf +++ b/envs/staging/api.tf @@ -59,11 +59,11 @@ module "api" { } server = { - hydra_host = "" - kratos_public_host = module.kratos.public_uri - kratos_admin_host = module.kratos.admin_uri - kratos_secret = module.kratos.secret - kratos_db_uri = "postgres://${local.postgres_database_username_default}:${var.kpi_kpi_database_password_default}@${module.gcloud_postgres.database_private_ip_address}/kratos" + hydra_host = "" + kratos_public_host = module.kratos.public_uri + kratos_admin_host = module.kratos.admin_uri + kratos_secret = module.kratos.secret + kratos_db_uri = "postgres://${local.postgres_database_username_default}:${var.kpi_kpi_database_password_default}@${module.gcloud_postgres.database_private_ip_address}/kratos" swr_queue_dashboard = { username = var.api_swr_queue_dashboard_username password = var.api_swr_queue_dashboard_password diff --git a/modules/api/main.tf b/modules/api/main.tf index e92a956..845a0c5 100644 --- a/modules/api/main.tf +++ b/modules/api/main.tf @@ -66,12 +66,12 @@ variable "redis_url" { variable "server" { description = "Configuration for server" type = object({ - hydra_host = string - kratos_public_host = string - kratos_admin_host = string - kratos_secret = string - kratos_db_uri = string - google_service_account = string + hydra_host = string + kratos_public_host = string + kratos_admin_host = string + kratos_secret = string + kratos_db_uri = string + google_service_account = string swr_queue_dashboard = object({ username = string password = string