Skip to content

Commit

Permalink
Merge pull request #9 from opzkit/various-fixes
Browse files Browse the repository at this point in the history
Various fixes
  • Loading branch information
argoyle authored Dec 23, 2021
2 parents 081493a + 23778f0 commit 44d6000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ resource "aws_db_instance" "default" {
apply_immediately = var.apply_immediately
db_subnet_group_name = aws_db_subnet_group.default.name
storage_encrypted = var.storage_encrypted
vpc_security_group_ids = [aws_security_group.allow_postgres.id]
}
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 44d6000

Please sign in to comment.