Hacker News new | ask | show | jobs
by Aeolun 1042 days ago
Querying cloud provider API’s takes a while. It can be done, but the results are cached afterwards, which is the state file.

Refreshing the state file (and reconciling differences) also uses the cloud provider API’s. I don’t think we’re going to get better than that.

Unless someone makes a common standard for resource reporting that all cloud providers implement.

2 comments

The state file is more than a cache. If it was just a cache, it wouldn't be problematic.
exactly. relying purely on the provider’s api seems like an untenable solution with the current state of things.