Brian Roepke
09/15/2024, 6:04 PMif __name__ == "__main__":
verify_domain_status.deploy(
name="verify-domain-status-ecs-deployment",
work_pool_name="fxdmz-ecs-pool",
image=DockerImage(
name="<http://635441544388.dkr.ecr.us-east-1.amazonaws.com/prefect-flows:latest|635441544388.dkr.ecr.us-east-1.amazonaws.com/prefect-flows:latest>",
platform="linux/amd64",
),
)
Marvin
09/15/2024, 6:05 PM@task
decorator.
Prefect Docs - Write Tasks shows how to do this with task retries.
2. Deployment Mechanics: Documentation about deploying workflows and handling retries at the deployment level is not explicit. Deployment Mechanics.
3. GitHub Issues: There's an issue discussing retry logic resulting in errors during deployment.
- Error OSError
- Exit Code Issue
- Inconsistent Retry Behaviors
Retry behavior can typically be customized at the task and flow levels. If you need implementation advice, you can explore these documents and issues.
For now, you may have to add retry logic within your flow or tasks themselves.
For further detailed steps, check:
- Prefect 3.0 Deployment Concepts
If this limitation is critical for your use case, consider raising a feature request on the Prefect GitHub.
Hope this helps! 🚀