Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove non-existant subnetIds field from TestIgnoringScalingChanges #1602

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

rquitales
Copy link
Member

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

@rquitales rquitales self-assigned this Jan 27, 2025
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@@ -61,5 +61,4 @@ 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,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’d be great if we could change this to nodeSubnetIds instead. That way those nodes will not consume EIPs

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can update this PR. Wasn't sure what the best fallback option here was when updating the test.

@rquitales rquitales mentioned this pull request Jan 27, 2025
@rquitales rquitales merged commit f1d3a7b into master Jan 27, 2025
34 checks passed
@rquitales rquitales deleted the rquitales/fix-ignore-scaling-changes-test branch January 27, 2025 22:29
@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v3.8.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestIgnoringScalingChanges fails when run
3 participants