Skip to content

Commit

Permalink
fix(infra): infra fix
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-h1 committed Jan 2, 2025
1 parent 7778e03 commit 46c09af
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions terraform/app-runner.tf
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,13 @@ resource "aws_apprunner_service" "app_runner_service" {
}

runtime_environment_variables = {
DATABASE_URL = format(
"postgres://%s:%s@%s?sslmode=verify-full",
urlencode(aws_rds_cluster.db.master_username),
urlencode(aws_rds_cluster.db.master_password),
aws_rds_cluster.db.endpoint
)
# DATABASE_URL = format(
# "postgres://%s:%s@%s?sslmode=verify-full",
# urlencode(aws_rds_cluster.db.master_username),
# urlencode(aws_rds_cluster.db.master_password),
# aws_rds_cluster.db.endpoint
# )
DATABASE_URL = var.database_url
API_BASE_URL = "${var.api_base_url}"
DEPLOYED_BY = "${var.deployed_by}"
DEPLOYED_AT = "${var.deployed_at}"
Expand Down

0 comments on commit 46c09af

Please sign in to comment.