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
Looking for a way to "combine" the functionality of ${s3: and ${file(
I have a .json file in S3 that I want to load variables from. ${s3: can read the file, but sets the variable value to the JSON string contents of the file. I need to JSON.parse that somehow, but not sure if there is a way to do that.
$file( if passed a .json file would JSON.parse the contents, but I think that only works to load local files, not files from S3.
Any ideas on how to load a JSON file from S3? Thanks for any help!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Looking for a way to "combine" the functionality of
${s3:
and${file(
I have a .json file in S3 that I want to load variables from.
${s3:
can read the file, but sets the variable value to the JSON string contents of the file. I need to JSON.parse that somehow, but not sure if there is a way to do that.$file(
if passed a.json
file would JSON.parse the contents, but I think that only works to load local files, not files from S3.Any ideas on how to load a JSON file from S3? Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions