rundeck/terraform-provider-rundeck

No scheme detected in URL

skeenb opened this issue · 1 comments

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
Terraform v0.12.24

Affected Resource(s)

  • rundeck_job

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.

Terraform Configuration Files

resource "rundeck_job" "testjob1" {

  command {
    inline_script = "echo 'Hello World'"
  }
  description  = "just a simple test job"
  name         = "job1"
  project_name = "project1"
}

Debug Output

Error: rundeck.BaseClient#ProjectJobsImport: Failure preparing request: StatusCode=0 -- Original Error: autorest: No scheme detected in URL 172.17.0.1/api/35

  on main.tf line 55, in resource "rundeck_job" "testjob1":
  55: resource "rundeck_job" "testjob1" {

Panic Output

None

Expected Behavior

A new job is created

Actual Behavior

ERrored out with "No scheme detected in URL" (See Debug Output)

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply

Important Factoids

There is an API call that creates "project1" then the job resource should create the job under the project.

References

None

@skeenb Please try to recreate this issue on the current Terraform and provider version. If you still have trouble open a new issue with steps to reproduce please.