resource "aws_db_instance" "analytics" { identifier = "prod-analytics-db" allocated_storage = 500 engine = "postgres" instance_class = "db.r5.2xlarge" skip_final_snapshot = true deletion_protection = false tags = { Environment = "production" } }