Skip to content

Commit 1ef8b83

Browse files
author
Ryan Jiang
authored
Update lifecycle on RDS instance
1 parent 315eb91 commit 1ef8b83

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/aws_ecs_ec2/main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ resource "aws_db_instance" "this" {
154154
publicly_accessible = var.rds_publicly_accessible
155155
vpc_security_group_ids = [aws_security_group.rds.id]
156156
performance_insights_enabled = var.rds_performance_insights_enabled
157+
158+
skip_final_snapshot = true
159+
apply_immediately = true
157160
}
158161

159162
resource "aws_ecs_service" "retool" {
@@ -271,4 +274,4 @@ resource "aws_ecs_task_definition" "retool" {
271274
}
272275
]
273276
)
274-
}
277+
}

0 commit comments

Comments
 (0)