Open
Description
Problem
Similar to kubectl apply -f -
, dstack
should be able to read apply configurations from stdin with dstack apply -f -
. This will open up several possibilities such as custom templating and interpolation cases not covered by dstack
.
For example:
type: volume
name: $ENV-my-vol
backend: aws
region: us-east-1
size: 10GB
envsubst '$ENV' < .dstack/volume.dstack.yml | dstack apply -f -
Solution
No response
Workaround
No response
Would you like to help us implement this feature by sending a PR?
Yes