opentofu/config/testdata/ignore-changes.tf
2019-06-30 10:16:15 +02:00

18 lines
255 B
HCL

resource "aws_instance" "web" {
ami = "foo"
lifecycle {
ignore_changes = ["ami"]
}
}
resource "aws_instance" "bar" {
ami = "foo"
lifecycle {
ignore_changes = []
}
}
resource "aws_instance" "baz" {
ami = "foo"
}