1 #######################################################################################
2 # Copyright ETSI Contributors and Others.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #######################################################################################
19 apiVersion: ec2.aws.upbound.io/v1beta1
22 name: ${cluster_resource_name}-public-subnet-${cluster_location}a
26 cluster: ${cluster_resource_name}
27 zone: ${cluster_location}a
31 region: ${cluster_location}
32 availabilityZone: ${cluster_location}a
33 cidrBlock: 10.10.0.0/24
37 cluster: ${cluster_resource_name}
38 mapPublicIpOnLaunch: true
40 kubernetes.io/role/elb: "1"
41 Name: ${cluster_name}-public-subnet-${cluster_location}a
42 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
44 name: ${providerconfig_name}
47 apiVersion: ec2.aws.upbound.io/v1beta1
50 name: ${cluster_resource_name}-public-subnet-${cluster_location}b
54 cluster: ${cluster_resource_name}
55 zone: ${cluster_location}b
59 region: ${cluster_location}
60 availabilityZone: ${cluster_location}b
61 cidrBlock: 10.10.1.0/24
65 cluster: ${cluster_resource_name}
66 mapPublicIpOnLaunch: true
68 kubernetes.io/role/elb: "1"
69 Name: ${cluster_name}-public-subnet-${cluster_location}b
70 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
72 name: ${providerconfig_name}
75 apiVersion: ec2.aws.upbound.io/v1beta1
78 name: ${cluster_resource_name}-private-subnet-${cluster_location}a
82 cluster: ${cluster_resource_name}
83 zone: ${cluster_location}a
87 region: ${cluster_location}
88 availabilityZone: ${cluster_location}a
89 cidrBlock: 10.10.2.0/24
93 cluster: ${cluster_resource_name}
94 mapPublicIpOnLaunch: false
96 kubernetes.io/role/elb: "1"
97 Name: ${cluster_name}-private-subnet-${cluster_location}a
98 kubernetes.io/cluster/{cluster_name}: shared
99 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
101 name: ${providerconfig_name}
104 apiVersion: ec2.aws.upbound.io/v1beta1
107 name: ${cluster_resource_name}-private-subnet-${cluster_location}b
111 cluster: ${cluster_resource_name}
112 zone: ${cluster_location}b
116 region: ${cluster_location}
117 availabilityZone: ${cluster_location}b
118 cidrBlock: 10.10.3.0/24
122 cluster: ${cluster_resource_name}
123 mapPublicIpOnLaunch: false
125 kubernetes.io/role/elb: "1"
126 Name: ${cluster_name}-private-subnet-${cluster_location}b
127 kubernetes.io/cluster/{cluster_name}: shared
128 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
130 name: ${providerconfig_name}