-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: accept file of variables #40
Comments
I just ran into the need for this feature too. In my case I need to use the variable values from a Terraform
|
Interesting. It can accept json and yaml. Is .tfvars HCL?
…On Fri, Jul 28, 2017 at 9:14 AM, Everett Toews ***@***.***> wrote:
I just ran into the need for this feature too.
In my case I need to use the variable values from a Terraform .tfvars
file in another file. I worked around it with the rather hackish
sigil -f mytemplate.txt $(cat build.tfvars | grep '=' | sed 's/ //g' | sed 's/\n/ /g')
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#40 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAACh17ZydtmK9PwfjDij50VL33YoWNIks5sSezagaJpZM4OUtw2>
.
--
Jeff Lindsay
http://progrium.com
|
I think so. In From a file
Except ours aren't JSON. They're simple key/value pairs, as in the example on that page.
If you want to support that format too, that would be 💯 but I know you can't support all the formats. @progrium Do you have an example of exactly how |
does not work.
and
Result:
No any changes |
something like: |
it would be nice if sigil could accept a file of variable values
The text was updated successfully, but these errors were encountered: