Skip to content

Commit

Permalink
Use run! for Job
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed May 29, 2024
1 parent bdc7e5d commit 2617071
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def execute
template_path = File.join(options[:git_checkout_tempdir], template_relative_path)
credentials = Authentication.where(:id => options[:credentials])

response = Terraform::Runner.run(
response = Terraform::Runner.run!(
options[:input_vars],
template_path,
:credentials => credentials,
Expand All @@ -33,6 +33,8 @@ def execute
save!

queue_poll_runner
rescue Terraform::Runner::Error => err
signal_abort(err.message, "error")
end

def poll_runner
Expand Down

0 comments on commit 2617071

Please sign in to comment.