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 95a231551d
commit 4e52527c27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

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