Skip to content

Commit

Permalink
refactor(db-migration): rename envvar to database and add environment…
Browse files Browse the repository at this point in the history
… var for slack logging
  • Loading branch information
hugotiburtino committed Jul 2, 2024
1 parent 7d51566 commit 64931ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/api/db-migration/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,11 @@ resource "kubernetes_config_map" "envvars" {
namespace = var.namespace
}
data = {
DATABASE = var.database_url
ENVIRONMENT = var.environment
MYSQL_URI = var.database_url
REDIS_URL = var.redis_url
SLACK_CHANNEL = var.slack_channel
SLACK_TOKEN = var.slack_token
OPENAI_API_KEY = var.openai_api_key
}
}
}

0 comments on commit 64931ca

Please sign in to comment.