Hey
@Kostas Chalikias
If you use Github storage, Prefect will always go to the Github repo to get the Flow. So it will always be re-read. A new flow will not be discovered if you don’t register it. If your registered version of the Flow does not match the version pulled from Github, an error will be raised. Small changes are fine, but changes that alter the DAG structure will throw errors.
For GCP, look into the Google Vertex
agent here that was released in the last version. These will let you choose the machine type per flow in the Vertex RunConfig.
For secrets and env vars, you can have them stored in Prefect Cloud, and then called in your Flow. You can also attach them to the agent by adding the
--env
flag to add an environment variable.