Skip to content

Terraform state drifts from what is really deployed

DevOps and infra9 posts from 9 people8d active+11 post in the last 7 days, 0 the 7 days before (steady)

Posts per day

Posts per day9 posts, Aug 28 to Sep 25

The posts behind it

9, newest first
PostDate
Now that direct engine is the default, where are you drawing the line between bundles and the Terraform provider?...anything whose lifecycle matches a git repo goes in the bundle. Grants are the annoying case, they sit right on the seam.. One thing that did bite us. The direct engine reverts removed fields to defaults, where the Terraform engine used to leave the previous value in place....r/databricksu/AbilyticsEngSep 223 days ago
A first-class `terraform drift` command for detecting infrastructure changed outside of Terraform...per resource type. Neither lets me ignore that one tag for this check while still failing on any other drift. I also looked at `terraform refresh`, but it does the opposite of what I need here. It writes the drifted values into state, which erases the very drift I'm trying to...hashicorp/terraformajoshi01aiSep 92 weeks ago
terraform query fails with 'Error: No resources to query"### Terraform Version ### Terraform Configuration Files main.tf ### Debug Output ### Expected Behavior I expected a list of vpc resources. ### Actual Behavior I get the same error for all types of resources, `aws_vps`, `aws_instance`, ... I am using `.tfquery.hcl`. The provider...hashicorp/terraformbadmetacoderSep 72 weeks ago
Inverted TargetContains check in backend_apply emits false warnings and misses partial target overrides### Terraform Version ### Terraform Configuration Files ### Debug Output N/A (Behavior is observable directly in CLI standard output and reproducible via unit test) ### Expected Behavior When applying a saved plan that contains multiple targeted resources (e.g. both...hashicorp/terraformAbhirup0Sep 62 weeks ago
Bug: ConfigAction.TargetContains returns false for itself, breaking -target flag for action blocks...return false. As a result, targeting an action block directly via the CLI will silently fail to match the configuration node. ### Steps to Reproduce 1. Open action_test.go and append this exact test to the bottom of the file: func TestConfigActionTargetContains(t *testing.T) {...hashicorp/terraformmohitjoshi-heySep 23 weeks ago
Terraform 1.16.0 only processes the first import block targeting instances of the same for_each resource### Terraform Version ### Terraform Configuration Files resource "azurerm_log_analytics_solution" "this" { for_each = var.solutions solution_name = each.key location = var.location resource_group_name = var.resource_group_name workspace_resource_id = var.workspace_resource_id...hashicorp/terraformNGhafoorSep 23 weeks ago
`plan`/`apply` exit with an error when using a `cloud` backend and a version of TFE that doesn't support tfpolicy Run details### Terraform Version ### Terraform Configuration Files ### Debug Output ### Expected Behavior Policy output is skipped and terraform exits cleanly ### Actual Behavior Terraform logs an error and exits with status 1 ### Steps to Reproduce 1. `terraform init` 2. `terraform plan`...hashicorp/terraformtismSep 13 weeks ago
import block silently skipped when a second import block shares a for_each source and targets a different key of the same for_each'd resource### Terraform Version Reproduced on 1.16.0 (installed via network mirror, provider `hashicorp/google` ~> 7.46.0). Confirmed working correctly on 1.15.8 with the identical configuration. ### Use Cases We have a component that uses a child module (call it `module "spanner"`)...hashicorp/terraformpatels30Aug 313 weeks ago
terraform state show panics instead of erroring when given an attribute path (regression in 1.16.0)### Terraform Version Regression introduced in 1.16.0. Terraform v1.15.9 handles the same input correctly. ### Terraform Configuration Files None required - reproduces in an empty directory with no configuration, no state, and no `terraform init`. ### Expected Behavior...hashicorp/terraformewlumpkinAug 284 weeks ago

Companies and products named

Company or productPosts naming it
Terraform9
Microsoft Azure1
Databricks1
About this problem

Evidence

9 posts from 9 people in 2 places, about 2 a week over 26 days. Mostly on hashicorp/terraform, r/databricks. Tools named alongside: Microsoft Azure, Databricks.

Frustration Frustration 0 of 3· Seen on GitHub issues, Reddit

How it was grouped

Posts that state a pain and match the "iac-drift" rule about Terraform. First post Aug 28, 2026, latest Sep 22, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method

History

  • 2026-09-25 Momentum: fading to steady
  • 2026-09-25 Added: Terraform state drifts from what is really deployed (8 posts)

Rising problems by email

Mondays: the problems in data, tech and AI that grew fastest that week.

Double opt-in. Unsubscribe any time.