Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions terraform/aws/implementation/modules/rds/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "aws_db_instance" "tefca-viewer-db" {
engine = var.engine_type
engine_version = var.engine_version
username = var.db_username
password = random_string.setup_rds_password.result
password = random_password.setup_rds_password.result
db_subnet_group_name = aws_db_subnet_group.this.name
vpc_security_group_ids = [aws_security_group.ds_sg.id]
parameter_group_name = aws_db_parameter_group.this.name
Expand Down Expand Up @@ -64,7 +64,7 @@ resource "aws_db_subnet_group" "this" {

# TODO: Update for Production to AWS Secrets Manager
# This resource's attribute(s) default value is true
resource "random_string" "setup_rds_password" {
resource "random_password" "setup_rds_password" {
length = 13 #update as needed

# Character set that excludes problematic characters like quotes, backslashes, etc.
Expand Down