Hi All! Quick question on tags for AWS batch. I ha...
# ask-metaflow
j
Hi All! Quick question on tags for AWS batch. I have set in the
.metflowconfig/config.json
the parameter
"BATCH_EMIT_TAGS": "True"
. However, I still can't see the tags on the jobs. What am I missing? Do I need to set anything else or modify any permissions?
1
s
yes, you need the
Batch:TagResource
permissions
j
Ok @ancient-application-36103 thanks for the reply! But to be clear, on which role is it needed? If it's the role that I use to run the workflow, it already has got BatchFullAccess
a
this would be the iam role executing the task
👀 1
j
@ancient-application-36103 I've tried this, I've added the
batch:TagResource
permission to in fact all the metaflow roles I could find, but still no luck. •
metaflow-batch-execution-role-dev-usea1
metaflow-ecs-execution-role-dev-usea1
metaflow-batch_s3_task_role-dev-usea1
metaflow-ecs-iam-role-dev-usea1
I see the parameters are set but not the tags - I am triggering the jobs from CLI with
--with batch
. Any further hint on what to change? In fact, in the JSON definition of the job I still see that tags, is set to empty:
"tags": {},
s
ah - the key is
METAFLOW_BATCH_EMIT_TAGS