Skip to content

feat: new resource - TransitGatewayVPCAttachment #251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ack_generate_info:
build_date: "2025-03-25T22:26:20Z"
build_date: "2025-03-28T15:21:59Z"
build_hash: 3722729cebe6d3c03c7e442655ef0846f91566a2
go_version: go1.24.0
version: v0.43.2-7-g3722729
api_directory_checksum: b31faecf6092fab9677498f3624e624fee4cbaed
api_directory_checksum: bb3f7a9b3924fdbe63a4082a9134b3f1f653979b
api_version: v1alpha1
aws_sdk_go_version: v1.32.6
generator_config_info:
file_checksum: 33b2c8e790a68bd28b5efe9faa3b8e5fb980d1f4
file_checksum: 34c308f1552184ca33451041fd787bfd9d32dc5e
original_file_name: generator.yaml
last_modification:
reason: API generation
52 changes: 51 additions & 1 deletion apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ ignore:
- CreateSubnetInput.Ipv6NetmaskLength
- CreateSubnetInput.TagSpecifications
- CreateSubnetOutput.Subnet.BlockPublicAccessStates
- CreateTransitGatewayVpcAttachmentInput.DryRun
- CreateTransitGatewayVpcAttachmentInput.TagSpecifications
- CreateTransitGatewayInput.DryRun
- CreateTransitGatewayInput.Options.SecurityGroupReferencingSupport
- CreateTransitGatewayInput.TagSpecifications
Expand Down Expand Up @@ -181,7 +183,7 @@ ignore:
- TransitGatewayRouteTable
- TransitGatewayRoute
- TransitGatewayRouteTableAnnouncement
- TransitGatewayVpcAttachment
# - TransitGatewayVpcAttachment
#- TransitGateway
- VerifiedAccessEndpoint
- VerifiedAccessGroup
Expand Down Expand Up @@ -279,6 +281,8 @@ operations:
operation_type:
- Update
resource_name: VpcPeeringConnection
DescribeTransitGatewayVpcAttachments:
custom_check_required_fields_missing_method: checkForMissingRequiredFields
resources:
CapacityReservation:
fields:
Expand Down Expand Up @@ -799,6 +803,52 @@ resources:
template_path: hooks/transit_gateway/sdk_file_end.go.tpl
update_operation:
custom_method_name: customUpdateTransitGateway
TransitGatewayVpcAttachment:
renames:
operations:
CreateTransitGatewayVpcAttachment:
output_fields:
TransitGatewayAttachmentId: ID
DescribeTransitGatewayVpcAttachments:
input_fields:
TransitGatewayAttachmentIds: ID
output_fields:
TransitGatewayAttachmentId: ID
ModifyTransitGatewayVpcAttachment:
input_fields:
TransitGatewayAttachmentId: ID
DeleteTransitGatewayVpcAttachment:
input_fields:
TransitGatewayAttachmentId: ID
fields:
Tags:
from:
operation: CreateTags
path: Tags
SubnetIds:
references:
resource: Subnet
path: Status.SubnetID
VpcId:
references:
resource: VPC
path: Status.VPCID
TransitGatewayId:
references:
resource: TransitGateway
path: Status.TransitGatewayID
ID:
is_primary_key: true
print:
path: Status.ID
name: ID
hooks:
sdk_create_post_build_request:
template_path: hooks/transit_gateway_vpc_attachment/sdk_create_post_build_request.go.tpl
sdk_update_pre_build_request:
template_path: hooks/transit_gateway_vpc_attachment/sdk_update_pre_build_request.go.tpl
sdk_update_post_build_request:
template_path: hooks/transit_gateway_vpc_attachment/sdk_update_post_build_request.go.tpl
Vpc:
update_operation:
custom_method_name: customUpdateVPC
Expand Down
97 changes: 97 additions & 0 deletions apis/v1alpha1/transit_gateway_vpc_attachment.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 47 additions & 26 deletions apis/v1alpha1/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading