opentofu/terraform/test-fixtures/apply-targeted-count/main.tf
Paul Hinze c6300d511c core: formalize resource addressing
Only used in targets for now. The plan is to use this for interpolation
as well.

This allows us to target:

 * individual resources expanded by `count` using bracket / index notation.
 * deposed / tainted resources with an `InstanceType` field after name

Docs to follow.
2015-03-31 15:04:10 -05:00

8 lines
93 B
HCL

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