Skip to content

Commit 2b565cc

Browse files
committed
fix command output
1 parent a6187ff commit 2b565cc

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

modules/rosa-configuring-aws-account.adoc

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,13 @@ The ROSA service evaluates regions in the following priority order:
5858
+
5959
[source,terminal]
6060
----
61-
$ aws sts get-caller-identity
61+
$ aws sts get-caller-identity --output text
6262
----
6363
+
6464
.Example output
6565
[source,terminal]
6666
----
67-
---------------------------------------------------------------------------------
68-
| GetCallerIdentity |
69-
+-------------------------------------------------------------------------------+
70-
|+-----------------------------------+-----------------------+-----------------+|
71-
|| Account | Arn | UserID ||
72-
|+-----------------------------------+-----------------------+-----------------+|
73-
|| <account_name> | arn:aws:iam<string>:user:name | <userID> ||
74-
|+-----------------------------------+-----------------------+-----------------+|
67+
<aws_account_id> arn:aws:iam::<aws_account_id>:user/<username> <aws_user_id>
7568
----
7669
+
7770
After completing these steps, install ROSA.

modules/rosa-getting-started-install-configure-cli-tools.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ You can alternatively use the `AWS_DEFAULT_REGION` environment variable to set t
5050
+
5151
[source,terminal]
5252
----
53-
$ aws sts get-caller-identity
53+
$ aws sts get-caller-identity --output text
5454
----
5555
+
5656
.Example output

0 commit comments

Comments
 (0)