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

Add capability to add custom tags to batch #1628

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Limess
Copy link

@Limess Limess commented Nov 8, 2023

Fixes #1627.

Adds:

  1. BATCH_DEFAULT_TAGS to metaflow config - a map of default AWS tags to apply to batch jobs
  2. tags kwarg to the AWS batch decorator - a map of AWS tags to apply to batch jobs (applied last)
  3. --aws-tags to the CLI (to avoid clashing with metaflow tags.

All of these only apply when BATCH_EMIT_TAGS is set to avoid IAM problems.

I haven't done any manual testing here as I'm not sure the best way to go around that?

@Limess Limess force-pushed the 1627-custom-batch-tags branch 3 times, most recently from f72a022 to d1199b4 Compare November 8, 2023 09:08
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 this pull request may close these issues.

Allow arbitrary AWS tags based on metaflow config or batch decorator
1 participant