Skip to content

Commit

Permalink
Sync accounts without legacyId
Browse files Browse the repository at this point in the history
  • Loading branch information
hugotiburtino committed Jan 31, 2024
1 parent 79e1902 commit b8614c6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions envs/production/auth.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ module "kratos" {
newsletter_api_key = var.athene2_php_newsletter_key
}

module "kratos_sync_accounts" {
source = "../../modules/kratos-import-scripts/sync-accounts"

node_pool = module.cluster.node_pools.preemptible
namespace = kubernetes_namespace.auth_namespace.metadata.0.name
postgres_database = {
host = module.gcloud_postgres.database_private_ip_address
password = var.kpi_kpi_database_password_readonly
}
}


resource "kubernetes_namespace" "auth_namespace" {
metadata {
Expand Down

0 comments on commit b8614c6

Please sign in to comment.