-
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
emr-create-cluster: uses EMR V1 policies instead of V2 #23915
Comments
Thank you and agree. Are you interested to submit a PR for this? |
Hey @pahud - I don't currently have the capacity to do this so it would be great if you could help! |
…ervicePolicy_v2` (under feature flag) (#23985) Closes #23915 **Summary** Changed EMR used policies from `AmazonElasticMapReduceRole` to `AmazonEMRServicePolicy_v2` as by [documentation](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-managed-iam-policies.html). *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
…ervicePolicy_v2` (under feature flag) (aws#23985) Closes aws#23915 **Summary** Changed EMR used policies from `AmazonElasticMapReduceRole` to `AmazonEMRServicePolicy_v2` as by [documentation](https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-managed-iam-policies.html). *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Describe the bug
AWS documentation states that V1 policies are on the deprecation path, however, they are still used within CDK. For example, by default, the service role created uses
AmazonElasticMapReduceRole
instead ofAmazonEMRServicePolicy_v2
. Consequently, I have received warnings that these policies are going to be deprecated and that I should update them.Expected Behavior
V2 policies should be used as documented here.
Current Behavior
V1 policies are used.
Reproduction Steps
N/A
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.51.0
Framework Version
No response
Node.js Version
v16.19.0
OS
macOS
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: