Closed zbuchheit closed 2 months ago
The documentation for the default value for the "host" param within the provider block was incorrect. The default value for "host" is "api.strata.paloaltonetworks.com", so the documentation for this can be updated to reflect the correct default value.
closing as this is by design. Thanks!
Describe the bug
When attempting to use the
scm_service_connection
resource or data object, I get anobject not found
error.When looking at the logs I noticed when
host
isn't set the api call is made toHost: api.strata.paloaltonetworks.com
which I would expect it to actually beapi.sase.paloaltonetworks.com
. When I set the host on the provider it is able to make the api call correctly.Expected behavior
Create or query a service connection resource correctly without error.
Current behavior
Encountering an error
Steps to reproduce
TF Repro File
``` terraform { required_providers { scm = { source = "paloaltonetworks/scm" version = "0.9.2" } } } provider "scm" { logging = "detailed" # host = "api.sase.paloaltonetworks.com" } data "scm_service_connection" "example" { id = "REDACTED" folder= "Service Connections" } ```terraform plan
Screenshots
Context
I am also witnessing this behavior with remote_networks. I suspect this might be coming from this line
Your Environment