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: +