docs: runtime interpolation for AWS (#7859)

Co-authored-by: Ali Ibrahim <ibrahimalihc@users.noreply.github.com>
This commit is contained in:
Ali
2020-06-26 09:16:34 -04:00
committed by GitHub
parent ffa1275ad9
commit 9757ee30b7

View File

@@ -242,6 +242,12 @@ Below is a table documenting common node properties:
</td>
<td>Instance type of the client (if on AWS EC2)</td>
</tr>
<tr>
<td>
<code>{'${attr.platform.aws.placement.availability-zone}'}</code>
</td>
<td>Availability Zone of the client (if on AWS EC2)</td>
</tr>
<tr>
<td>
<code>{'${attr.os.name}'}</code>
@@ -260,6 +266,8 @@ Below is a table documenting common node properties:
</tbody>
</table>
The full list of node attributes can be obtained by running `nomad node status -verbose [node]`.
Here are some examples of using node attributes and properties in a job file:
```hcl