terraform/config/test-fixtures/create-before-destroy.tf

15 lines
221 B
Terraform
Raw Normal View History

resource "aws_instance" "web" {
ami = "foo"
lifecycle {
create_before_destroy = true
}
}
resource "aws_instance" "bar" {
ami = "foo"
lifecycle {
create_before_destroy = false
}
}