Merge pull request #1529 from jtopper/fix_count_lookup_docs
website: Fix minor error in index/count docs
This commit is contained in:
commit
a569d206d5
|
@ -118,7 +118,7 @@ variable "instance_ips" {
|
||||||
|
|
||||||
resource "aws_instance" "app" {
|
resource "aws_instance" "app" {
|
||||||
count = "3"
|
count = "3"
|
||||||
private_ip = "${lookup(instance_ips, count.index)}"
|
private_ip = "${lookup(var.instance_ips, count.index)}"
|
||||||
# ...
|
# ...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue