Skip to content
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

No error message if Terraform::Runner.run fails #45

Open
agrare opened this issue May 28, 2024 · 1 comment · May be fixed by #47
Open

No error message if Terraform::Runner.run fails #45

agrare opened this issue May 28, 2024 · 1 comment · May be fixed by #47
Assignees
Labels
bug Something isn't working stale

Comments

@agrare
Copy link
Member

agrare commented May 28, 2024

Terraform::Runner.run takes a Terraform::Runner::Response and returns Terraform::Runner::ResponseAsync.new(response.stack_id)

If the Response was a failure then stack_id will be nil, and Job.options will have a nil terraform_stack_id
options: {:template_id=>2, :env_vars=>{}, :input_vars=>{"execution_ttl"=>"", "extra_vars"=>{}, "verbosity"=>"0"}, :credentials=>[2], :poll_interval=>1 minute, :git_checkout_tempdir=>"/tmp/embedded-terraform-runner-git20240528-18757-aa2dl6", :terraform_stack_id=>nil}

@agrare agrare added the bug Something isn't working label May 28, 2024
@agrare agrare linked a pull request May 29, 2024 that will close this issue
@miq-bot
Copy link
Member

miq-bot commented Sep 9, 2024

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

@miq-bot miq-bot added the stale label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants