From 9757ee30b7182a86495a03071bb167bb72229f2e Mon Sep 17 00:00:00 2001 From: Ali <59630460+ibrahimalihc@users.noreply.github.com> Date: Fri, 26 Jun 2020 09:16:34 -0400 Subject: [PATCH] docs: runtime interpolation for AWS (#7859) Co-authored-by: Ali Ibrahim --- website/pages/docs/runtime/interpolation.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/pages/docs/runtime/interpolation.mdx b/website/pages/docs/runtime/interpolation.mdx index 8838fd7c1..0706d06ef 100644 --- a/website/pages/docs/runtime/interpolation.mdx +++ b/website/pages/docs/runtime/interpolation.mdx @@ -242,6 +242,12 @@ Below is a table documenting common node properties: Instance type of the client (if on AWS EC2) + + + {'${attr.platform.aws.placement.availability-zone}'} + + Availability Zone of the client (if on AWS EC2) + {'${attr.os.name}'} @@ -260,6 +266,8 @@ Below is a table documenting common node properties: +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