nix-community / terraform-nixos

A set of Terraform modules that are designed to deploy NixOS [maintainer=@adrian-gierakowski]
Apache License 2.0
333 stars 61 forks source link

error: unknown flag '--builders ''' #48

Closed NorfairKing closed 3 years ago

NorfairKing commented 3 years ago

Describe the bug While trying to deploy, I get this error:

module.deploy_nixos.null_resource.deploy_nixos (local-exec): Executing: [".terraform/modules/deploy_nixos/deploy_nixos/nixos-deploy.sh" "/nix/store/5dgmlkwk2kyqm6lvbvfanqqcb5v0841m-nixos-system-unnamed-20.03post-git.drv" "/nix/store/6g6fcqv01ryarf204bhx8w5vcmrilgky-nixos-system-unnamed-20.03post-git" "root@34.243.224.113" "22" "false" "./id_rsa.pem" "switch" "--option" "substituters" "https://cache.nixos.org/" "--option" "trusted-public-keys" "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "--builders ''" "ignoreme"]
module.deploy_nixos.null_resource.deploy_nixos (local-exec): --- building on deployer
module.deploy_nixos.null_resource.deploy_nixos (local-exec): error: unknown flag '--builders '''

To Reproduce

I'm not sure, to be honest. I just followed the example...

Expected behavior

A succesful deployment.

Additional context Add any other context about the problem here.

NorfairKing commented 3 years ago

It was my mistake:

extra_build_args = ["--builders ''"]