mirror of https://github.com/hashicorp/terraform
parent
aef7718778
commit
1aaddafba0
@ -1,10 +1,14 @@
|
||||
|
||||
resource "aws_instance" "web" {
|
||||
ami = "foo"
|
||||
create_before_destroy = true
|
||||
lifecycle {
|
||||
create_before_destroy = true
|
||||
}
|
||||
}
|
||||
|
||||
resource "aws_instance" "bar" {
|
||||
ami = "foo"
|
||||
create_before_destroy = false
|
||||
lifecycle {
|
||||
create_before_destroy = false
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue