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

Assign tags on EMR creation in single API call #2207

Open
mgmarino opened this issue Mar 31, 2021 · 0 comments · May be fixed by #2208
Open

Assign tags on EMR creation in single API call #2207

mgmarino opened this issue Mar 31, 2021 · 0 comments · May be fixed by #2208

Comments

@mgmarino
Copy link

AWS has deprecated several managed EMR policies (see here) and the replacement policies make use of tags for authorization.

Currently, tags are assigned after a cluster is made, in a separate api call, though the underlying boto3 client supports setting tags on cluster creation.

To avoid any issues that may arise with failed tag application - either due to a subsequent failure of the tags call, or because of the (albeit small) time between API calls - the tags should be assigned in the same API call as the cluster creation.

mgmarino added a commit to mgmarino/mrjob that referenced this issue Mar 31, 2021
This ensures that tags are set at the moment of cluster creation, which
can have implications for permissions requiring tags.

Closes Yelp#2207
@mgmarino mgmarino linked a pull request Mar 31, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant