Closed kaisero closed 7 months ago
The OpenAPI spec file that this is coming from indeed only references api.strata.paloaltonetworks.com. This means that this resource will only work when the host
in the provider block is "api.strata.paloaltonetworks.com", not with "api.sase.paloaltonetworks.com". There are other resources referred to in this file that are in the same bucket, such as "scm_label" and "scm_snippet".
I suspect this is a temporary issue of sorts, or growing pains or something, until eng solidifies their end / endpoints, then things should just work.
Anyways, closing as this is working as intended.
Describe the bug
When creating a variable with the required defaults
terraform apply
fails with the following errorExpected behavior
Variable is being created in the specified folder
Current behavior
Create operation fails
Possible solution
I assume the issue occurs because api.strata.paloaltonetworks.com endpoint specified in scm-go dependency (https://github.com/PaloAltoNetworks/scm-go/blob/main/netsec/services/variables/service.go) is not live yet. If we check die URI we can see that the SAN points to api.stratacloud.paloaltonetworks.com - Maybe it is a certificate issue which is why the API Call fails?
Steps to reproduce
Define a provider (tried api.strata.paloaltonetworks.com and api.sase.paloaltonetworks.com) and resource and apply configuration
Debug Output
Your Environment
Terraform v1.6.6 MacOS 13.6.3 (darwin_arm64) Provider registry.terraform.io/paloaltonetworks/scm v0.1.1