[@aws-cdk/aws-stepfunctions-tasks] SageMakerCreateTrainingJob fails on deploy The field "AtttributeNames" is not supported by Step Functions #10014
Labels
@aws-cdk/aws-stepfunctions-tasks
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
As per title trying to deploy a step function with
SageMakerCreateTrainingJob
will fail due to a typo in the code.AtttributeNames
should be replaced withAttributeNames
aws-cdk/packages/@aws-cdk/aws-stepfunctions-tasks/lib/sagemaker/create-training-job.ts
Line 256 in 75e6d25
Reproduction Steps
Just create a
SageMakerCreateTrainingJob
with a inputDataConfig field. egWhat did you expect to happen?
should deploy correctly as the definition is correct
What actually happened?
deploy fails with the following error:
Invalid State Machine Definition: 'SCHEMA_VALIDATION_FAILED: The field "AtttributeNames" is not supported by Step Functions at /States/Sagemaker Training Job/Parameters' (Service: AWSStepFunctions; Status Code: 400; Error Code: InvalidDefinition; Proxy: null)
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: