Skip to content

Commit f7055d8

Browse files
authored
Generate Vpc Endpoint using ACK runtime v0.15.1 (#15)
* generate vpc endpoint * add vpc endpoints hook for delete * add vpc endpoint exceptions * add vpc endpoint smoke tests * apply ack runtime v0.15.1 updates
1 parent 9a1a56b commit f7055d8

29 files changed

+3035
-121
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: "2021-10-08T18:52:21Z"
3-
build_hash: 385779a205bea50e8762b76bc75cab957cf723b9
4-
go_version: go1.15
2+
build_date: "2021-10-08T20:55:38Z"
3+
build_hash: 4b30ff5578e2f570d1c5b1741f3098be0d78e246
4+
go_version: go1.17
55
version: v0.15.1
6-
api_directory_checksum: f932597e3f04c589fffc88c5868e584fe3c8c8ce
6+
api_directory_checksum: e860f6435d7aa89d9171eb1e0e42d969a9cd4d84
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.37.10
99
generator_config_info:
10-
file_checksum: f4eaa88d729c475a9e61cbf96c021732a2732fcd
10+
file_checksum: 45f149e5444111a0e7a0a159b47c1ae38adfb0a6
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
ignore:
22
field_paths:
3+
- CreateVpcEndpointInput.DryRun
34
- CreateVpcInput.DryRun
45
- CreateSubnetInput.DryRun
56
- CreateRouteTableInput.DryRun
@@ -55,14 +56,22 @@ ignore:
5556
- Volume
5657
- VpcEndpointConnectionNotification
5758
- VpcEndpointServiceConfiguration
58-
- VpcEndpoint
59+
#- VpcEndpoint
5960
#- Vpc
6061
- VpcCidrBlock
6162
- VpcPeeringConnection
6263
- VpnConnectionRoute
6364
- VpnConnection
6465
- VpnGateway
6566

67+
operations:
68+
CreateVpcEndpoint:
69+
output_wrapper_field_path: VpcEndpoint
70+
DeleteVpcEndpoints:
71+
operation_type:
72+
- Delete
73+
resource_name: VpcEndpoint
74+
6675
resources:
6776
Subnet:
6877
exceptions:
@@ -73,4 +82,14 @@ resources:
7382
exceptions:
7483
terminal_codes:
7584
- InvalidVpcID.Malformed
76-
- InvalidVpcID.NotFound
85+
- InvalidVpcID.NotFound
86+
VpcEndpoint:
87+
exceptions:
88+
terminal_codes:
89+
- InvalidVpcId.Malformed
90+
- InvalidVpcId.NotFound
91+
- InvalidServiceName
92+
hooks:
93+
sdk_delete_post_build_request:
94+
template_path: hooks/vpc_endpoint/sdk_delete_post_build_request.go.tpl
95+

apis/v1alpha1/types.go

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

0 commit comments

Comments
 (0)