docs: runtime interpolation for AWS (#7859)
Co-authored-by: Ali Ibrahim <ibrahimalihc@users.noreply.github.com>
This commit is contained in:
parent
95a231551d
commit
4e52527c27
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue