-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Milestone
Description
if I have an app.env file like:
include: [default]
all: &all
API_KEY: ${API_KEY}and a secrets.env like:
include: [default]
all: &all
API_KEY: !base64 c2VjcmV0and a prod.env file like:
include: [default, secrets, app]resolving API_KEY in prod works:
$ envstack prod -r API_KEY
API_KEY=secretbut not when writing it back out:
$ envstack prod -o out.env
$ ./out.env -r API_KEY
API_KEY=this appears to be because the ${API_KEY} value in app.env overrides the value in secrets.env when merging. if I put secrets after app then it merges correctly, but since the value in app.env is an expansion modifier I would expect it to inherit the value from secrets just like when resolving.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested