docs: update splat expressions in directives

pull/32074/head
Ben Drucker 4 years ago committed by GitHub
parent 730756eca2
commit 81e620c961
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -180,7 +180,7 @@ The following directives are supported:
```hcl
<<EOT
%{ for ip in aws_instance.example.*.private_ip }
%{ for ip in aws_instance.example[*].private_ip }
server ${ip}
%{ endfor }
EOT
@ -201,7 +201,7 @@ marker appears at the end):
```hcl
<<EOT
%{ for ip in aws_instance.example.*.private_ip ~}
%{ for ip in aws_instance.example[*].private_ip ~}
server ${ip}
%{ endfor ~}
EOT

Loading…
Cancel
Save