Skip to content

Commit

Permalink
fix: call nix build instead of nix eval when evaluating terraform…
Browse files Browse the repository at this point in the history
… configurations
  • Loading branch information
justinrubek committed Feb 22, 2023
1 parent 1b8b2a7 commit fea185b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/cli/src/terraform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ impl crate::commands::Terraform {

info!("building terraform configuration");
let nix_eval = tokio::process::Command::new("nix")
.arg("eval")
.arg("--raw")
.arg("build")
.arg("--no-link")
.arg("--print-out-paths")
.arg(format!(
".#terraformConfiguration/{}",
self.configuration_name
Expand Down

0 comments on commit fea185b

Please sign in to comment.