Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on hovering identifier #328

Closed
rchl opened this issue Dec 4, 2020 · 2 comments
Closed

Crash on hovering identifier #328

rchl opened this issue Dec 4, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@rchl
Copy link

rchl commented Dec 4, 2020

Server Version

0.10.0

Terraform Version

Terraform v0.14.0

Client Version

Sublime Text LSP v1.2.1

Terraform Configuration Files

This is a part of the file. Not sure if it will reproduce in isolation:

locals {
  identifiers_pull_stage = var.allow_stage ? [format(
    "arn:aws:iam::%d:role/stage_v2_%s_exec",
    module.global.account_numbers["stage"],
    local.app_id
  )] : []

  identifiers_pull_prod = var.allow_prod ? [format(
    "arn:aws:iam::%d:role/prod_v2_%s_exec",
    module.global.account_numbers["prod"],
    local.app_id
  )] : []

  identifiers_pull = compact(concat(
    local.identifiers_pull_stage,
    local.identifiers_pull_prod,
    var.ecr_identifiers_pull
  ))
}

Log Output

https://gist.github.com/rchl/d48fd8319313e13498140c81d3ca9757

Expected Behavior

No crash

Actual Behavior

Crashes

Steps to Reproduce

Hover the var.ecr_identifiers_pull part.

@radeksimko radeksimko added the bug Something isn't working label Dec 4, 2020
@radeksimko
Copy link
Member

I believe this was fixed in #320 which was not released yet, but will be very soon.

@ghost
Copy link

ghost commented Jan 3, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Jan 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants