VladRassokhin / intellij-hcl

HCL language support for IntelliJ platform based IDEs
Apache License 2.0
244 stars 48 forks source link

Yandex Cloud: some resource types are not found, blocks are marked as unknown #380

Open FractalizeR opened 2 years ago

FractalizeR commented 2 years ago

Prerequisites

Installation details

Terraform Configuration Files

resource "yandex_alb_virtual_host" "host" {
  name           = "my-virtual-host"
  http_router_id = yandex_alb_http_router.default
  route {
    name = "my-route"
    http_route {
      http_route_action {
        backend_group_id = yandex_alb_backend_group.group
      }
    }
  }
}

Expected Behavior

Should allow to autocomplete blocks and provide basic validation. The same goes to all new Yandex Cloud objects related to Application Load Balancer for instance.

Actual Behavior

Does not autocomplete neither yandex_alb_virtual_host resource type, nor route block inside it. terraform validate says all green.

FractalizeR commented 1 year ago

Everything is updated several times, but still problem persists

FractalizeR commented 1 year ago

Looks like we have a bunch of "duplicates" here:

https://github.com/VladRassokhin/intellij-hcl/issues/351 https://github.com/VladRassokhin/intellij-hcl/issues/380 https://github.com/VladRassokhin/intellij-hcl/issues/392 https://github.com/VladRassokhin/intellij-hcl/issues/341