Skip to content

Commit 5b5b9b5

Browse files
committed
edit
1 parent ff45520 commit 5b5b9b5

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

modules/rosa-roles-and-policies.adoc

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
[id="rosa-roles-and-policies_{context}"]
77
= AWS managed policies and roles
88

9-
[id="aws-managed-policies"]
9+
ifdef::openshift-rosa-hcp[]
10+
[id="aws-managed-policies-hcp"]
1011
== AWS managed policies
1112

12-
ifdef::openshift-rosa-hcp[]
1313
.AWS managed account policies
1414
[options="header",cols="2*"]
1515
|===
@@ -34,12 +34,6 @@ ifdef::openshift-rosa-hcp[]
3434
You must attach Operator policies to an Operator IAM role to allow a ROSA cluster to make calls to other AWS services.
3535
====
3636

37-
[id="account-wide-roles"]
38-
== Account-wide roles
39-
* `<prefix>-HCP-ROSA-Worker-Role`
40-
* `<prefix>-HCP-ROSA-Support-Role`
41-
* `<prefix>-HCP-ROSA-Installer-Role`
42-
4337
.AWS managed Operator policies
4438
[options="header",cols="2*"]
4539
|===
@@ -72,7 +66,13 @@ You must attach Operator policies to an Operator IAM role to allow a ROSA cluste
7266

7367
|===
7468

75-
[id="operator-roles"]
69+
[id="account-wide-roles-hcp"]
70+
== Account-wide roles
71+
* `<prefix>-HCP-ROSA-Worker-Role`
72+
* `<prefix>-HCP-ROSA-Support-Role`
73+
* `<prefix>-HCP-ROSA-Installer-Role`
74+
75+
[id="operator-roles-hcp"]
7676
== Operator roles
7777

7878
Certain policies are used by the cluster Operator roles, listed below. The Operator roles are created in a second step because they are dependent on an existing cluster name and cannot be created at the same time as the account-wide roles.
@@ -94,6 +94,8 @@ For the full `JSON` information for the AWS managed policies, see the link:https
9494
endif::openshift-rosa-hcp[]
9595

9696
ifdef::openshift-rosa[]
97+
[id="aws-managed-policies"]
98+
== AWS managed policies
9799

98100
.AWS managed account policies
99101
[options="header",cols="2*"]

0 commit comments

Comments
 (0)