mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
add prevent detroy
This commit is contained in:
parent
e3b68d56af
commit
d7b24ccdd1
1 changed files with 3 additions and 0 deletions
|
|
@ -39,4 +39,7 @@ resource "aws_db_instance" "default" {
|
|||
password = jsondecode(data.aws_secretsmanager_secret_version.db_credentials.secret_string)["db_assessment_model_password"]
|
||||
parameter_group_name = "default.postgres14"
|
||||
skip_final_snapshot = true
|
||||
lifecycle {
|
||||
prevent_destroy = true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue