Terraform state drifts from what is really deployed
16 posts from 16 people14d activeFading, +0 this week
Posts per day
The posts behind it
[Bug]: Terraform litellm_organization_member and litellm_organization_member_add never read members back, so out-of-band changes are never detected
...and you run `terraform destroy`, the delete call fails on the proxy and the destroy keeps failing until the resource is removed with `terraform state rm` The proxy already exposes what a real Read needs. `GET /organization/info?organization_id=...` returns `members` with...
Terraform provider for Omnara (agents as code)
I want to define my Omnara setup in code and apply it from CI, the same way I manage the rest of my infrastructure. A Terraform provider makes this possible. Today I create agent profiles, cron triggers, secrets, skills and machine pools by hand in the web UI or with one-off API...
Terraform state issue in VM
### Terraform Version ### Terraform Configuration Files source_image_id = "/subscriptions/0048b14f*******************dccac/resourceGroups/a1************-01/providers/Microsoft.Compute/galleries/a1a***************mageuks01/images/windows-server-2022-full-x64/versions/26.33.4363728...
Add terraform force-lock
### Terraform Version ### Use Cases During infrastructure maintenance events such as combining root modules and migrating state buckets, the ability to lock to state file via Terraform directly to prevent unexpected modification. ### Attempted Solutions While we do not have...
terraform crashed while trying to perform terraform apply
### Terraform Version ### Terraform Configuration Files ### Debug Output ### Expected Behavior terraform apply must create the resources ### Actual Behavior ### Steps to Reproduce ### Additional Context _No response_ ### References _No response_ ### Generative AI / LLM assisted...
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....
How do you decide what blocks a Terraform apply
...stopped reading it.. Considering we also don't block on any of it either as we tried failing the build once and people started slapping auto approve on everything to get past it. That experiment lasted about a sprint.. Then a couple weeks back a PR opened a security group to the...
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...
What happens if I don't pay TFC after hitting the 500 resource limit?
...of HCP Terraform plans.. Emphasis mine.. What is this "applies per month" thing? I can't find it anywhere in the docs or the pricing pages. The closest I got was this: https://discuss.hashicorp.com/t/terraform-cloud-state-store/58819 , but it doesn't really make things clear,...
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...
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...
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) {...
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...
`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`...
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"`)...
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...
Companies and products named
About this problem
Evidence
16 posts from 16 people in 5 places, about 2 a week over 67 days. Mostly on hashicorp/terraform, r/Terraform, r/databricks. Tools named alongside: Microsoft Azure, Databricks, DynamoDB, GitHub.
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 Nov 2, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method
The same problem elsewhere
Infrastructure code drifts from what is really deployed
11 posts from 11 people on GitHub issues, Reddit.
Claude state drifts from what is really deployed
3 posts from 1 person on GitHub issues. Unverified.
GitHub state drifts from what is really deployed
3 posts from 3 people on GitHub issues.
Other Terraform problems
Terraform users keep filing bugs
Top post: "Network Mirror Direct Fall Back Not Working as Expected", one of 16 posts from 15 people on GitHub issues, Reddit.
Terraform outages and slowdowns disrupt work
5 posts from 5 people on Glyph Ibis.
Terraform upgrades break working setups
5 posts from 4 people on GitHub issues.
Terraform vulnerabilities are hard to triage and patch
4 posts from 3 people on Reddit, Glyph Ibis.
Terraform deprecations force unplanned migrations
4 posts from 3 people on GitHub issues.
History