Terraform Interview Questions — All Categories
31 questions tagged with Terraform as a technology, across every category it appears in
How does Terraform's create_before_destroy interact with resources that have unique naming constraints, like a fixed identifier?
AdvancedTerraform7 min
What's the difference between state drift and a genuine configuration change in Terraform, and how does -refresh-only help distinguish them?
IntermediateTerraform6 min
A single Terraform state file managing an entire environment's infrastructure takes 10 minutes to plan and any change risks touching everything — how would you split it?
AdvancedTerraform8 min
Using terraform_remote_state to reference another team's outputs works, but creates a tight coupling that breaks when they change their state — what's the alternative?
AdvancedTerraform7 min
What's the difference between terraform state rm and just deleting a resource block from configuration — when would you use state rm specifically?
IntermediateTerraform6 min
A database password is passed as a resource argument in Terraform — does marking the variable sensitive actually protect it in the state file?
AdvancedTerraform7 min
terraform plan shows a production RDS instance will be destroyed and recreated after a change you thought was trivial. What would you investigate before running apply?
AdvancedTerraformAWS10 min