Skip to content

Commit

Permalink
Track all changes (remove ignore_changes lifecycle) (terraform-aws-mo…
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbabenko authored Aug 27, 2019
1 parent f1a185b commit fd14181
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,4 @@ resource "aws_instance" "this" {
credit_specification {
cpu_credits = local.is_t_instance_type ? var.cpu_credits : null
}

lifecycle {
# Due to several known issues in Terraform AWS provider related to arguments of aws_instance:
# (eg, https://github.com/terraform-providers/terraform-provider-aws/issues/2036)
# we have to ignore changes in the following arguments
ignore_changes = [
root_block_device,
ebs_block_device,
]
}
}

0 comments on commit fd14181

Please sign in to comment.