Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>lsp-hcl-tf-versionNew to Visual Studio Code? Get it now.
lsp-hcl-tf-version

lsp-hcl-tf-version

HCL-TFmoduleversionvalidator

|
18 installs
| (1) | Free
hcl terraform module version validator
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

HCL module version validator

The "lsp-hcl-tf-version" extension for Visual Studio Code helps users validate Terraform module versions in HCL (HashiCorp Configuration Language) files. It ensures that the module versions specified in a Terraform project adhere to defined patterns or rules. By using regular expressions (regex), it checks the module version against expected formats, offering warnings if inconsistencies are found. This extension supports configuration through various settings, allowing users to customize validation behavior.

File repositories example:

file

  • repositories.json

Repositories path

path

Error: file does not exist

erro_file

Regex validation

regex

Extension settings

settings

Regex on code

regex_value

Warnings

warnigs

Resolve

resolve

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft