Fix minor error in index/count docs
This commit is contained in:
parent
173d8df0ed
commit
6e3675e2de
|
@ -118,7 +118,7 @@ variable "instance_ips" {
|
|||
|
||||
resource "aws_instance" "app" {
|
||||
count = "3"
|
||||
private_ip = "${lookup(instance_ips, count.index)}"
|
||||
private_ip = "${lookup(var.instance_ips, count.index)}"
|
||||
# ...
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue