lib/terraspace/cloud/plan.rb in terraspace-2.2.8 vs lib/terraspace/cloud/plan.rb in terraspace-2.2.9

- old
+ new

@@ -51,10 +51,10 @@ out_option_root_path = "#{Terraspace.root}/#{plan_path}" return unless File.exist?(out_option_root_path) FileUtils.cp(out_option_root_path, plan_path) json = plan_path.sub('.binary','.json') - sh "terraform show -json #{plan_path} > #{json}" + sh "#{Terraspace.terraform_bin} show -json #{plan_path} > #{json}" end end def cani?(exit_on_error: true) return true unless Terraspace.cloud?