[ ] IDE version: IntelliJ IDEA 2021.1.3 (Ultimate Edition) - Build #IU-211.7628.21, built on June 30, 2021
[ ] intellij-hcl plugin version: 0.7.10
[ ] Terraform version : Terraform v1.0.1 on linux_amd64
Terraform Configuration Files
variable "artist" {
type = string
default = "bob"
}
locals {
singers = {
bob = {
name = "Bob DYLAN"
style = "rock"
}
justin = {
name = "Justin BIEBER"
style = "pop"
}
}
artist = local.singers[var.artist]
}
output "ARTIST" {
value = format("%s : %s", local.artist.name, local.artist.style)
}
Exception
none
Expected Behavior
The "local.artist." should display right autocomplete options.
"local.artist.name" and "local.artist.style" should be resolved references.
Actual Behavior
Terraform code works but "local.artist.name" and "local.artist.style" are displayed as "unresolved references"
and "local.artist." show wrong autocomplete option.
Steps to Reproduce
Copy theses lines into a new file ans open it with Intellij.
Installation details
Terraform Configuration Files
Exception
Expected Behavior
The "local.artist." should display right autocomplete options. "local.artist.name" and "local.artist.style" should be resolved references.
Actual Behavior
Terraform code works but "local.artist.name" and "local.artist.style" are displayed as "unresolved references" and "local.artist." show wrong autocomplete option.
Steps to Reproduce
Copy theses lines into a new file ans open it with Intellij.