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

Provider-defined functions are available for Terraform versions < 1.8 #1671

Closed
1 task done
dbanck opened this issue Mar 27, 2024 · 1 comment · Fixed by #1672
Closed
1 task done

Provider-defined functions are available for Terraform versions < 1.8 #1671

dbanck opened this issue Mar 27, 2024 · 1 comment · Fixed by #1672
Labels
bug Something isn't working

Comments

@dbanck
Copy link
Member

dbanck commented Mar 27, 2024

Language Server Version

v0.33.0-beta2

Terraform Version

1.7.5

Client Version

VS Code 1.87.2

Terraform Configuration

terraform {
  required_providers {
    time = {
      source  = "hashicorp/time"
      version = "0.11.1"
    }
    terraform = {
      source = "terraform.io/builtin/terraform"
    }
    local = {
      source  = "hashicorp/local"
      version = "2.5.1"
    }
  }
}

output "test" {
  value = provider::local::direxists()
}

Steps to Reproduce

  1. Have Terraform 1.7.5 installed
  2. Use the language server 0.33.0-beta2

Expected Behavior

Provider-defined functions included in the preloaded schemas should not be available

Actual Behavior

Provider-defined functions are available

Gist

No response

Workarounds

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@dbanck dbanck added the bug Something isn't working label Mar 27, 2024
Copy link

github-actions bot commented May 6, 2024

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 details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2024
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

Successfully merging a pull request may close this issue.

1 participant