-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Labels
@aws-cdk/aws-batchRelated to AWS BatchRelated to AWS BatchbugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.
Description
Describe the bug
Issue #35515 / release 2.220 deprecated property useOptimalInstanceClasses of managed compute environments. But this option is still needed if users want to avoid including optimal in a compute environment's instance types.
Please remove the deprecation warning for use of this property, or change its default to false.
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Library Version
2.219
Expected Behavior
No deprecation warning.
Current Behavior
Deprecation warning when use useOptimalInstanceClasses.
Reproduction Steps
Synthesize a cdk stack with a Batch compute environment and setting useOptimalInstanceClasses.
Possible Solution
Revert the deprecation.
Additional Information/Context
No response
AWS CDK Library version (aws-cdk-lib)
2.220
AWS CDK CLI version
2.1033.0
Node.js Version
22.18.0
OS
AL2023
Language
Python
Language Version
3.11
Other information
No response
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-batchRelated to AWS BatchRelated to AWS BatchbugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.