Private Terraform Modules Lack IDE Autocomplete, Leaving DevOps Teams in the Dark

A platform engineering team discovered that private Terraform modules sourced via Git provide no IDE autocomplete, hover documentation, or argument hints, unlike public modules from registry.terraform.io. The issue stems from terraform-ls, HashiCorp's official language server, which only queries the public Terraform registry for module metadata. The problem surfaced after two platform teams merged and debated adopting versioned private modules over a monorepo approach, with developer experience cited as a key concern. Engineers using private Git-sourced modules must manually inspect module code or repositories to understand available inputs, slowing down development workflows. The author found no existing solution and noted that this limitation appears to affect all teams using private Terraform modules, not just their own organisation.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in