Skip to content

Commit

Permalink
Set PrimaryIpv6 flag. (#174)
Browse files Browse the repository at this point in the history
This is needed to add an instance as target to a loadbalancer.
  • Loading branch information
axel7born authored Sep 13, 2024
1 parent 1337c46 commit 5f43434
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/aws/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ func (d *Driver) CreateMachine(_ context.Context, req *driver.CreateMachineReque

if netIf.Ipv6AddressCount != nil {
spec.Ipv6AddressCount = netIf.Ipv6AddressCount
spec.PrimaryIpv6 = aws.Bool(true)
}

networkInterfaceSpecs = append(networkInterfaceSpecs, spec)
Expand Down

0 comments on commit 5f43434

Please sign in to comment.