aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.1k stars 4.01k forks source link

Update EC2 service principal #8703

Closed kdaily closed 4 weeks ago

kdaily commented 1 month ago

Issue #, if available:

Description of changes:

Update the EC2 service principal when creating the trust policy for EMR default roles to always be "ec2.amazonaws.com" instead of using the region to determine it.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 0.08%. Comparing base (24f6765) to head (0b068a5). Report is 83 commits behind head on develop.

Files Patch % Lines
awscli/customizations/emr/createdefaultroles.py 0.00% 4 Missing :warning:
awscli/customizations/emr/constants.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #8703 +/- ## ========================================== - Coverage 0.08% 0.08% -0.01% ========================================== Files 208 208 Lines 16809 16814 +5 ========================================== Hits 14 14 - Misses 16795 16800 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.