When running Metaflow on ECS Fargate, is there a c...
# ask-metaflow
c
When running Metaflow on ECS Fargate, is there a client hook to add AWS Tags to the Metaflow-generated AWS Batch JobDefinition? Goal is to propogate tags to the generated Fargate workers (I see propogateTags is set to true for the JobDefinition already)
✅ 1
f
Just looking at the code, I guess you can pass "`aws_batch_tags: {}`" to your decorator, which will apply them to the compute environment. https://github.com/Netflix/metaflow/blob/master/metaflow/plugins/aws/batch/batch_decorator.py#L73-L75
c
Thanks for pointing me to the code -- it looks like if you specify that and configure BATCH_EMIT_TAGS, it could get the job done. I'll give it a whirl!
🙌 2
f
Nice, didn't know about that, thanks!
🤝 1