> When you view files and commits, data is fetched from Cursor's servers.
* Your terraform code
* The state terraform holds which is what it thinks your infrastructure state is
* The actual state of your infrastructure
>Why don't cloud providers have a nice way for tools like TF to query the current state of the infra?
What a terraform provider is is code that queries the targeted resources through whatever APIs they provide. I guess you could argue these APIs could be better, faster, or more tuned towards infrastructure management... but gathering state from whatever resources it manages is one of the core things terraform does. I'm not sure what you're asking for.
> * The state terraform holds which is what it thinks your infrastructure state is
Why does Terraform need that. Why can't it just call `iac.amazonaws.com/query` (or other magical endpoint) and then diff the terraform code against the actual infrastructure? I am willing to understand if the answer is "well 8 different teams work on AWS so we can't get them all to agree on how to dump their infra as JSON," but this feels like a huge (and obvious) developer experience improvement that could be made.
I never liked these "trust me bro we're court authorized, give us all your PII to join the class action" setups on random domains. Makes phishing seem inevitable. Why can't we have a .gov that hosts all these as subdomains?
Why don't cloud providers have a nice way for tools like TF to query the current state of the infra? Maybe they do and I'm doing IaC wrong?
Dead Comment
The British army only has maybe 20,000 actual soldiers. You could manufacture enough robots to kill them all in a week. Then you’d just have a whole country.
It’ll completely change the game. There’s no point selling it to a state for their army, when you could just instantly make yourself the owner of the state.
Don't worry, we're safe. It's already been done and it did not win: https://www.reddit.com/r/ChatGPT/comments/14dv530/the_homele...