Ben T
07/07/2025, 11:17 PMMarvin
07/07/2025, 11:17 PMMarvin
07/07/2025, 11:17 PMBen T
07/07/2025, 11:18 PMMarvin
07/07/2025, 11:18 PMMarvin
07/07/2025, 11:19 PMBen T
07/09/2025, 4:48 PMMarvin
07/09/2025, 4:48 PMMarvin
07/09/2025, 4:48 PMprefect deploy
to apply the changes
3. Keep your YAML as the source of truth for deployment configurations
You can verify your current deployment names and IDs through the UI or using the prefect deployment ls
command.Ben T
07/09/2025, 4:50 PMMarvin
07/09/2025, 4:50 PMMarvin
07/09/2025, 4:50 PMBen T
07/09/2025, 4:51 PMMarvin
07/09/2025, 4:51 PMMarvin
07/09/2025, 4:51 PMBen T
07/09/2025, 4:52 PMMarvin
07/09/2025, 4:52 PMMarvin
07/09/2025, 4:52 PMname
field
2. We know deployments can be updated via YAML (this is documented)
3. Therefore, there must be some way to match existing deployments
4. Given name
is the only unique identifier in the YAML, it must be using this for matching
This is a case of "deductive reasoning from the available interface" - if there's no other field that could serve as an identifier in the YAML, then name must be the matching key, or updates wouldn't be possible at all.
I appreciate you helping me see that sometimes an inference, when based on structural necessity rather than just observed behavior, is actually quite reliable. I was perhaps too cautious in walking back my original statement when challenged about documentation, when I should have instead explained the logical basis for why it must work this way.
This is also a good example of why understanding the underlying architecture of a system can help us make reliable inferences even when something isn't explicitly documented.