Tejas Shah
02/20/2024, 1:19 PMMarvin
02/20/2024, 1:19 PMshell
prefect --profile "foo" config set VAR=Y
This sets the variable VAR
to Y
in the profile foo
.
- To unset configuration variables:
shell
prefect config unset VAR2 VAR3
This unsets the variables VAR2
and VAR3
from the current profile.
For Prefect Cloud or Server users, you might want to manipulate or add variables through UI or Prefect's REST API instead of CLI, as the CLI configuration settings apply to the Prefect CLI environment rather than to your Prefect flows or tasks.
For more details, you can refer to the Prefect Variables documentation and the Prefect Settings documentation.