Skip to content
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

@aws-cdk/aws-stepfunctions: not all options for CreateEmrCluster are present #33431

Open
1 task
guillaume-alliander opened this issue Feb 13, 2025 · 1 comment
Labels
@aws-cdk/aws-stepfunctions Related to AWS StepFunctions bug This issue is a bug. effort/medium Medium work item – several days of effort p2

Comments

@guillaume-alliander
Copy link

guillaume-alliander commented Feb 13, 2025

Describe the bug

The signature of tasks.EmrCreateCluster is not consistent with what it is supposed to do, namely follow the RunJobFlow API

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

No response

Expected Behavior

Having arguments like

  • EbsRootVolumeIops
  • EbsRootVolumeSize
  • EbsRootVolumeThroughput
  • ManagedScalingPolicy

(non exhaustive list, this is what I need myself)

Which are part of the RunJobFlow API, but cannot be given to the EmrCreateCluster call.

Current Behavior

Missing arguments, so I cannot create an EMR cluster via cdk in step functions.

Reproduction Steps

As the bug is about missing parameters, not much to show here.

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.178.2

Framework Version

No response

Node.js Version

22.9.0

OS

MacOs 15.3.1

Language

Python

Language Version

3.12.8

Other information

No response

@guillaume-alliander guillaume-alliander added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Feb 13, 2025
@github-actions github-actions bot added the @aws-cdk/aws-stepfunctions Related to AWS StepFunctions label Feb 13, 2025
@pahud pahud self-assigned this Feb 13, 2025
@pahud
Copy link
Contributor

pahud commented Feb 13, 2025

Yes, looking at the EmrCreateClusterOptions interface, it only has ebsRootVolumeSize but is missing:

EbsRootVolumeIops
EbsRootVolumeThroughput
ManagedScalingPolicy

We should check and add missing props in the interface. We welcome the PRs! Thank you.

@pahud pahud added p2 effort/medium Medium work item – several days of effort labels Feb 13, 2025
@pahud pahud removed their assignment Feb 13, 2025
@pahud pahud removed the needs-triage This issue or PR still needs to be triaged. label Feb 13, 2025
@guillaume-alliander guillaume-alliander changed the title @aws-cdk/aws-stepfunctions: not all optioens for CreateEmrCluster are present @aws-cdk/aws-stepfunctions: not all options for CreateEmrCluster are present Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-stepfunctions Related to AWS StepFunctions bug This issue is a bug. effort/medium Medium work item – several days of effort p2
Projects
None yet
Development

No branches or pull requests

2 participants