David Deepwell
03/06/2025, 5:46 PMprefect deploy
, but is asking "Would you like to save configuration for this deployment for faster deployments in the future?" I've determined that this is caused by using an environment variable within the parameters section of a deployment. Here is an example
deployments:
- name: poll-manifest-transfers
parameters:
settings_file: "{{ $SETTINGS_FILE }}"
When a string is used instead of "{{ $SETTINGS_FILE }}"
(such as /path/to/file.txt
) then the question to save the configuration isn't asked. How do I use the environment variable and avoid the question?