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.
ah so this is working as intended/expected?
Yes, the intended behavior is that the host
param defaults to "api.strata.paloaltonetworks.com".
closing as this works as intended. Thanks!
Describe the bug
When attempting to use the
scm_remote_network
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. I suspect this might be coming from the scm-go library somehow setting an incorrect default for certain resources. I also witness this behavior withscm_service_connection
Expected behavior
Create or query a remote network resource correctly without error
Current behavior
I encounter a object not found error
Possible solution
I suspect this is related to https://github.com/PaloAltoNetworks/terraform-provider-scm/issues/19 as it is the same behavior
Steps to reproduce
terraform plan
Screenshots
Context
Your Environment