Skip to content

Commit 90f83f4

Browse files
authored
Merge pull request #73024 from jneczypor/OSDOCS-9941
OSDOCS-9941: Correction to the ROSA with HCP cluster creation process
2 parents 32acc01 + d9cebaa commit 90f83f4

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

modules/rosa-hcp-creating-account-wide-sts-roles-and-policies.adoc

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,21 @@ $ rosa create account-roles --hosted-cp --mode auto --yes
3030
+
3131
[source,terminal]
3232
----
33-
$ export ACCOUNT_ROLES_PREFIX="${ACCOUNT_ROLES_PREFIX}"
33+
$ export ACCOUNT_ROLES_PREFIX=<account_role_prefix>
34+
----
35+
36+
** View the value of the variable by running the following command:
37+
+
38+
[source,terminal]
39+
----
40+
$ echo $ACCOUNT_ROLES_PREFIX
41+
----
42+
+
43+
.Example output
44+
+
45+
[source,terminal]
46+
----
47+
ManagedOpenShift
3448
----
3549

3650
For more information regarding AWS managed IAM policies for ROSA, see link:https://docs.aws.amazon.com/ROSA/latest/userguide/security-iam-awsmanpol.html[AWS managed IAM policies for ROSA].

modules/rosa-sts-byo-oidc.adoc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ $ rosa create oidc-config --mode=auto --yes
4444
+
4545
This command returns the following information.
4646
+
47-
.Sample output
47+
.Example output
4848
+
4949
[source,terminal]
5050
----
@@ -60,25 +60,26 @@ I: Created OIDC provider with ARN 'arn:aws:iam::4540112244:oidc-provider/dvbwgdz
6060
+
6161
When creating your cluster, you must supply the OIDC config ID. The CLI output provides this value for `--mode auto`, otherwise you must determine these values based on `aws` CLI output for `--mode manual`.
6262
63-
* Optional: you can save the OIDC configuration ID as a variable to use later. Run the following command to save the variable:
63+
** Optional: you can save the OIDC configuration ID as a variable to use later. Run the following command to save the variable:
6464
+
6565
[source,terminal]
6666
----
67-
$ export OIDC_ID=30f5dqmk
67+
$ export OIDC_ID=<oidc_config_id><1>
6868
----
69+
<1> In the example output above, the OIDC configuration ID is 13cdr6b.
6970

70-
. View the value of the variable by running with the following command:
71+
** View the value of the variable by running the following command:
7172
+
7273
[source,terminal]
7374
----
7475
$ echo $OIDC_ID
7576
----
7677
+
77-
.Sample output
78+
.Example output
7879
+
7980
[source,terminal]
8081
----
81-
$ 30f5dqmk
82+
13cdr6b
8283
----
8384

8485
.Verification
@@ -90,7 +91,7 @@ $ 30f5dqmk
9091
$ rosa list oidc-config
9192
----
9293
+
93-
.Sample output
94+
.Example output
9495
+
9596
[source,terminal]
9697
----

0 commit comments

Comments
 (0)