Skip to content

Commit 096bc69

Browse files
committed
Convert random_string to random_password.
1 parent 39f589d commit 096bc69

File tree

1 file changed

+2
-2
lines changed
  • terraform/aws/implementation/modules/rds

1 file changed

+2
-2
lines changed

terraform/aws/implementation/modules/rds/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ resource "aws_db_instance" "tefca-viewer-db" {
66
engine = var.engine_type
77
engine_version = var.engine_version
88
username = var.db_username
9-
password = random_string.setup_rds_password.result
9+
password = random_password.setup_rds_password.result
1010
db_subnet_group_name = aws_db_subnet_group.this.name
1111
vpc_security_group_ids = [aws_security_group.ds_sg.id]
1212
parameter_group_name = aws_db_parameter_group.this.name
@@ -64,7 +64,7 @@ resource "aws_db_subnet_group" "this" {
6464

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

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

0 commit comments

Comments
 (0)