Skip to content

Commit

Permalink
fix: use db_name instead of instance as DB_NAME in secret
Browse files Browse the repository at this point in the history
  • Loading branch information
argoyle committed Dec 22, 2021
1 parent 69331ae commit 23778f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion secret.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ locals {
secret_value = {
DB_USERNAME = var.master_username
DB_PASSWORD = local.password
DB_NAME = aws_db_instance.default.identifier
DB_NAME = var.db_name
DB_PORT = aws_db_instance.default.port
DB_HOST = aws_db_instance.default.address
}
Expand Down

0 comments on commit 23778f0

Please sign in to comment.