hcl-lang
hcl-lang copied to clipboard
WIP - Support single file context
This change consists of the following three PRs: https://github.com/hashicorp/hcl-lang/pull/435 https://github.com/hashicorp/terraform-schema/pull/430 https://github.com/hashicorp/terraform-ls/pull/1889
This change allows implementations of PathContext() to return different contexts based on the current filename
This makes it possible for Terraform Test files to each have their own context that is not shared between tests in the same directory