-
Notifications
You must be signed in to change notification settings - Fork 4k
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
stepfunctions_tasks: Upgrade the volume type when creating EMR cluster with the EmrCreateCluster task #28874
Comments
Yes we can submit a tiny PR to add all supported types in the enum class: aws-cdk/packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/emr/emr-create-cluster.ts Lines 488 to 501 in 6a7a24a
|
|
1 similar comment
|
Describe the bug
In the step function, when creating an EMR cluster with the EmrCreateCluster task, the EBS volume of each instance can be configured. The volume is described by the VolumeSpecificationProperty interface and the type of each volume by the volumeType property and the EbsBlockDeviceVolumeType enum.
But in the
EbsBlockDeviceVolumeType
, there are only thegp2
,io1
andstandard
type. The EMR specification of theRunJobFlow
action accepts for the VolumeType property :gp3
,gp2
,io1
,st1
,sc1
, andstandard
.Expected Behavior
The EmrCreateCluster task should accept all supported volume type of the
RunJobFlow
action :gp3
,gp2
,io1
,st1
,sc1
, andstandard
.Current Behavior
The EmrCreateCluster task only accepts
gp2
,io1
andstandard
EBS volume type.Reproduction Steps
Possible Solution
Upgrade the EbsBlockDeviceVolumeType enum with the missing value :
gp3
,st1
, andsc1
.Additional Information/Context
No response
CDK CLI Version
2.123.0
Framework Version
No response
Node.js Version
20
OS
linux
Language
TypeScript
Language Version
No response
Other information
Some comments in other issue :
The text was updated successfully, but these errors were encountered: