How did you manage provider and Terraform versions?
BeginnerBehavioralInfrastructure as Code & Terraform state
Answer
Good answer looks like → "required_version and required_providers with pessimistic constraints like ~> 5.0, and the .terraform.lock.hcl committed so everyone and CI used identical provider builds. Upgrades went through a PR with a plan for every environment."
Follow-ups to expect → What broke during a provider major upgrade? Why commit the lock file?
Red flags → No version pinning and "works on my machine" plans.
More on Infrastructure as Code & Terraform state
What did your Terraform state setup look like?IntermediateHow did you structure your Terraform code?BeginnerWhy did you use folders per environment rather than Terraform workspaces (or vice versa)?IntermediateHow did different Terraform stacks share information?IntermediateDid you ever have a state lock or corrupted state? What did you do?AdvancedHow did you handle Terraform drift?Intermediate