From cc1e75c8aecf5666163bcf4fb4ba3cf75c12a392 Mon Sep 17 00:00:00 2001 From: Laura Hinson Date: Fri, 18 Oct 2024 16:53:01 -0400 Subject: [PATCH] Updating ARN text for HCP docs --- modules/hcp-aws-create-role-sts-creds.adoc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/hcp-aws-create-role-sts-creds.adoc b/modules/hcp-aws-create-role-sts-creds.adoc index 1e23fc6e68..38a64a8d1f 100644 --- a/modules/hcp-aws-create-role-sts-creds.adoc +++ b/modules/hcp-aws-create-role-sts-creds.adoc @@ -14,10 +14,16 @@ Before creating a hosted cluster on {aws-first}, you must create an {aws-short} + [source,terminal] ---- -$ aws sts get-caller-identity --query "Arn" +$ aws sts get-caller-identity --query "Arn" --output text ---- + -Note the ARN of your user to use in the next step. +.Example output +[source,terminal] +---- +arn:aws:iam::1234567890:user/ +---- ++ +Use this output as the value for `` in the next step. . Create a JSON file named `trust-relationship.json` that contains the trust relationship configuration for your role. See the following example: +