Skip to content

Commit

Permalink
fix: ignore_changes for ami
Browse files Browse the repository at this point in the history
  • Loading branch information
opanmustopah committed Aug 4, 2021
1 parent 1c11351 commit 2f422d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ resource "aws_instance" "this" {
ipv6_address_count = var.ipv6_address_count
ipv6_addresses = var.ipv6_addresses

lifecycle = {
ignore_changes = [
ami,
]
}

ebs_optimized = var.ebs_optimized

dynamic "root_block_device" {
Expand Down

0 comments on commit 2f422d2

Please sign in to comment.