Skip to content

Commit

Permalink
ignore last_modified attribute (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
codekitchen authored Jul 6, 2022
1 parent 12fca4e commit dc8f0f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ resource "aws_lambda_function" "this" {
subnet_ids = vpc_config.value.subnet_ids
}
}

lifecycle {
ignore_changes = [last_modified]
}
}

data "aws_partition" "this" { count = local.enabled ? 1 : 0 }
Expand Down

0 comments on commit dc8f0f2

Please sign in to comment.