You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If typing manually into the shell, I can type something like: heroku config:set FOO=bar SPACE="Acme Corp" FIZZ=buzz
This works correctly!
However if I have a file with KV pairs such as:
FOO=bar
SPACE="Acme Corp"
FIZZ=buzz
and run heroku config:set $(cat <file>), I get the error:
'Corp" is invalid. Must be in the format FOO=bar.'
How can I get these KV pair into the config:set command correctly? There's gotta be a way to properly pass the entries with spaces into this command that I'm missing
I also tried putting all the KV entries on one line separated by spaces. It really feels like this command should accept input from stdin so I can redirect the file in or something.
What is the expected behavior?
I would expect it to function the same as if you input the values manually, and to parse the entry as SPACE="Acme Corp", instead it is parsing as SPACE="Acme and Corp" separately.
heroku --version
heroku/7.41.1 darwin-x64 node-v12.16.2
The text was updated successfully, but these errors were encountered:
What is the current behavior?
If typing manually into the shell, I can type something like:
heroku config:set FOO=bar SPACE="Acme Corp" FIZZ=buzz
This works correctly!
However if I have a file with KV pairs such as:
and run
heroku config:set $(cat <file>)
, I get the error:'Corp" is invalid. Must be in the format FOO=bar.'
How can I get these KV pair into the config:set command correctly? There's gotta be a way to properly pass the entries with spaces into this command that I'm missing
I also tried putting all the KV entries on one line separated by spaces. It really feels like this command should accept input from stdin so I can redirect the file in or something.
What is the expected behavior?
I would expect it to function the same as if you input the values manually, and to parse the entry as
SPACE="Acme Corp"
, instead it is parsing asSPACE="Acme
andCorp"
separately.heroku --version
The text was updated successfully, but these errors were encountered: