Skip to content

Commit

Permalink
new resource ec2launch template and test caes
Browse files Browse the repository at this point in the history
  • Loading branch information
rkurduka committed Sep 20, 2023
1 parent c2adba4 commit fdc8455
Show file tree
Hide file tree
Showing 37 changed files with 5,861 additions and 219 deletions.
12 changes: 6 additions & 6 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: "2023-09-14T23:23:00Z"
build_hash: 892f29d00a4c4ad21a2fa32919921de18190979d
go_version: go1.21.0
version: v0.27.1
api_directory_checksum: cd75b9b3537b16abdbf981cc60ab948e978ad939
build_date: "2023-09-20T11:19:38Z"
build_hash: e9b68590da73ce9143ba1e4361cebdc1d876c81e
go_version: go1.20.3
version: v0.26.1-7-ge9b6859
api_directory_checksum: 5fba18fb7f9bccf860caf2da80e33859d4f93020
api_version: v1alpha1
aws_sdk_go_version: v1.44.93
generator_config_info:
file_checksum: e3d618bcc0a018d73959e27cc0d74c7abfa0502d
file_checksum: ae8176be538fe3f653bc1bad979f59bba34b1cbc
original_file_name: generator.yaml
last_modification:
reason: API generation
50 changes: 49 additions & 1 deletion apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ ignore:
- IpamScope
- KeyPair
- LaunchTemplateVersion
- LaunchTemplate
#- LaunchTemplate
- LocalGatewayRouteTableVpcAssociation
- LocalGatewayRoute
- ManagedPrefixList
Expand Down Expand Up @@ -144,6 +144,8 @@ operations:
output_wrapper_field_path: NatGateway
CreateNetworkAcl:
output_wrapper_field_path: NetworkAcl
CreateLaunchTemplate:
output_wrapper_field_path: LaunchTemplate
CreateVpcEndpoint:
output_wrapper_field_path: VpcEndpoint
DeleteVpcEndpoints:
Expand Down Expand Up @@ -185,6 +187,52 @@ operations:
- Delete
resource_name: Instance
resources:
LaunchTemplate:
exceptions:
errors:
404:
code: InvalidLaunchTemplateName.NotFoundException
terminal_codes:
- InvalidParameterValue
- InvalidTagSpecification
fields:
LaunchTemplateID:
is_primary_key: true
print:
path: Status.LaunchTemplateID
name: LaunchTemplateID
DefaultVersionNumber:
type: int
print:
path: Status.defaultVersionNumber
name: DefaultVersion
LatestVersionNumber:
print:
path: Status.latestVersionNumber
name: LatestVersion
tags:
ignore: true
renames:
operations:
CreateLaunchTemplate:
input_fields:
LaunchTemplateName: Name
output_fields:
LaunchTemplateId: LaunchTemplateId
DeleteLaunchTemplate:
input_fields:
LaunchTemplateId: LaunchTemplateId
LaunchTemplateName: Name
DescribeLaunchTemplate:
input_fields:
LaunchTemplateName: Name
reconcile:
requeue_on_success_seconds: 60
hooks:
sdk_update_post_build_request:
template_path: hooks/launch_template/sdk_update_post_build_request.go.tpl
sdk_delete_post_build_request:
template_path: hooks/launch_template/sdk_delete_post_build_request.go.tpl
DhcpOptions:
exceptions:
terminal_codes:
Expand Down
110 changes: 110 additions & 0 deletions apis/v1alpha1/launch_template.go

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

Loading

0 comments on commit fdc8455

Please sign in to comment.