VladRassokhin / intellij-hcl

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

Unknown block type "reference" for arkiaconsulting/terraform-provider-confluent-schema-registry #351

Open dstendardi opened 3 years ago

dstendardi commented 3 years ago

Thank you for opening an issue. In this template paragraph text could be removed, however please retain headers.

Prerequisites

Installation details

Terraform Configuration Files

resource "schemaregistry_schema" "com_example_Greetings" {
  subject = "${kafka_topic.com_example_greetings.name}-value"

  schema = jsonencode([
    "com.olx.example.UserSaidHello",
  ])

  reference {
    name = schemaregistry_schema.com_example_UserSaidHello.subject
    subject = schemaregistry_schema.com_example_UserSaidHello.subject
    version = schemaregistry_schema.com_example_UserSaidHello.version
  }
}

Expected Behavior

The block reference should be valid

Actual Behavior

The block reference

Screenshot 2021-08-09 at 14 08 35

is unknown

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. Create a new project with a schema containing a reference
  2. Place the cursor on the block element
FractalizeR commented 2 years 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