(aws-eks): instanceType is deprecated, use instanceTypes instead
Describe the bug
There are some integ tests in aws-eks using the deprecated instanceType instead of the instanceTypes and yarn test throws a lot of warnings.
Expected Behavior
No more warnings for deprecated 'instanceType' properties from 'yarn test'
Current Behavior
There are warning signs since instanceType is now deprecated and instanceTypes should be used instead
Reproduction Steps
yarn test on aws-eks
Possible Solution
Change mentions of instanceType to 'instanceTypes'
CDK CLI Version
2.44.0
Node.js Version
v16.13.2
OS
MacOS
Language
Typescript
Working on it
What's the bug you're describing exactly? We deprecated this prop two years ago, so you should only be able to use instanceType in v1, and if you do so in v1 you should see this warning message because we want to throw warnings when properties are deprecated.
I've updated the description now to make it more clear
Thanks @bora-7! Let us know once you've submitted a PR
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.