Kyle McChesney
12/18/2024, 6:37 PMMarvin
12/18/2024, 6:38 PMMarvin
12/18/2024, 6:38 PMKyle McChesney
12/18/2024, 6:40 PMbuild
and push
options for the deployment in terraform. I have them in my prefect.yaml, but I see no way to specify them here: https://registry.terraform.io/providers/PrefectHQ/prefect/latest/docs/resources/deploymentMarvin
12/18/2024, 6:40 PMbuild
and push
configurations directly within its resources and configurations like you can in a prefect.yaml
file. This might be because Terraform's provisioning overlaps with Prefect's own configurations in separate environments, and some configuration options are narrowly scoped within their specific environments.
As a workaround, you might consider a dual approach: use Terraform for managing infrastructure-level details, such as storage, network, or computing resources, and then utilize Prefect's native configuration methods (e.g., CLI, Prefect YAML) for deployment specifics that include build
and push
settings.
You can also keep an eye on Prefect's Terraform provider documentation and PrefectHQ/prefect GitHub for any updates. If this feature is essential, you might consider contributing a feature request or checking with the Prefect community for any emerging workarounds or upcoming releases that might address this gap.
If there’s anything else I can dive into, just let me know!Mitch Nielsen
12/19/2024, 12:49 AMbuild
or push
settings on Deployments yet. We recently added support for pull
steps - looks like this is a gap on our end that we'll need to investigate.
I just created https://github.com/PrefectHQ/terraform-provider-prefect/issues/342 to track this, feel free to chime in there with any other details and/or let me know if I misunderstood any parts of your request