<@ULVA73B9P> How can I find out what's available a...
# marvin-in-the-wild
j
@Marvin How can I find out what's available as a
job_variable
for an ECS Task workpool?
m
To find out what's available as a
job_variable
for an ECS Task workpool in Prefect, you can follow these key resources: 1. Prefect Documentation: - Overriding Work Pool Job Variables: This guide explains common patterns for overriding job variables, including the
env
job variable which is configurable for all work pool types. - ECS Worker Documentation: This should provide specific information regarding ECS-specific configurations and job variables. 2. GitHub Repository: - A discussion on the differentiation between using
.serve()
and workers, which might offer some insights into specific variables for different workers, including ECS: GitHub Issue. By exploring the links and documentation, you should be able to gather the details of available
job_variables
for an ECS Task workpool.
j
@Marvin So is everything that's made available in the
BaseVariables
class something I can override with
job_variables
?
m
Yes, the
BaseVariables
class in Prefect defines a set of job variables that can be overridden in your workpool configurations. You can find detailed information and examples in the Prefect documentation on Overriding Work Pool Job Variables. To get an extensive view of which specific job variables are available for the different workpool types (including ECS), you may need to look directly into the source code of Prefect's
BaseVariables
class or the ECS worker documentation. Be aware that certain job variables are specific to the type of workpool you're using. For ECS tasks, refer to the ECS Worker Documentation, where specific configuration details and examples are provided.