Skip to content

Commit

Permalink
fix: set lifecycle ignore_changes on tags_all
Browse files Browse the repository at this point in the history
  • Loading branch information
busla authored Feb 14, 2024
1 parent 8e3bdaa commit c0ec5f4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,13 @@ resource "aws_appautoscaling_target" "this" {
scalable_dimension = "rds:cluster:ReadReplicaCount"
service_namespace = "rds"

tags = var.enable_appautoscaling_tags ? var.tags : null
tags = var.tags

lifecycle {
ignore_changes = [
tags_all,
]
}
}

resource "aws_appautoscaling_policy" "this" {
Expand Down

0 comments on commit c0ec5f4

Please sign in to comment.