Skip to content

How to pass parameters to Nix script from Terraform? #77

Open
@smulikHakipod

Description

@smulikHakipod

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions