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

Deduplicate completion entries for aliased providers #439

Closed
radeksimko opened this issue Mar 12, 2021 · 3 comments
Closed

Deduplicate completion entries for aliased providers #439

radeksimko opened this issue Mar 12, 2021 · 3 comments
Labels
bug Something isn't working textDocument/completion

Comments

@radeksimko
Copy link
Member

Server Version

v0.14.0

Terraform Configuration Files

terraform {
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 3.29"
    }
  }
}

provider "aws" {
  alias = "blah"
}

resource "" "name" {
  
}

Expected Behavior

See each aws resource type exactly once.

Actual Behavior

Screenshot 2021-03-12 at 08 58 25

Steps to Reproduce

  1. Request completion within the first label of resource
@radeksimko radeksimko added bug Something isn't working textDocument/completion labels Mar 12, 2021
@radeksimko
Copy link
Member Author

This is being addressed as part of hashicorp/hcl-lang#32

@radeksimko radeksimko self-assigned this Apr 19, 2021
@radeksimko
Copy link
Member Author

Addressed via #454 which brought the updated hcl-lang with the linked patch.

@radeksimko radeksimko removed their assignment Apr 20, 2021
@ghost
Copy link

ghost commented May 20, 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 May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working textDocument/completion
Projects
None yet
Development

No branches or pull requests

1 participant