Skip to content

Commit aba499a

Browse files
authored
Adding Route table (#6)
Issue #, if available: [#489](aws-controllers-k8s/community#489) Description of changes: * adds route table resource * refactors e2e tests to share common resources (i.e. VPC) * otherwise, vpcs would need to be created for each test which is inefficient and may exceed quota * now, only 2 vpcs are created per test run * could not use `@pytest.fixture(scope="session")` on vpc because we use [pytest-xdist](pytest-dev/pytest-xdist#271) * adds route table tests By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 4db795a commit aba499a

32 files changed

+2485
-156
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
ack_generate_info:
2-
build_date: "2021-09-01T18:32:41Z"
3-
build_hash: 6f22b7b568e25b4ee007bb1ab5f9338c16daf172
2+
build_date: "2021-09-02T21:26:56Z"
3+
build_hash: d20cb4f8170e3bae0af2783f1cccbcd98c868b52
44
go_version: go1.17 darwin/amd64
55
version: v0.13.0
6-
api_directory_checksum: ae8b61e0359ce7d3f8795b243537b07c43e2609e
6+
api_directory_checksum: 5c310ddd87ebed17d437af5c8a17cad97d2fd083
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.37.10
99
generator_config_info:
10-
file_checksum: d37d8e26f07ea82e6ce896adffc138034078c1e1
10+
file_checksum: 61ae549a230a8641ecc9edec1eec8c0bcde87b83
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation
14-
timestamp: 2021-09-01 18:32:53.713542 +0000 UTC
14+
timestamp: 2021-09-02 21:27:04.884645 +0000 UTC

apis/v1alpha1/generator.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ ignore:
22
field_paths:
33
- CreateVpcInput.DryRun
44
- CreateSubnetInput.DryRun
5+
- CreateRouteTableInput.DryRun
56
resource_names:
67
- AccountAttribute
78
- CapacityReservation
@@ -32,7 +33,7 @@ ignore:
3233
- NetworkInterface
3334
- PlacementGroup
3435
- ReservedInstancesListing
35-
- RouteTable
36+
#- RouteTable
3637
- Route
3738
- SecurityGroup
3839
- Snapshot
@@ -64,6 +65,11 @@ ignore:
6465

6566
resources:
6667
Subnet:
68+
exceptions:
69+
terminal_codes:
70+
- InvalidVpcID.Malformed
71+
- InvalidVpcID.NotFound
72+
RouteTable:
6773
exceptions:
6874
terminal_codes:
6975
- InvalidVpcID.Malformed

apis/v1alpha1/route_table.go

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

apis/v1alpha1/types.go

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

0 commit comments

Comments
 (0)