-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
How to pass parameters to Nix script from Terraform? #77
Comments
which nix file? Do you mean one of these scripts:
How are you setting these? Would you mind sharing repo with a minimal repro? Thanks! |
Thanks for help @adrian-gierakowski !
to here
I hope it makes things more clear. |
@adrian-gierakowski I created a mini repo: To nix config: What is the best way to achieve this? Thanks!! |
Hi!
Let's say I want to pass PublicIP and other parameters from Terraform to Nix file, how should I do that?
I tried using
extra_eval_args = ["--argstr", "some_arg", aws_instance.node.public_ip]
or
extra_build_args = ["--argstr", "some_arg", aws_instance.node.public_ip]
but none of those are shown in the Nix file as arguments.
What other approach should I use?
Thanks
The text was updated successfully, but these errors were encountered: