mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
10 lines
122 B
HCL
10 lines
122 B
HCL
variable "foo" {}
|
|
|
|
resource "aws_instance" "foo" {
|
|
ami = "${var.foo}"
|
|
|
|
lifecycle {
|
|
ignore_changes = ["ami"]
|
|
}
|
|
}
|