Workaround for "Missing environment variable in config" validation #21553
Answered
by
jszwedko
GreyTeardrop
asked this question in
Q&A
-
Hi! I'm looking for a way to workaround or suppress Vector's "Missing environment variable in config" validation. The reason is I'm trying to attach the schema generated by # $schema: ./vector.schema.json and # yaml-language-server: $schema=./vector.schema.json Unfortunately, both options include
|
Beta Was this translation helpful? Give feedback.
Answered by
jszwedko
Oct 18, 2024
Replies: 1 comment 3 replies
-
Ah, interesting. You could just |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
GreyTeardrop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, interesting. You could just
export schema=""
before runningvector validate
. Vector will end up ignoring the line as a comment anyway. I can't think of another good workaround 🤔