Skip to content

Commit b538673

Browse files
committed
Don't overwrite subnet spec tags with AWS tags
1 parent e9f2823 commit b538673

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cloud/services/network/subnets.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ func (s *Service) reconcileSubnets() error {
133133

134134
// Update subnet spec with the existing subnet details
135135
existingSubnet.DeepCopyInto(sub)
136+
sub.Tags = subnetTags
136137

137138
if err := wait.WaitForWithRetryable(wait.NewBackoff(), func() (bool, error) {
138139
buildParams := s.getSubnetTagParams(unmanagedVPC, existingSubnet.GetResourceID(), existingSubnet.IsPublic, existingSubnet.AvailabilityZone, subnetTags, existingSubnet.IsEdge())

0 commit comments

Comments
 (0)