resource "aws_db_instance" "ledger" { identifier = "ledger-validation-db" engine = "postgres" instance_class = "db.t3.small" deletion_protection = true skip_final_snapshot = false lifecycle { prevent_destroy = true } tags = { Environment = "validation" } }