Skip to content

Commit 30a90bf

Browse files
committed
Add parameters to db_instance
1 parent ec32a08 commit 30a90bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/datastore/rds.tf

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ resource "aws_db_instance" "this" {
117117
multi_az = true # Multiple availability zone?
118118
final_snapshot_identifier = "${var.resource_prefix}${var.db_name}-final-snapshot${var.resource_suffix}-${random_pet.final_snapshot_id.id}" # Snapshot upon delete
119119
vpc_security_group_ids = [aws_security_group.rds_security_group.id]
120+
backup_retention_period = var.backup_retention_period
120121

121122
tags = merge(
122123
var.standard_tags,

0 commit comments

Comments
 (0)