You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice tofu providers schema -json includes 4.40.0 features e.g. cloudflare_zero_trust_access_application
terraform init
Use terraform-ls 0.34.2
Notice it uses cloudflare 4.40.0
In VSCode it shows cloudflare 3.29.0.
Expected Behavior
It uses cloudflare 4.40.0 (matching the provider version being used).
Actual Behavior
It uses cloudflare 4.38.0 which is not being used.
Gist
No response
Workarounds
I haven't found any.
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
The text was updated successfully, but these errors were encountered:
Initially I thought it might still be trying to use a Terraform version but even after terraform initopentofu-ls uses the old version. It seems to be based on some kind of cache as another provider is using an outdated version based on when I first added it but I don't have global plugin cache enabled.
Actually just realised that if you specify the registry in required_providers it works properly so it does seem to be based on an old mention of the Terraform registry.
Language Server Version
v0.2.0
Terraform Version
OpenTofu v1.8.1
Client Version
Neovim v0.10.1
Terraform Configuration
Steps to Reproduce
main.tf
with the above contentstofu init
cloudflare_record
tofu providers schema -json
includes 4.40.0 features e.g.cloudflare_zero_trust_access_application
terraform init
terraform-ls 0.34.2
In VSCode it shows cloudflare 3.29.0.
Expected Behavior
It uses cloudflare 4.40.0 (matching the provider version being used).
Actual Behavior
It uses cloudflare 4.38.0 which is not being used.
Gist
No response
Workarounds
I haven't found any.
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: