opentofu/terraform/test-fixtures/apply-count-dec/main.tf
Mitchell Hashimoto 6c96e0f6ac terraform: nil out the Diff on a resource when expanding
This fixes a bug where the Destroy diff was being kept around for
nodes that shouldn't be destroyed. We added a test to verify this
doesn't happen.
2014-10-09 23:15:42 -07:00

9 lines
115 B
HCL

resource "aws_instance" "foo" {
foo = "foo"
count = 2
}
resource "aws_instance" "bar" {
foo = "bar"
}