Skip to content

URL with path provides invalid port error #91

@vertex

Description

@vertex

Configuring a URL with a PATH provides an error, for example:

provider "splunk" {
    url                  = "https://hostname:443/some/path"
    auth_token           = var.splunk_auth_token
    insecure_skip_verify = true
}

Provides the error:

> terraform apply
splunk_saved_searches.saved_search: Refreshing state... [id=Test New Alert]
╷
│ Error: parse "https://https:%2F%2Fhostname:443%2Fsome%2Fpath/servicesNS/-/-/saved/searches?count=-1&output_mode=json": invalid port ":443%2Fsome%2Fpath" after host
│ 
│   with splunk_saved_searches.saved_search,
│   on main.tf line 17, in resource "splunk_saved_searches" "saved_search":
│   17: resource "splunk_saved_searches" "saved_search" {
│ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions