Skip to content

Commit

Permalink
Added tag Identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
lgothelipe committed Jul 4, 2022
1 parent 1ba8b60 commit d008767
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ resource "aws_db_instance" "rds_db" {
final_snapshot_identifier = var.final_snapshot_identifier == "" ? "${var.environment_name}-${var.name}-final-snapshot" : var.final_snapshot_identifier

tags = {
Backup = var.backup
Backup = var.backup
Identifier = var.identifier == "" ? "${var.environment_name}-${var.name}" : var.identifier
}
}

Expand Down

0 comments on commit d008767

Please sign in to comment.