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/v1beta2
22 name: ${cluster_resource_name}-public-route
25 cluster: ${cluster_resource_name}
28 region: ${cluster_location}
29 destinationCidrBlock: 0.0.0.0/0
33 cluster: ${cluster_resource_name}
38 cluster: ${cluster_resource_name}
41 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
43 name: ${providerconfig_name}
46 apiVersion: ec2.aws.upbound.io/v1beta2
49 name: ${cluster_resource_name}-private-route
52 cluster: ${cluster_resource_name}
55 region: ${cluster_location}
56 destinationCidrBlock: 0.0.0.0/0
60 cluster: ${cluster_resource_name}
65 cluster: ${cluster_resource_name}
68 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
70 name: ${providerconfig_name}
73 apiVersion: ec2.aws.upbound.io/v1beta1
76 name: ${cluster_resource_name}-public-route-table
79 cluster: ${cluster_resource_name}
84 region: ${cluster_location}
88 cluster: ${cluster_resource_name}
90 Name: ${cluster_name}-public-route-table
91 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
93 name: ${providerconfig_name}
96 apiVersion: ec2.aws.upbound.io/v1beta1
99 name: ${cluster_resource_name}-private-route-table
102 cluster: ${cluster_resource_name}
107 region: ${cluster_location}
111 cluster: ${cluster_resource_name}
113 Name: ${cluster_name}-private-route-table
114 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
116 name: ${providerconfig_name}
119 apiVersion: ec2.aws.upbound.io/v1beta1
120 kind: RouteTableAssociation
122 name: ${cluster_resource_name}-public-route-association-1a
125 cluster: ${cluster_resource_name}
128 region: ${cluster_location}
132 cluster: ${cluster_resource_name}
135 zone: ${cluster_location}a
136 routeTableIdSelector:
139 cluster: ${cluster_resource_name}
142 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
144 name: ${providerconfig_name}
147 apiVersion: ec2.aws.upbound.io/v1beta1
148 kind: RouteTableAssociation
150 name: ${cluster_resource_name}-public-route-association-1b
153 cluster: ${cluster_resource_name}
156 region: ${cluster_location}
160 cluster: ${cluster_resource_name}
163 zone: ${cluster_location}b
164 routeTableIdSelector:
167 cluster: ${cluster_resource_name}
170 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
172 name: ${providerconfig_name}
175 apiVersion: ec2.aws.upbound.io/v1beta1
176 kind: RouteTableAssociation
178 name: ${cluster_resource_name}-private-route-association-1a
181 cluster: ${cluster_resource_name}
184 region: ${cluster_location}
188 cluster: ${cluster_resource_name}
191 zone: ${cluster_location}a
192 routeTableIdSelector:
195 cluster: ${cluster_resource_name}
198 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
200 name: ${providerconfig_name}
203 apiVersion: ec2.aws.upbound.io/v1beta1
204 kind: RouteTableAssociation
206 name: ${cluster_resource_name}-private-route-association-1b
209 cluster: ${cluster_resource_name}
212 region: ${cluster_location}
216 cluster: ${cluster_resource_name}
219 zone: ${cluster_location}b
220 routeTableIdSelector:
223 cluster: ${cluster_resource_name}
226 # Use in case you wanted to use different credentials (i.e., ProviderConfig different than default)
228 name: ${providerconfig_name}