Skip to content

Commit a379e41

Browse files
committed
OSDOCS-16084: Restructured Subnet Tagging info
1 parent fc7b324 commit a379e41

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

modules/rosa-hcp-vpc-subnet-tagging.adoc

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,21 @@
33
// * rosa_hcp/rosa-hcp-quickstart-guide.adoc
44
// * rosa_hcp/rosa-hcp-creating-cluster-with-aws-kms-key.adoc
55
// * rosa_hcp/rosa-hcp-sts-creating-a-cluster-quickly.adoc
6+
ifeval::["{context}" == "rosa-hcp-prereqs"]
7+
:hcp-preqs:
8+
endif::[]
69

710
:_mod-docs-content-type: PROCEDURE
811
[id="rosa-hcp-vpc-subnet-tagging_{context}"]
912
= Tagging your subnets
1013

11-
Before you can use your VPC to create a {product-title} cluster, you must tag your VPC subnets. Automated service preflight checks verify that these resources are tagged correctly before you can use these resources for a cluster. The following table shows how your resources should be tagged:
14+
ifdef::hcp-preqs[]
15+
If you created your own VPC to create a {product-title} cluster, you must tag your VPC subnets.
16+
endif::hcp-preqs[]
17+
ifndef::hcp-preqs[]
18+
Before you can use your VPC to create a {product-title} cluster, you must tag your VPC subnets.
19+
endif::hcp-preqs[]
20+
Automated service preflight checks verify that these resources are tagged correctly before you can use these resources for a cluster. The following table shows how your resources should be tagged:
1221

1322
[cols="3a,8a,8a", options="header"]
1423
|===
@@ -38,7 +47,7 @@ You must tag at least one private subnet and, if applicable, one public subnet.
3847
3948
.Procedure
4049

41-
. Tag your resources in your terminal by running the following commands:
50+
* Tag your resources in your terminal by running the following commands:
4251
.. For public subnets, run:
4352
+
4453
[source,terminal]
@@ -67,4 +76,7 @@ $ aws ec2 describe-tags --filters "Name=resource-id,Values=<subnet_id>"
6776
----
6877
TAGS Name <subnet-id> subnet <prefix>-subnet-public1-us-east-1a
6978
TAGS kubernetes.io/role/elb <subnet-id> subnet 1
70-
----
79+
----
80+
ifeval::["{context}" == "rosa-hcp-prereqs"]
81+
:!hcp-preqs:
82+
endif::[]

rosa_planning/rosa-sts-aws-prereqs.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ include::modules/osd-aws-privatelink-firewall-prerequisites.adoc[leveloffset=+2]
125125
endif::openshift-rosa[]
126126
ifdef::openshift-rosa-hcp[]
127127
include::modules/rosa-hcp-firewall-prerequisites.adoc[leveloffset=+2]
128+
include::modules/rosa-hcp-vpc-subnet-tagging.adoc[leveloffset=+2]
128129
endif::openshift-rosa-hcp[]
129130

130131
[role="_additional-resources"]

0 commit comments

Comments
 (0)