Skip to content

Commit 9562a9e

Browse files
authored
Update ACK runtime to v0.19.2 (#56)
Issue #, if available: aws-controllers-k8s/community#1363 Description of changes: * Updates `go.mod` to use runtime v0.19.2 * Replace TagSpecifications field with Tags otherwise code-generator will fail stating resource does not have 'Tags' field; required to update to latest runtime By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent aa747d9 commit 9562a9e

File tree

112 files changed

+2124
-1124
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+2124
-1124
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2022-06-02T15:43:18Z"
3-
build_hash: f65a1edc5cee4768ee4fd34b9932799d50c56240
2+
build_date: "2022-06-27T22:15:20Z"
3+
build_hash: 208b1e15257d57c46729698f47a40fd59441ecbd
44
go_version: go1.18.1
5-
version: v0.18.4-14-gf65a1ed-dirty
6-
api_directory_checksum: 1d5df6d5b0ea731e73f922da612e643a28ff8ea1
5+
version: v0.19.2-1-g208b1e1
6+
api_directory_checksum: 8c35bdcab21768638dfaa277896e05fdd8a11969
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.0
99
generator_config_info:
10-
file_checksum: 89addadb5e22cf16b15db6de95c333a0b53f2a68
10+
file_checksum: 93b679809f07b0ffa74b5ac6dce890d955e2cc19
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/dhcp_options.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/elastic_ip_address.go

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/generator.yaml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,28 @@ ignore:
44
- ModifyVpcEndpoint
55
field_paths:
66
- AllocateAddressInput.DryRun
7+
- AllocateAddressInput.TagSpecifications
78
- CreateDhcpOptionsInput.DryRun
9+
- CreateDhcpOptionsInput.TagSpecifications
810
- CreateInternetGatewayInput.DryRun
11+
- CreateInternetGatewayInput.TagSpecifications
912
- CreateNatGatewayInput.ClientToken
1013
- CreateNatGatewayInput.DryRun
14+
- CreateNatGatewayInput.TagSpecifications
1115
- CreateRouteInput.DryRun
1216
- CreateRouteInput.RouteTableId
1317
- CreateRouteTableInput.DryRun
18+
- CreateRouteTableInput.TagSpecifications
1419
- CreateSecurityGroupInput.DryRun
20+
- CreateSecurityGroupInput.TagSpecifications
1521
- CreateSubnetInput.DryRun
22+
- CreateSubnetInput.TagSpecifications
1623
- CreateTransitGatewayInput.DryRun
24+
- CreateTransitGatewayInput.TagSpecifications
1725
- CreateVpcInput.DryRun
26+
- CreateVpcInput.TagSpecifications
1827
- CreateVpcEndpointInput.DryRun
28+
- CreateVpcEndpointInput.TagSpecifications
1929
- DeleteRouteInput.DryRun
2030
- DeleteRouteInput.RouteTableId
2131
# support EC2-VPC only
@@ -150,6 +160,13 @@ resources:
150160
DHCPConfigurations.Values:
151161
set:
152162
- from: AttributeValue.Value
163+
Tags:
164+
from:
165+
operation: CreateTags
166+
path: Tags
167+
hooks:
168+
sdk_create_post_build_request:
169+
template_path: hooks/dhcp_options/sdk_create_post_build_request.go.tpl
153170
Instance:
154171
fields:
155172
HibernationOptions:
@@ -199,6 +216,10 @@ resources:
199216
PublicIp:
200217
print:
201218
name: PUBLIC-IP
219+
Tags:
220+
from:
221+
operation: CreateTags
222+
path: Tags
202223
list_operation:
203224
match_fields:
204225
- AllocationId
@@ -213,6 +234,10 @@ resources:
213234
template_path: hooks/elastic_ip_address/sdk_read_many_post_build_request.go.tpl
214235
InternetGateway:
215236
fields:
237+
Tags:
238+
from:
239+
operation: CreateTags
240+
path: Tags
216241
VPC:
217242
from:
218243
operation: AttachInternetGateway
@@ -221,6 +246,8 @@ resources:
221246
resource: VPC
222247
path: Status.VPCID
223248
hooks:
249+
sdk_create_post_build_request:
250+
template_path: hooks/internet_gateway/sdk_create_post_build_request.go.tpl
224251
sdk_create_post_set_output:
225252
template_path: hooks/internet_gateway/sdk_create_post_set_output.go.tpl
226253
sdk_read_many_post_set_output:
@@ -239,11 +266,18 @@ resources:
239266
references:
240267
resource: Subnet
241268
path: Status.SubnetID
269+
Tags:
270+
from:
271+
operation: CreateTags
272+
path: Tags
242273
synced:
243274
when:
244275
- path: Status.State
245276
in:
246277
- available
278+
hooks:
279+
sdk_create_post_build_request:
280+
template_path: hooks/nat_gateway/sdk_create_post_build_request.go.tpl
247281
RouteTable:
248282
exceptions:
249283
terminal_codes:
@@ -264,6 +298,10 @@ resources:
264298
Routes:
265299
custom_field:
266300
list_of: CreateRouteInput
301+
Tags:
302+
from:
303+
operation: CreateTags
304+
path: Tags
267305
VpcId:
268306
references:
269307
resource: VPC
@@ -287,6 +325,8 @@ resources:
287325
hooks:
288326
delta_pre_compare:
289327
code: customPreCompare(a, b)
328+
sdk_create_post_build_request:
329+
template_path: hooks/route_table/sdk_create_post_build_request.go.tpl
290330
sdk_create_post_set_output:
291331
template_path: hooks/route_table/sdk_create_post_set_output.go.tpl
292332
sdk_read_many_post_set_output:
@@ -300,6 +340,10 @@ resources:
300340
# support EC2-VPC only
301341
Id:
302342
is_primary_key: true
343+
Tags:
344+
from:
345+
operation: CreateTags
346+
path: Tags
303347
VpcId:
304348
is_required: true
305349
references:
@@ -325,6 +369,9 @@ resources:
325369
- InvalidVpcID.Malformed
326370
- InvalidVpcID.NotFound
327371
- VPCIdNotSpecified
372+
hooks:
373+
sdk_create_post_build_request:
374+
template_path: hooks/security_group/sdk_create_post_build_request.go.tpl
328375
Subnet:
329376
fields:
330377
RouteTables:
@@ -333,6 +380,10 @@ resources:
333380
references:
334381
resource: RouteTable
335382
path: Status.RouteTableID
383+
Tags:
384+
from:
385+
operation: CreateTags
386+
path: Tags
336387
VpcId:
337388
references:
338389
resource: VPC
@@ -342,12 +393,23 @@ resources:
342393
- InvalidVpcID.Malformed
343394
- InvalidVpcID.NotFound
344395
hooks:
396+
sdk_create_post_build_request:
397+
template_path: hooks/subnet/sdk_create_post_build_request.go.tpl
345398
sdk_create_post_set_output:
346399
template_path: hooks/subnet/sdk_create_post_set_output.go.tpl
347400
sdk_read_many_post_set_output:
348401
template_path: hooks/subnet/sdk_read_many_post_set_output.go.tpl
349402
update_operation:
350403
custom_method_name: customUpdateSubnet
404+
TransitGateway:
405+
fields:
406+
Tags:
407+
from:
408+
operation: CreateTags
409+
path: Tags
410+
hooks:
411+
sdk_create_post_build_request:
412+
template_path: hooks/transit_gateway/sdk_create_post_build_request.go.tpl
351413
Vpc:
352414
update_operation:
353415
custom_method_name: customUpdate
@@ -366,7 +428,13 @@ resources:
366428
from:
367429
operation: ModifyVpcAttribute
368430
path: EnableDnsHostnames.Value
431+
Tags:
432+
from:
433+
operation: CreateTags
434+
path: Tags
369435
hooks:
436+
sdk_create_post_build_request:
437+
template_path: hooks/vpc/sdk_create_post_build_request.go.tpl
370438
sdk_create_post_set_output:
371439
template_path: hooks/vpc/sdk_create_post_set_output.go.tpl
372440
sdk_read_many_post_set_output:
@@ -375,6 +443,10 @@ resources:
375443
fields:
376444
PolicyDocument:
377445
late_initialize: {}
446+
Tags:
447+
from:
448+
operation: CreateTags
449+
path: Tags
378450
VpcId:
379451
references:
380452
resource: VPC
@@ -397,5 +469,7 @@ resources:
397469
- InvalidVpcId.NotFound
398470
- InvalidServiceName
399471
hooks:
472+
sdk_create_post_build_request:
473+
template_path: hooks/vpc_endpoint/sdk_create_post_build_request.go.tpl
400474
sdk_delete_post_build_request:
401475
template_path: hooks/vpc_endpoint/sdk_delete_post_build_request.go.tpl

apis/v1alpha1/internet_gateway.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/nat_gateway.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/route_table.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/security_group.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/subnet.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/transit_gateway.go

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)