mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
15 lines
221 B
HCL
15 lines
221 B
HCL
|
|
resource "aws_instance" "web" {
|
|
ami = "foo"
|
|
lifecycle {
|
|
create_before_destroy = true
|
|
}
|
|
}
|
|
|
|
resource "aws_instance" "bar" {
|
|
ami = "foo"
|
|
lifecycle {
|
|
create_before_destroy = false
|
|
}
|
|
}
|