kestra-io / terraform-provider-kestra

https://kestra.io/docs/terraform/
Apache License 2.0
16 stars 10 forks source link

Trim the trailing slash on provider `url` property #104

Closed anna-geller closed 3 months ago

anna-geller commented 10 months ago

Expected Behavior

User should use plain URL without a trailing slash: "https://us.kestra.cloud"

but if they provide it, we should trim it without ending in an error

Atm if you use

provider "kestra" {
  url       = "https://us.kestra.cloud/"
  username  = var.kestra_user
  password  = var.kestra_password
  tenant_id = "kestra-tech"
}

it will give you an error: Error: invalid character '<' looking for beginning of value

Actual Behaviour

No response

Steps To Reproduce

No response

Environment Information

Example flow

No response