Hi :wave: We have two workspaces. Staging and prod...
# prefect-cloud
y
Hi 👋 We have two workspaces. Staging and production. When working with the the new deployment model with the prefect.yaml (https://docs.prefect.io/2.14.2/guides/prefect-deploy/) we also define a CRON for some deployments. The problem is that we want the CRON to be scheduled only for the production workspace. So, can we achieve a state where we have a single prefect.yaml with deployment that have a CRON, but this CRON will be applied only to the production workspace?
Another solution could be is to allow multiple yaml files. Then we would have prefect-staging.yaml and prefect-production.yaml, and the CRON config will be set only in the yaml of the production yaml. This is less ideal, because now we would have duplicate definitions in both files. I think this is related: https://github.com/PrefectHQ/prefect/issues/10352