(glue): Timeout and workerType missing validation for Ray job types #29612
Labels
@aws-cdk/aws-glue
Related to AWS Glue
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p3
Describe the bug
When developing Ray jobs via CDK, I bumped into the fact that specifying a timeout or not specifying a worker type on
Job
for Ray job types will succeed in synthesis, but fail deployment.Expected Behavior
I'd expect an error to be thrown if workerType is not provided or timeout is provided, as both of these will cause deployment failures for Ray job types.
Current Behavior
Synthesis passes and failure occurs on deployment:
or
Reproduction Steps
Possible Solution
Additional validation in
packages/@aws-cdk/aws-glue-alpha/lib/job.ts
would address this and provide a slightly smoother developer experience when working with ray job types. I would be interested in contributing a fix if triage determines this is valid bug.Additional Information/Context
No response
CDK CLI Version
2.133.0
Framework Version
2.133.0
Node.js Version
20.10.0
OS
macOS
Language
TypeScript
Language Version
5.3.3
Other information
No response
The text was updated successfully, but these errors were encountered: