Skip to content

Aliased Terraform providers highlighted as if they are typos #95

@xRokco

Description

@xRokco

Hi,

Since the 2.0.0 update, it seems like aliased provider inputs are being highlighted red, as if it is a typo:

Image
providers = {
    aws                 = aws.test
    aws.secrets-manager = aws.secrets-manager
  }

I assume this isn't intended.

More generally it occurs with any key name containing a period:

Image
locals {
  foo = {
    bar.fizz = "buzz"
  }
}

As far as I know this is valid Terraform: https://developer.hashicorp.com/terraform/language/modules/develop/providers#passing-providers-explicitly

Thank you 😄

Metadata

Metadata

Assignees

No one assigned

    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