We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061134a commit 4701b61Copy full SHA for 4701b61
pkg/cloud/services/ec2/instances.go
@@ -1325,6 +1325,9 @@ func getInstanceCPUOptionsRequest(cpuOptions infrav1.CPUOptions) *types.CpuOptio
1325
return request
1326
}
1327
1328
+// shouldEnablePrimaryIpv6 determines whether to enable a primary IPv6 address for an instance.
1329
+// It returns true if both the VPC has IPv6 enabled and the instance's subnet has an IPv6 CIDR block.
1330
+// This is required when registering instances by ID to IPv6 target groups.
1331
func (s *Service) shouldEnablePrimaryIpv6(i *infrav1.Instance) (bool, error) {
1332
var enablePrimaryIpv6 bool
1333
0 commit comments