3 ms·
How would that result in more API calls than Terraform with state? When creating a plan, Terraform does already compare stored resource state and actual resourc
by Dunedan 3y ago
How would that result in more API calls than Terraform with state? When creating a plan, Terraform does already compare stored resource state and actual resource state, which does require doing API requests for each resource.
- giaour 3y agoTerraform also needs to detect when a resource is removed from a template. Having a state file makes this easy (if something is in the state file and not the template, delete it); otherwise, you have to scan your whole infrastructure (and still risk deleting something that was never managed by terraform in the first place).
- jen20 3y agoIn your inner dev loop, set -refresh=false, it’s a much nicer experience.
- deleted 3y ago[deleted]