mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-12 00:16:18 -06:00
11 lines
156 B
Terraform
11 lines
156 B
Terraform
|
resource "aws_instance" "web" {
|
||
|
ami = "foo"
|
||
|
lifecycle {
|
||
|
prevent_destroy = "true"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
resource "aws_instance" "bar" {
|
||
|
ami = "foo"
|
||
|
}
|