mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-31 11:17:25 -06:00
18 lines
255 B
Terraform
18 lines
255 B
Terraform
|
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"
|
||
|
}
|