Hi all! I have a prefect.yaml file that correctly ...
# ask-community
d
Hi all! I have a prefect.yaml file that correctly creates the anticipated deployments with
prefect 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
Copy code
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?