I tried asking Marvin but the answers didn't look ...
# ask-community
e
I tried asking Marvin but the answers didn't look correct; how do I supply my kube prefect worker with my AWS credentials so it can pull from ECR? Also, in my
prefect.yaml
file, is this the right way to supply my tasks with the necessary env vars?
Copy code
definitions:
  tags: &common_tags
    - "feedback-insight"
    - "demo"
  work_pool: &common_work_pool
    name: "demo-work-pool"
    job_variables:
      image: $BACKEND_IMAGE_URL
      ENV_VAR_1: $ENV_VAR_1
      ENV_VAR_2: $ENV_VAR_2
Seems strange that the docker image would be grouped with the env vars supplied to the pod / execution env