Skip to content

Commit

Permalink
Adding tags to the snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCinquini committed Jan 27, 2025
1 parent 1036bc3 commit 6ecab20
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ resource "aws_db_instance" "sps_db" {
backup_retention_period = 7
backup_window = "01:00-02:00"
storage_encrypted = true
copy_tags_to_snapshot = true

skip_final_snapshot = false
final_snapshot_identifier = "${terraform.workspace}-${formatdate("YYYYMMDDhhmmss", timestamp())}"
Expand Down

0 comments on commit 6ecab20

Please sign in to comment.