rojwilco
HOBBYOP
a year ago
I am trying to understand how i can pass configurations via the variables into a service, and I see there is a JSON entry box in the variable raw editor. How does this work? What format should the JSON be in, and how is that translated to environment variables in the service?
7 Replies
a year ago
its just json { "VARIABLE1": "value 1", "VARIABLE2": "value 2" }and so on. It's just a different way to edit/add variables in addition to the pretty interface and the env format
a year ago
the above in env format would be bash VARIABLE1="value 1" VARIABLE2="value 2"
a year ago
Yea you can't, it complains: JSON values must be strings or { value: string, description?: string | null }
a year ago
!s
Status changed to Solved brody • 12 months ago