mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
9 lines
233 B
HCL
9 lines
233 B
HCL
resource "aws_instance" "web" {
|
|
// require_new is a special attribute recognized by testDiffFn that forces
|
|
// a new resource on every apply
|
|
require_new = "yes"
|
|
lifecycle {
|
|
create_before_destroy = true
|
|
}
|
|
}
|