Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
flostadler committed Oct 3, 2024
1 parent 01c0217 commit 29a768a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/extra-sg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const nodeIngressRule = new aws.ec2.SecurityGroupRule("nodeIngressRule", {
fromPort: 0,
toPort: 65535,
protocol: "tcp",
securityGroupId: cluster.nodeSecurityGroup.id,
securityGroupId: cluster.nodeSecurityGroup.apply((sg) => sg!.id),
sourceSecurityGroupId: customSecurityGroup.id,
});

Expand Down Expand Up @@ -108,6 +108,6 @@ const ng = new eks.NodeGroupV2("example-mng", {
amiId: "ami-066e69f6f03b5383e",
extraNodeSecurityGroups: [
customSecurityGroup, // Plain type
cluster.nodeSecurityGroup, // Input type
cluster.nodeSecurityGroup.apply(sg => sg!), // Input type
],
});

0 comments on commit 29a768a

Please sign in to comment.