mirror of https://github.com/hashicorp/terraform
parent
8a34c33ad3
commit
f11c836181
@ -0,0 +1,8 @@
|
||||
resource "aws_instance" "foo" {
|
||||
for_each = toset(["a", "b", "c"])
|
||||
foo = "number ${each.value}"
|
||||
|
||||
provisioner "shell" {
|
||||
command = "${self.foo}"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue