mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-22 07:01:56 +03:00
skip final snapshot
This commit is contained in:
@@ -33,6 +33,7 @@ resource "aws_db_instance" "mariadb" {
|
||||
storage_type = "gp2"
|
||||
backup_retention_period = 30 # how long you’re going to keep your backups
|
||||
availability_zone = "${aws_subnet.main-private-1.availability_zone}" # prefered AZ
|
||||
skip_final_snapshot = true # skip final snapshot when doing terraform destroy
|
||||
tags {
|
||||
Name = "mariadb-instance"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user