Skip to content

Commit

Permalink
enables IPV6 (#4131)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanschmidt authored May 9, 2023
1 parent 81861e0 commit 3b6fe9a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ resource "aws_security_group" "runners_sg" {
vpc_id = element(var.vpc_ids, count.index).vpc

egress {
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
ipv6_cidr_blocks = ["::/0"]
}
tags = merge(
local.tags,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ function createExpectedRunInstancesLinux(
],
NetworkInterfaces: [
{
Ipv6AddressCount: 1,
AssociatePublicIpAddress: true,
SubnetId: snetId,
Groups: secGroup,
Expand Down Expand Up @@ -480,6 +481,7 @@ describe('createRunner', () => {
],
NetworkInterfaces: [
{
Ipv6AddressCount: 1,
AssociatePublicIpAddress: true,
SubnetId: snetId[0],
Groups: secGroup,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ export async function createRunner(runnerParameters: RunnerInputParameters, metr
],
NetworkInterfaces: [
{
Ipv6AddressCount: 1,
AssociatePublicIpAddress: true,
SubnetId: subnet,
Groups: securityGroupIds,
Expand Down

0 comments on commit 3b6fe9a

Please sign in to comment.