|
3 | 3 | // * rosa_hcp/rosa-hcp-quickstart-guide.adoc |
4 | 4 | // * rosa_hcp/rosa-hcp-creating-cluster-with-aws-kms-key.adoc |
5 | 5 | // * rosa_hcp/rosa-hcp-sts-creating-a-cluster-quickly.adoc |
| 6 | +ifeval::["{context}" == "rosa-hcp-prereqs"] |
| 7 | +:hcp-preqs: |
| 8 | +endif::[] |
6 | 9 |
|
7 | 10 | :_mod-docs-content-type: PROCEDURE |
8 | 11 | [id="rosa-hcp-vpc-subnet-tagging_{context}"] |
9 | 12 | = Tagging your subnets |
10 | 13 |
|
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: |
12 | 21 |
|
13 | 22 | [cols="3a,8a,8a", options="header"] |
14 | 23 | |=== |
@@ -38,7 +47,7 @@ You must tag at least one private subnet and, if applicable, one public subnet. |
38 | 47 |
|
39 | 48 | .Procedure |
40 | 49 |
|
41 | | -. Tag your resources in your terminal by running the following commands: |
| 50 | +* Tag your resources in your terminal by running the following commands: |
42 | 51 | .. For public subnets, run: |
43 | 52 | + |
44 | 53 | [source,terminal] |
@@ -67,4 +76,7 @@ $ aws ec2 describe-tags --filters "Name=resource-id,Values=<subnet_id>" |
67 | 76 | ---- |
68 | 77 | TAGS Name <subnet-id> subnet <prefix>-subnet-public1-us-east-1a |
69 | 78 | TAGS kubernetes.io/role/elb <subnet-id> subnet 1 |
70 | | ----- |
| 79 | +---- |
| 80 | +ifeval::["{context}" == "rosa-hcp-prereqs"] |
| 81 | +:!hcp-preqs: |
| 82 | +endif::[] |
0 commit comments