-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(stepfunctions-tasks): runtime role in EmrAddStep #27736
Conversation
...nteg/test/aws-stepfunctions-tasks/test/emr/integ.emr-create-cluster-add-step-runtime-role.ts
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/emr/emr-add-step.ts
Outdated
Show resolved
Hide resolved
@mattliemAWS if you're interested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The implementation looks good.
Some adjustments are needed on documentation and tests in my opinion.
packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/emr/emr-add-step.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-stepfunctions-tasks/test/emr/emr-add-step.test.ts
Outdated
Show resolved
Hide resolved
...nteg/test/aws-stepfunctions-tasks/test/emr/integ.emr-create-cluster-add-step-runtime-role.ts
Outdated
Show resolved
Hide resolved
...nteg/test/aws-stepfunctions-tasks/test/emr/integ.emr-create-cluster-add-step-runtime-role.ts
Outdated
Show resolved
Hide resolved
...nteg/test/aws-stepfunctions-tasks/test/emr/integ.emr-create-cluster-add-step-runtime-role.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the follow-up.
I think that we should automate as much as possible on the integration test to make it maintainable and re-usable as a reference.
Some smaller adjustments are needed on documentation.
packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/emr/emr-add-step.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-stepfunctions-tasks/test/emr/emr-add-step.test.ts
Outdated
Show resolved
Hide resolved
...nteg/test/aws-stepfunctions-tasks/test/emr/integ.emr-create-cluster-add-step-runtime-role.ts
Outdated
Show resolved
Hide resolved
...nteg/test/aws-stepfunctions-tasks/test/emr/integ.emr-create-cluster-add-step-runtime-role.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-stepfunctions-tasks/lib/emr/emr-add-step.ts
Outdated
Show resolved
Hide resolved
} | ||
} | ||
}`), | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lpizzinidev I added this as well so no prereqs are required. Step function succeeds after deploying stack as-is. Good shout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 💪
} | ||
} | ||
}`), | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍
Hey @msambol , thank you for this contribution. I am seeing the integ test fails for
Could you confirm if its working on your end once again? |
Can I see your code? |
This PR has been in the MERGE CONFLICTS state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week. |
It was working. I'll take a look this weekend. |
@vinayak-kukreja I think there is a bug with the EMR create cluster process right now. It won't let me create a cluster with a perfectly-acceptable EMR service role. I'm checking with the EMR team. |
Hey @msambol , I just deployed the integ test mentioned in this PR. The deployment succeeds but when I run the first command mentioned in steps within the integ test, it fails the create task. Let me know if I can provide any other information. |
Mine failed as well. Something is off with EMR cluster creation. I reached out to the EMR team. |
Ok, thank you. Let me know if you hear anything from them. If not, I can reach out too. |
@vinayak-kukreja I addressed the cluster creation issues in #28327. Once that's merged, I'll rebase and make sure this integration test succeeds. |
@paulhcsun Rebasing now and re-running integ test 👍🏼 |
bd12e83
to
e3c70a7
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
@paulhcsun This has been updated and confirmed working. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating and confirming the tests are working. Great work and thanks for the contribution @msambol!
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Here is the result of running the step function deployed by the integration test. The step completed successfully with the IAM role.
Closes #27691.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license