Skip to content

Commit 2f716db

Browse files
authored
Merge pull request #4930 from giantswarm/pr-subnet-id
🐛 Add ID to secondary subnets
2 parents 39345f3 + 959218e commit 2f716db

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
@@ -114,6 +114,7 @@ func (s *Service) reconcileSubnets() error {
114114

115115
for i, sub := range subnetCIDRs {
116116
secondarySub := infrav1.SubnetSpec{
117+
ID: fmt.Sprintf("%s-subnet-%s-%s", s.scope.Name(), infrav1.SecondarySubnetTagValue, zones[i]),
117118
CidrBlock: sub.String(),
118119
AvailabilityZone: zones[i],
119120
IsPublic: false,

0 commit comments

Comments
 (0)