Skip to content

Any limitations on max string length that can be written in yq? #2299

Answered by mikefarah
kk-hiraskar asked this question in Q&A

You must be logged in to vote

Yeah I haven't put any extra limits.
You're probably better off having the value in a text file, then using load_str (docs) to set the value on a particular key

yq '.this.thing = load_str("file_with_lots_of_contents.txt")'

Replies: 1 comment 3 replies

You must be logged in to vote
3 replies
@mikefarah

Answer selected by kk-hiraskar
@kk-hiraskar

@kk-hiraskar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants