mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
9 lines
123 B
Terraform
9 lines
123 B
Terraform
|
resource "aws_instance" "foo" {
|
||
|
count = "1"
|
||
|
current = "${count.index}"
|
||
|
|
||
|
lifecycle {
|
||
|
prevent_destroy = true
|
||
|
}
|
||
|
}
|