Open ancoleman opened 1 year ago
Ok, so I think the API is the problem here.
I just tried with sase_objects_address_groups_list
and I got no errors. I think the URI endpoints are behaving differently / inconsistently... I can fix this in the provider, but I'd just be enabling bad behavior. Maybe raise this issue internally, see if they're willing and able to fix the API.
@shinmog I think, more specifically, it seems the issue here is with missing rules, security, app override, and QoS policy listing all fail with an object not found error. This doesn't happen with typical objects like the one you tested.
Describe the bug
When performing a read operation with data sources such as:
Terraform Plan or Apply fails with "object not found"
The issue from what I can tell lies in if there is configuration for that specific data source or not. In the case of testing the two above mentioned data sources, the rules do not exist so I assume the response is from the API. We should handle this gracefully in the provider.
Expected behavior
When no configuration is found with a data source, we handle this gracefully by ignoring the state of that data source, since nothing exists.
Current behavior
Configuration:
Possible solution
Steps to reproduce
Screenshots
Context
Your Environment