Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #37 from vistaprint/feature/auto_scaling_fix
Browse files Browse the repository at this point in the history
ignoring changes to role_arn and id
  • Loading branch information
daniebker authored Jan 22, 2018
2 parents 17cea30 + ee7db76 commit 716a4ab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/dynamodb_autoscale/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ resource "aws_appautoscaling_target" "read_autoscaling_target" {
min_capacity = "${local.read_autoscale["min_capacity"]}"
max_capacity = "${local.read_autoscale["max_capacity"]}"
depends_on = ["aws_iam_role_policy.autoscaling_role_policy"]

lifecycle {
ignore_changes = [
"role_arn",
"id"
]
}
}

resource "aws_appautoscaling_policy" "read_autoscaling_policy" {
Expand Down

0 comments on commit 716a4ab

Please sign in to comment.