Skip to content

Commit 08db377

Browse files
committed
use rds security group
1 parent bd513a8 commit 08db377

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ resource "aws_db_instance" "tefca-viewer-db" {
88
username = var.db_username
99
password = random_string.setup_rds_password.result
1010
db_subnet_group_name = aws_db_subnet_group.this.name
11-
vpc_security_group_ids = var.private_subnet_ids
11+
vpc_security_group_ids = [aws_security_group.ds_sg.id]
1212
parameter_group_name = aws_db_parameter_group.this.name
1313
publicly_accessible = false
1414
skip_final_snapshot = true

0 commit comments

Comments
 (0)