Skip to content

Using varsFrom #299

Answered by chanwit
artem-nefedov asked this question in Q&A
Aug 16, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

It accepts value in JSON format (that's why a string is also valid). You can use JSON to encode any values you want.

https://github.com/weaveworks/tf-controller/blob/fd0dcd3cc716962ea281b617aac7b0fe083ee607/runner/server.go#L332-L337

and they all are written down into generated.auto.tfvars.json file:

https://github.com/weaveworks/tf-controller/blob/fd0dcd3cc716962ea281b617aac7b0fe083ee607/runner/server.go#L404-L405

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@artem-nefedov
Comment options

@chanwit
Comment options

Answer selected by artem-nefedov
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