Skip to content

Commit 16288cb

Browse files
committed
[OSDOCS-12387]: Updating ARN text for HCP docs
1 parent 5475e83 commit 16288cb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

modules/hcp-aws-create-role-sts-creds.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@ Before creating a hosted cluster on {aws-first}, you must create an {aws-short}
1414
+
1515
[source,terminal]
1616
----
17-
$ aws sts get-caller-identity --query "Arn"
17+
$ aws sts get-caller-identity --query "Arn" --output text
1818
----
1919
+
20-
Note the ARN of your user to use in the next step.
20+
.Example output
21+
[source,terminal]
22+
----
23+
arn:aws:iam::1234567890:user/<aws_username>
24+
----
25+
+
26+
Use this output as the value for `<arn>` in the next step.
2127

2228
. Create a JSON file named `trust-relationship.json` that contains the trust relationship configuration for your role. See the following example:
2329
+

0 commit comments

Comments
 (0)