Added list element syntax

This commit is contained in:
James Turnbull 2016-10-18 23:37:50 +11:00 committed by GitHub
parent 94cbc37312
commit affb2c6511
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ key within the `amis` map variable.
**To reference user list variables**, the syntax is `["${var.LIST}"]`. For **To reference user list variables**, the syntax is `["${var.LIST}"]`. For
example, `["${var.subnets}"]` would get the value of the `subnets` list, as a example, `["${var.subnets}"]` would get the value of the `subnets` list, as a
list. list. You can also return list elements by index: `${var.subnets[idx]}`.
**To reference attributes of your own resource**, the syntax is **To reference attributes of your own resource**, the syntax is
`self.ATTRIBUTE`. For example `${self.private_ip_address}` will `self.ATTRIBUTE`. For example `${self.private_ip_address}` will