Skip to content

terragrunt-ls raises an error in dependency variable #85

@dod38fr

Description

@dod38fr

Hello

I've some terragrunt code with dependency blocks like:

dependency "cluster_dependencies" {
  config_path = "../../stateful/cluster_dependencies"
}

and inputs like:

inputs = {
   aks_area                       = dependency.cluster.outputs.aks_area
 }

This code is fine with terragrunt, but terragrunt-ls returns the following error:

    {
      "range": {
        "start": {
          "line": 47,
          "character": 35
        },
        "end": {
          "line": 47,
          "character": 45
        }
      },
      "severity": 1,
      "source": "HCL",
      "message": "Unknown variable: There is no variable named \"dependency\"."
    },

Could you update terragrunt-ls to support dependency variables ?

All the best

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions