When using the new Projects feature does applying ...
# ask-community
g
When using the new Projects feature does applying the deployments also apply the definitions or do I need to also deploy those via the traditional way with either python or in the ui?
j
Hi @Gregory Hunt.
prefect deploy
will apply/update your deployment on the server. If you’re using something like GitHub for flow code storage you will need to push your flow code to GitHub. Does that answer your question?
g
@Jeff Hale No
I am talking about the resource sin the definitions section, ie the workpool and the default container image, cpu, memory for a docker or cloudrun workpool
j
Ah, gotcha. If you run
prefect deploy
the deployment will be created/updated to use the configuration in the definitions. If you specify a work pool in the definitions that doesn’t exist I’m pretty sure you will need to create it via the UI or CLI.