From 58a5b77b7f13af997263a6495a351d143caf85bd Mon Sep 17 00:00:00 2001 From: Muhammed Ahmed Date: Fri, 18 Oct 2024 16:58:34 +0100 Subject: [PATCH 1/2] feat(ec2-vpc-endpoint-connection): add tags to properties --- resources/ec2-vpc-endpoint-connection.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/ec2-vpc-endpoint-connection.go b/resources/ec2-vpc-endpoint-connection.go index e7a4f12d..88611153 100644 --- a/resources/ec2-vpc-endpoint-connection.go +++ b/resources/ec2-vpc-endpoint-connection.go @@ -52,6 +52,7 @@ func (l *EC2VPCEndpointConnectionLister) List(_ context.Context, o interface{}) VPCEndpointID: endpointConnection.VpcEndpointId, State: endpointConnection.VpcEndpointState, Owner: endpointConnection.VpcEndpointOwner, + tags: endpointConnection.Tags, }) } @@ -71,6 +72,7 @@ type EC2VPCEndpointConnection struct { VPCEndpointID *string State *string Owner *string + tags []*ec2.Tag } func (r *EC2VPCEndpointConnection) Filter() error { From f9c710179bbe8067f59f0fff76d0b57b5f7125c5 Mon Sep 17 00:00:00 2001 From: Muhammed Ahmed Date: Fri, 18 Oct 2024 19:35:04 +0100 Subject: [PATCH 2/2] refactor(ec2-vpc-endpoint-connection): switch to exported field --- resources/ec2-vpc-endpoint-connection.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/ec2-vpc-endpoint-connection.go b/resources/ec2-vpc-endpoint-connection.go index 88611153..6b5b2bb8 100644 --- a/resources/ec2-vpc-endpoint-connection.go +++ b/resources/ec2-vpc-endpoint-connection.go @@ -52,7 +52,7 @@ func (l *EC2VPCEndpointConnectionLister) List(_ context.Context, o interface{}) VPCEndpointID: endpointConnection.VpcEndpointId, State: endpointConnection.VpcEndpointState, Owner: endpointConnection.VpcEndpointOwner, - tags: endpointConnection.Tags, + Tags: endpointConnection.Tags, }) } @@ -72,7 +72,7 @@ type EC2VPCEndpointConnection struct { VPCEndpointID *string State *string Owner *string - tags []*ec2.Tag + Tags []*ec2.Tag } func (r *EC2VPCEndpointConnection) Filter() error {