From 9622f1479f55bab7d5ec8493f8ef7d43b28a4a3b Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Tue, 24 Oct 2023 15:13:25 +0100 Subject: [PATCH] validations: Add link in comment to open issue (#1472) --- internal/decoder/validations/unreferenced_origin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/decoder/validations/unreferenced_origin.go b/internal/decoder/validations/unreferenced_origin.go index 7c2822f58..9d38fc115 100644 --- a/internal/decoder/validations/unreferenced_origin.go +++ b/internal/decoder/validations/unreferenced_origin.go @@ -48,6 +48,7 @@ func UnreferencedOrigins(ctx context.Context, pathCtx *decoder.PathContext) lang // we only initially validate variables & local values // resources and data sources can have unknown schema // and will be researched at a later point + // TODO: revisit as part of https://github.com/hashicorp/terraform-ls/issues/1364 supported := []string{"var", "local"} firstStep := address[0].String() if !slices.Contains(supported, firstStep) {