@here Currently, the AWS CloudQuery sync supports specifying spec.regions
to filter the resources. Similarly, can we add the location filtering based on regions or zones for the GCP CloudQuery sync?
Hi @grown-sloth!
Currently, there’s no such functionality.
There’s already an issue opened for this: GitHub Issue #14519
Although the issue is on our radar, no upvotes/community interests have been expressed yet on the issue itself, so it’s a low priority for now.
@KernelKnight Yes, the above issue was created by me. I am looking to create a PR to add this functionality. With the initial exploration, I have found that GCP APIs don’t support the filtering with regions, but they support the filtering with zones.
Do you see any issues with adding filtering with zones?
Adding filtering by zone/region seems like a good idea, but it will require additional helpers to be presented in the client
package, as the list
calls should utilize these filters when possible.
So, if you’re up for the tasks, we’ll be happy to get such a PR reviewed and merged.