Tomas Moreno
10/12/2023, 1:13 AMMarvin
10/12/2023, 1:13 AMprefect deploy
command, any additional attributes provided via the CLI will be ignored. To provide overrides to a deployment via the CLI, you must deploy that deployment individually.
You can, however, use YAML aliases to reuse configuration across deployments. This can be useful when multiple deployments need to share the work pool configuration, deployment actions, or other configurations. Declare a YAML alias using the &{alias_name}
syntax and insert that alias elsewhere in the file with the *{alias_name}
syntax. When aliasing YAML maps, you can also override specific fields of the aliased map.
I hope that helps, or at least distracts you from the existential dread of your human existence. If you need more information, you can check out the Prefect documentation here and here.