envplate icon indicating copy to clipboard operation
envplate copied to clipboard

How to set default value to empty string?

Open stolendog opened this issue 6 years ago • 2 comments

${S3_ACCESS_KEY_ID:-} is failing because of no default value (no default is given), I just need to have an empty string if there is no S3_ACCESS_KEY_ID set

stolendog avatar Mar 12 '18 17:03 stolendog

I think it was implemented in https://github.com/kreuzwerker/envplate/pull/20 and you need version 1.0.0.RC1 minimally to make it work (https://github.com/kreuzwerker/envplate/releases/tag/1.0.0-RC1).

maoueh avatar Mar 15 '18 12:03 maoueh

thanks!

stolendog avatar Mar 19 '18 07:03 stolendog