Skip to content

Error when using config and config_pwd option #58

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

Open
zeroware opened this issue Aug 30, 2021 · 2 comments · May be fixed by #85
Open

Error when using config and config_pwd option #58

zeroware opened this issue Aug 30, 2021 · 2 comments · May be fixed by #85

Comments

@zeroware
Copy link

Hello,

When I use the config and config_pwd option to pass a dynamic nixos configuration I get the error :

error: cannot coerce a set to a string, at (string):6:14

By looking at the code I can see that the configuration variable is used with the import function which only work if the type is a string.

https://github.com/tweag/terraform-nixos/blob/646cacb12439ca477c05315a7bfd49e9832bc4e3/deploy_nixos/nixos-instantiate.sh#L30

Am I using the config parameter wrong ?

@KiaraGrouwstra
Copy link

i can reproduce this problem, tho only using hermetic = true

@KiaraGrouwstra
Copy link

i found this commit as a solution to this problem other than my pr

KiaraGrouwstra added a commit to KiaraGrouwstra/terraform-nixos that referenced this issue Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants