<@ULVA73B9P> Can you list the accepted values for ...
# ask-marvin
c
@Marvin Can you list the accepted values for
type
in the Terraform
prefect_work_pool
resource?
m
The
type
option in the Terraform
prefect_work_pool
resource is used to specify the type of infrastructure that can execute runs from this work pool. While the exact list of accepted
type
values is not given in the excerpts provided, one example provided is
prefect:managed
. This indicates that you can create a work pool with a type of managed execution by Prefect Cloud. For further information on other possible values, you should consult the Terraform provider documentation or the Prefect documentation for an exhaustive list. For more details, you can visit the following links: - Work pool configuration - Work pools tutorial If you need a comprehensive list of
type
values, I would suggest checking the official Prefect Terraform provider documentation on the Terraform Registry as it is more likely to contain the most up-to-date and detailed information.
c
@Marvin Can you show me the
base_job_template
for a Cloud Run V2 Push work pool?
m
It seems that I received an incorrect code example that does not relate to a
base_job_template
for a Cloud Run V2 Push work pool. My apologies for the confusion. The
base_job_template
is specific to how jobs are defined and submitted to a particular execution environment. For Cloud Run V2 Push work pools, this template would be configured to match the requirements of Google Cloud Run and include settings for the container image, environment variables, service account, and other specifics related to running tasks in that environment. To get the proper
base_job_template
configuration for a Cloud Run V2 Push work pool, you will need to look at the Prefect documentation or the example configurations provided as part of the Prefect setup for Google Cloud Run. Let me try to find an accurate code example or documentation link for you.