Skip to content

Commit 1ce900f

Browse files
authored
Add ServiceNetworkArn to vpc_endpoint (#284)
Issue #, if available: Description of changes: By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent cb12d94 commit 1ce900f

File tree

10 files changed

+84
-25
lines changed

10 files changed

+84
-25
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2025-09-19T17:24:00Z"
2+
build_date: "2025-09-25T16:19:07Z"
33
build_hash: 6b4211163dcc34776b01da9a18217bac0f4103fd
44
go_version: go1.24.6
55
version: v0.52.0
6-
api_directory_checksum: b32f97274be98ca3f4cf5cbf559258210c872946
6+
api_directory_checksum: 5a5c93e3d4865ea08d8a47b2500551112ea831b9
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:
10-
file_checksum: 381d3f31a88cd00e07717b8957ffb5141218130a
10+
file_checksum: 6d72b2e7d053535b6f6966348d3ac4e4535052cd
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,11 @@ ignore:
6161
- CreateVpcEndpointInput.ClientToken
6262
- CreateVpcEndpointInput.DnsOptions.PrivateDnsOnlyForInboundResolverEndpoint
6363
- CreateVpcEndpointInput.ResourceConfigurationArn
64-
- CreateVpcEndpointInput.ServiceNetworkArn
6564
- CreateVpcEndpointInput.SubnetConfigurations
6665
- CreateVpcEndpointOutput.VpcEndpoint.FailureReason
6766
- CreateVpcEndpointOutput.VpcEndpoint.Ipv4Prefixes
6867
- CreateVpcEndpointOutput.VpcEndpoint.Ipv6Prefixes
6968
- CreateVpcEndpointOutput.VpcEndpoint.ResourceConfigurationArn
70-
- CreateVpcEndpointOutput.VpcEndpoint.ServiceNetworkArn
7169
- CreateVpcEndpointServiceConfigurationInput.ClientToken
7270
- CreateVpcEndpointServiceConfigurationInput.DryRun
7371
- CreateVpcEndpointServiceConfigurationInput.TagSpecifications
@@ -1025,6 +1023,9 @@ resources:
10251023
ServiceRegion:
10261024
# ServiceRegion is not supported in ModifyVpcEndpoint's input.
10271025
is_immutable: true
1026+
ServiceNetworkARN:
1027+
# ServiceNetworkARN is not supported in ModifyVpcEndpoint's input.
1028+
is_immutable: true
10281029
exceptions:
10291030
terminal_codes:
10301031
- InvalidVpcId.Malformed

apis/v1alpha1/types.go

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

apis/v1alpha1/vpc_endpoint.go

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

apis/v1alpha1/zz_generated.deepcopy.go

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

config/crd/bases/ec2.services.k8s.aws_vpcendpoints.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,14 @@ spec:
135135
serviceName:
136136
description: The name of the endpoint service.
137137
type: string
138+
serviceNetworkARN:
139+
description: |-
140+
The Amazon Resource Name (ARN) of a service network that will be associated
141+
with the VPC endpoint of type service-network.
142+
type: string
143+
x-kubernetes-validations:
144+
- message: Value is immutable once set
145+
rule: self == oldSelf
138146
serviceRegion:
139147
description: The Region where the service is hosted. The default is
140148
the current Region.

generator.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,11 @@ ignore:
6161
- CreateVpcEndpointInput.ClientToken
6262
- CreateVpcEndpointInput.DnsOptions.PrivateDnsOnlyForInboundResolverEndpoint
6363
- CreateVpcEndpointInput.ResourceConfigurationArn
64-
- CreateVpcEndpointInput.ServiceNetworkArn
6564
- CreateVpcEndpointInput.SubnetConfigurations
6665
- CreateVpcEndpointOutput.VpcEndpoint.FailureReason
6766
- CreateVpcEndpointOutput.VpcEndpoint.Ipv4Prefixes
6867
- CreateVpcEndpointOutput.VpcEndpoint.Ipv6Prefixes
6968
- CreateVpcEndpointOutput.VpcEndpoint.ResourceConfigurationArn
70-
- CreateVpcEndpointOutput.VpcEndpoint.ServiceNetworkArn
7169
- CreateVpcEndpointServiceConfigurationInput.ClientToken
7270
- CreateVpcEndpointServiceConfigurationInput.DryRun
7371
- CreateVpcEndpointServiceConfigurationInput.TagSpecifications
@@ -1025,6 +1023,9 @@ resources:
10251023
ServiceRegion:
10261024
# ServiceRegion is not supported in ModifyVpcEndpoint's input.
10271025
is_immutable: true
1026+
ServiceNetworkARN:
1027+
# ServiceNetworkARN is not supported in ModifyVpcEndpoint's input.
1028+
is_immutable: true
10281029
exceptions:
10291030
terminal_codes:
10301031
- InvalidVpcId.Malformed

helm/crds/ec2.services.k8s.aws_vpcendpoints.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,14 @@ spec:
135135
serviceName:
136136
description: The name of the endpoint service.
137137
type: string
138+
serviceNetworkARN:
139+
description: |-
140+
The Amazon Resource Name (ARN) of a service network that will be associated
141+
with the VPC endpoint of type service-network.
142+
type: string
143+
x-kubernetes-validations:
144+
- message: Value is immutable once set
145+
rule: self == oldSelf
138146
serviceRegion:
139147
description: The Region where the service is hosted. The default is
140148
the current Region.

pkg/resource/vpc_endpoint/delta.go

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

pkg/resource/vpc_endpoint/sdk.go

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

0 commit comments

Comments
 (0)