Skip to content

Commit

Permalink
Remove non-existant subnetIds field from `TestIgnoringScalingChange…
Browse files Browse the repository at this point in the history
…s` (#1602)

### Proposed changes

Fixes the `TestIgnoringScalingChanges`. Previously, the following `
Object literal may only specify known properties, and 'subnetIds' does
not exist in type 'NodeGroupV2Args'.` error occurs when running the
upgrade test.

### Related issues (optional)

Fixes: #1601
  • Loading branch information
rquitales authored Jan 27, 2025
1 parent e355da4 commit f1d3a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testdata/programs/ignore-scaling-changes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ const ngV2 = new eks.NodeGroupV2("ignore-scaling-config-ngv2", {
operatingSystem: eks.OperatingSystem.AL2023,
instanceProfile: new aws.iam.InstanceProfile("ignore-scaling-config-ngv2", {role: ngV2Role}),
ignoreScalingChanges: true,
subnetIds: eksVpc.privateSubnetIds,
nodeSubnetIds: eksVpc.privateSubnetIds,
});

0 comments on commit f1d3a7b

Please sign in to comment.