diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index ed919d93f..847612ed5 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + blank_issues_enabled: false contact_links: - name: Provider-related Feedback and Questions diff --git a/.github/gobenchdata-checks.yml b/.github/gobenchdata-checks.yml index 85133cf64..12f088491 100644 --- a/.github/gobenchdata-checks.yml +++ b/.github/gobenchdata-checks.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + checks: - package: ./internal/langserver/handlers name: local-single-module-no-provider diff --git a/.release/ci.hcl b/.release/ci.hcl index 532c67d44..c7253cc1b 100644 --- a/.release/ci.hcl +++ b/.release/ci.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + schema = "1" project "terraform-ls" { diff --git a/.release/release-metadata.hcl b/.release/release-metadata.hcl index 5d043eae9..6e30af41e 100644 --- a/.release/release-metadata.hcl +++ b/.release/release-metadata.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + url_source_repository = "https://github.com/hashicorp/terraform-ls" url_license = "https://github.com/hashicorp/terraform-ls/blob/main/LICENSE" diff --git a/.release/security-scan.hcl b/.release/security-scan.hcl index 8835cf4be..8e81ac9fc 100644 --- a/.release/security-scan.hcl +++ b/.release/security-scan.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + binary { go_modules = true # Scan the Go modules found in the binary osv = true # Use the Open Source Vulnerabilities (OSV) database diff --git a/algolia.go b/algolia.go index 25fd860af..18af714ce 100644 --- a/algolia.go +++ b/algolia.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main // Algolia application ID which should be used for searching Terraform registry modules diff --git a/internal/algolia/algolia.go b/internal/algolia/algolia.go index fff4b913a..57841eda8 100644 --- a/internal/algolia/algolia.go +++ b/internal/algolia/algolia.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package algolia import "context" diff --git a/internal/cmd/commands.go b/internal/cmd/commands.go index aa02956f7..bd9f96ea8 100644 --- a/internal/cmd/commands.go +++ b/internal/cmd/commands.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd import ( diff --git a/internal/cmd/inspect_module_command.go b/internal/cmd/inspect_module_command.go index 862648164..066b2ee75 100644 --- a/internal/cmd/inspect_module_command.go +++ b/internal/cmd/inspect_module_command.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd import ( diff --git a/internal/cmd/serve_command.go b/internal/cmd/serve_command.go index 7563778b3..2f601b011 100644 --- a/internal/cmd/serve_command.go +++ b/internal/cmd/serve_command.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd import ( diff --git a/internal/cmd/version_command.go b/internal/cmd/version_command.go index 0ccc304a8..a28f159a0 100644 --- a/internal/cmd/version_command.go +++ b/internal/cmd/version_command.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd import ( diff --git a/internal/codelens/reference_count.go b/internal/codelens/reference_count.go index b4c6f0354..843c054b8 100644 --- a/internal/codelens/reference_count.go +++ b/internal/codelens/reference_count.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package codelens import ( diff --git a/internal/context/context.go b/internal/context/context.go index b3e7e31be..95f529081 100644 --- a/internal/context/context.go +++ b/internal/context/context.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package context import ( diff --git a/internal/context/errors.go b/internal/context/errors.go index 58965f657..0e5f6b611 100644 --- a/internal/context/errors.go +++ b/internal/context/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package context import "fmt" diff --git a/internal/context/signal_cancel.go b/internal/context/signal_cancel.go index f8b30f1c5..896017c7f 100644 --- a/internal/context/signal_cancel.go +++ b/internal/context/signal_cancel.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package context import ( diff --git a/internal/decoder/context.go b/internal/decoder/context.go index 52a3bc817..538c3dd41 100644 --- a/internal/decoder/context.go +++ b/internal/decoder/context.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package decoder import ( diff --git a/internal/decoder/decoder.go b/internal/decoder/decoder.go index ad608cc09..88cc1423d 100644 --- a/internal/decoder/decoder.go +++ b/internal/decoder/decoder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package decoder import ( diff --git a/internal/decoder/decoder_test.go b/internal/decoder/decoder_test.go index f4a2d935f..261e1a68d 100644 --- a/internal/decoder/decoder_test.go +++ b/internal/decoder/decoder_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package decoder_test import ( diff --git a/internal/decoder/module_schema.go b/internal/decoder/module_schema.go index 8bd37acb6..c42866300 100644 --- a/internal/decoder/module_schema.go +++ b/internal/decoder/module_schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package decoder import ( diff --git a/internal/decoder/path_reader.go b/internal/decoder/path_reader.go index bff7c0218..865b4b9c5 100644 --- a/internal/decoder/path_reader.go +++ b/internal/decoder/path_reader.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package decoder import ( diff --git a/internal/document/change.go b/internal/document/change.go index 235ddf0bc..c055e61c8 100644 --- a/internal/document/change.go +++ b/internal/document/change.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package document import ( diff --git a/internal/document/change_test.go b/internal/document/change_test.go index f85df8871..b38fb25d8 100644 --- a/internal/document/change_test.go +++ b/internal/document/change_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package document import ( diff --git a/internal/document/dir_handle.go b/internal/document/dir_handle.go index 46c738df8..327e1912c 100644 --- a/internal/document/dir_handle.go +++ b/internal/document/dir_handle.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package document import ( diff --git a/internal/document/dir_handle_test.go b/internal/document/dir_handle_test.go index 77480193e..49906db57 100644 --- a/internal/document/dir_handle_test.go +++ b/internal/document/dir_handle_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package document import ( diff --git a/internal/document/document.go b/internal/document/document.go index d5f5c9b79..b8a53f90e 100644 --- a/internal/document/document.go +++ b/internal/document/document.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package document import ( diff --git a/internal/document/errors.go b/internal/document/errors.go index b2e72bf08..47b6ce8a3 100644 --- a/internal/document/errors.go +++ b/internal/document/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package document import ( diff --git a/internal/document/handle.go b/internal/document/handle.go index 5623b5331..3dffbc38c 100644 --- a/internal/document/handle.go +++ b/internal/document/handle.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package document import ( diff --git a/internal/document/handle_test.go b/internal/document/handle_test.go index 0115c39a0..e3b0a97df 100644 --- a/internal/document/handle_test.go +++ b/internal/document/handle_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package document import ( diff --git a/internal/document/position.go b/internal/document/position.go index e1fa9444a..7f9e7b18f 100644 --- a/internal/document/position.go +++ b/internal/document/position.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package document import ( diff --git a/internal/document/range.go b/internal/document/range.go index 1e938858a..fc2110481 100644 --- a/internal/document/range.go +++ b/internal/document/range.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package document import "fmt" diff --git a/internal/filesystem/document.go b/internal/filesystem/document.go index a336dc783..e1bbc3787 100644 --- a/internal/filesystem/document.go +++ b/internal/filesystem/document.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package filesystem import ( diff --git a/internal/filesystem/filesystem.go b/internal/filesystem/filesystem.go index a8810c5f9..6218ca26f 100644 --- a/internal/filesystem/filesystem.go +++ b/internal/filesystem/filesystem.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package filesystem import ( diff --git a/internal/filesystem/filesystem_test.go b/internal/filesystem/filesystem_test.go index 5e49aff2f..61856a139 100644 --- a/internal/filesystem/filesystem_test.go +++ b/internal/filesystem/filesystem_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package filesystem import ( diff --git a/internal/filesystem/inmem.go b/internal/filesystem/inmem.go index baa010c8d..780fb5754 100644 --- a/internal/filesystem/inmem.go +++ b/internal/filesystem/inmem.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package filesystem import ( diff --git a/internal/filesystem/os_fs.go b/internal/filesystem/os_fs.go index b6fb57099..796f9abf1 100644 --- a/internal/filesystem/os_fs.go +++ b/internal/filesystem/os_fs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package filesystem import ( diff --git a/internal/hcl/diff.go b/internal/hcl/diff.go index 2788f60e9..0a7f0ab0b 100644 --- a/internal/hcl/diff.go +++ b/internal/hcl/diff.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl import ( diff --git a/internal/hcl/diff_test.go b/internal/hcl/diff_test.go index 247366f26..b5a49178b 100644 --- a/internal/hcl/diff_test.go +++ b/internal/hcl/diff_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl import ( diff --git a/internal/hcl/errors.go b/internal/hcl/errors.go index 7cba4631b..5cbde2586 100644 --- a/internal/hcl/errors.go +++ b/internal/hcl/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl import ( diff --git a/internal/hooks/hooks.go b/internal/hooks/hooks.go index 0bc30d7ab..5fc64ac2a 100644 --- a/internal/hooks/hooks.go +++ b/internal/hooks/hooks.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package hooks enables the implementation of hooks for dynamic // autocompletion. Hooks should be added to this package and // registered via AppendCompletionHooks in completion_hooks.go. diff --git a/internal/hooks/module_source_local.go b/internal/hooks/module_source_local.go index 172106d64..fdc9de399 100644 --- a/internal/hooks/module_source_local.go +++ b/internal/hooks/module_source_local.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hooks import ( diff --git a/internal/hooks/module_source_local_test.go b/internal/hooks/module_source_local_test.go index 6453f28aa..fab8dede7 100644 --- a/internal/hooks/module_source_local_test.go +++ b/internal/hooks/module_source_local_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hooks import ( diff --git a/internal/hooks/module_source_registry.go b/internal/hooks/module_source_registry.go index d3e9d458b..bd39b9aee 100644 --- a/internal/hooks/module_source_registry.go +++ b/internal/hooks/module_source_registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hooks import ( diff --git a/internal/hooks/module_source_registry_test.go b/internal/hooks/module_source_registry_test.go index 5197a20be..5608fb228 100644 --- a/internal/hooks/module_source_registry_test.go +++ b/internal/hooks/module_source_registry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hooks import ( diff --git a/internal/hooks/module_version.go b/internal/hooks/module_version.go index 91962012c..b5df5bb77 100644 --- a/internal/hooks/module_version.go +++ b/internal/hooks/module_version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hooks import ( diff --git a/internal/hooks/module_version_test.go b/internal/hooks/module_version_test.go index 93ab204be..7802a76bd 100644 --- a/internal/hooks/module_version_test.go +++ b/internal/hooks/module_version_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hooks import ( diff --git a/internal/indexer/document_change.go b/internal/indexer/document_change.go index 46030dd4d..e5adaef2a 100644 --- a/internal/indexer/document_change.go +++ b/internal/indexer/document_change.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package indexer import ( diff --git a/internal/indexer/document_open.go b/internal/indexer/document_open.go index bcd3902c8..ec6a95502 100644 --- a/internal/indexer/document_open.go +++ b/internal/indexer/document_open.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package indexer import ( diff --git a/internal/indexer/fs.go b/internal/indexer/fs.go index 4349bb281..5f7a6b5c3 100644 --- a/internal/indexer/fs.go +++ b/internal/indexer/fs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package indexer import "io/fs" diff --git a/internal/indexer/indexer.go b/internal/indexer/indexer.go index 337e197be..d269af198 100644 --- a/internal/indexer/indexer.go +++ b/internal/indexer/indexer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package indexer import ( diff --git a/internal/indexer/module_calls.go b/internal/indexer/module_calls.go index aff8507b6..5c15987f8 100644 --- a/internal/indexer/module_calls.go +++ b/internal/indexer/module_calls.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package indexer import ( diff --git a/internal/indexer/walker.go b/internal/indexer/walker.go index 2332e21fd..bbf42ae5d 100644 --- a/internal/indexer/walker.go +++ b/internal/indexer/walker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package indexer import ( diff --git a/internal/indexer/watcher.go b/internal/indexer/watcher.go index 9142c2576..f9f86c556 100644 --- a/internal/indexer/watcher.go +++ b/internal/indexer/watcher.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package indexer import ( diff --git a/internal/job/ignore_state.go b/internal/job/ignore_state.go index 3bc946a97..a46085bd7 100644 --- a/internal/job/ignore_state.go +++ b/internal/job/ignore_state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/job/job.go b/internal/job/job.go index a504e752a..d96dc0e99 100644 --- a/internal/job/job.go +++ b/internal/job/job.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/job/job_id.go b/internal/job/job_id.go index 1f6e07245..fca8c64a0 100644 --- a/internal/job/job_id.go +++ b/internal/job/job_id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job type ID string diff --git a/internal/job/job_store.go b/internal/job/job_store.go index 8073d0e29..0fc02e38f 100644 --- a/internal/job/job_store.go +++ b/internal/job/job_store.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package job import ( diff --git a/internal/langserver/cmd/cmd.go b/internal/langserver/cmd/cmd.go index bbf589e00..a5c4788a3 100644 --- a/internal/langserver/cmd/cmd.go +++ b/internal/langserver/cmd/cmd.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd import ( diff --git a/internal/langserver/cmd/cmd_args.go b/internal/langserver/cmd/cmd_args.go index 1fdfa054e..2500f7765 100644 --- a/internal/langserver/cmd/cmd_args.go +++ b/internal/langserver/cmd/cmd_args.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cmd import ( diff --git a/internal/langserver/diagnostics/diagnostics.go b/internal/langserver/diagnostics/diagnostics.go index 7c2eef357..163f62149 100644 --- a/internal/langserver/diagnostics/diagnostics.go +++ b/internal/langserver/diagnostics/diagnostics.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnostics import ( diff --git a/internal/langserver/diagnostics/diagnostics_test.go b/internal/langserver/diagnostics/diagnostics_test.go index 33dfb46f4..4a91f5a78 100644 --- a/internal/langserver/diagnostics/diagnostics_test.go +++ b/internal/langserver/diagnostics/diagnostics_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnostics import ( diff --git a/internal/langserver/diagnostics/validate_diags.go b/internal/langserver/diagnostics/validate_diags.go index df4812399..5cfdbcc5d 100644 --- a/internal/langserver/diagnostics/validate_diags.go +++ b/internal/langserver/diagnostics/validate_diags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package diagnostics import ( diff --git a/internal/langserver/errors/errors.go b/internal/langserver/errors/errors.go index 45ed08bf7..034b1fc19 100644 --- a/internal/langserver/errors/errors.go +++ b/internal/langserver/errors/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors import ( diff --git a/internal/langserver/handlers/cancel_request.go b/internal/langserver/handlers/cancel_request.go index b470054e2..e5364925f 100644 --- a/internal/langserver/handlers/cancel_request.go +++ b/internal/langserver/handlers/cancel_request.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/cancel_request_test.go b/internal/langserver/handlers/cancel_request_test.go index 289844d5e..80fcaffe0 100644 --- a/internal/langserver/handlers/cancel_request_test.go +++ b/internal/langserver/handlers/cancel_request_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/code_action.go b/internal/langserver/handlers/code_action.go index bfadc54f9..e062eec7f 100644 --- a/internal/langserver/handlers/code_action.go +++ b/internal/langserver/handlers/code_action.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/code_action_test.go b/internal/langserver/handlers/code_action_test.go index 345a5a88a..bc7f0adb1 100644 --- a/internal/langserver/handlers/code_action_test.go +++ b/internal/langserver/handlers/code_action_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/code_lens.go b/internal/langserver/handlers/code_lens.go index 03bc1deb0..bfcdd3c17 100644 --- a/internal/langserver/handlers/code_lens.go +++ b/internal/langserver/handlers/code_lens.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/code_lens_test.go b/internal/langserver/handlers/code_lens_test.go index 9004ee1a0..0794ba00f 100644 --- a/internal/langserver/handlers/code_lens_test.go +++ b/internal/langserver/handlers/code_lens_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/command/docs_url.go b/internal/langserver/handlers/command/docs_url.go index 9d5dd396c..3245d4d62 100644 --- a/internal/langserver/handlers/command/docs_url.go +++ b/internal/langserver/handlers/command/docs_url.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/langserver/handlers/command/handler.go b/internal/langserver/handlers/command/handler.go index f101da1f6..0c4130945 100644 --- a/internal/langserver/handlers/command/handler.go +++ b/internal/langserver/handlers/command/handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/langserver/handlers/command/init.go b/internal/langserver/handlers/command/init.go index 2109965ce..7c04528ea 100644 --- a/internal/langserver/handlers/command/init.go +++ b/internal/langserver/handlers/command/init.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/langserver/handlers/command/module_callers.go b/internal/langserver/handlers/command/module_callers.go index fbb4eb514..d7f69a467 100644 --- a/internal/langserver/handlers/command/module_callers.go +++ b/internal/langserver/handlers/command/module_callers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/langserver/handlers/command/module_calls.go b/internal/langserver/handlers/command/module_calls.go index bc47132e9..901d2f7e9 100644 --- a/internal/langserver/handlers/command/module_calls.go +++ b/internal/langserver/handlers/command/module_calls.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/langserver/handlers/command/module_calls_test.go b/internal/langserver/handlers/command/module_calls_test.go index a3a3abf7c..4215a752c 100644 --- a/internal/langserver/handlers/command/module_calls_test.go +++ b/internal/langserver/handlers/command/module_calls_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/langserver/handlers/command/module_providers.go b/internal/langserver/handlers/command/module_providers.go index 104740e2e..b7ffd6f95 100644 --- a/internal/langserver/handlers/command/module_providers.go +++ b/internal/langserver/handlers/command/module_providers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/langserver/handlers/command/terraform.go b/internal/langserver/handlers/command/terraform.go index 95ccd17ca..999d5f7fa 100644 --- a/internal/langserver/handlers/command/terraform.go +++ b/internal/langserver/handlers/command/terraform.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/langserver/handlers/command/validate.go b/internal/langserver/handlers/command/validate.go index e27afadce..803b348eb 100644 --- a/internal/langserver/handlers/command/validate.go +++ b/internal/langserver/handlers/command/validate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/langserver/handlers/complete.go b/internal/langserver/handlers/complete.go index 61a286d8b..8e85724e2 100644 --- a/internal/langserver/handlers/complete.go +++ b/internal/langserver/handlers/complete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/complete_test.go b/internal/langserver/handlers/complete_test.go index 5dd2edf0d..124e81a4a 100644 --- a/internal/langserver/handlers/complete_test.go +++ b/internal/langserver/handlers/complete_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/completion_hooks.go b/internal/langserver/handlers/completion_hooks.go index 96f2110a4..1548818c8 100644 --- a/internal/langserver/handlers/completion_hooks.go +++ b/internal/langserver/handlers/completion_hooks.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/completion_resolve.go b/internal/langserver/handlers/completion_resolve.go index 30fcbf6b5..19dd9b333 100644 --- a/internal/langserver/handlers/completion_resolve.go +++ b/internal/langserver/handlers/completion_resolve.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/completion_resolve_test.go b/internal/langserver/handlers/completion_resolve_test.go index 39c7c2ada..5ec200f21 100644 --- a/internal/langserver/handlers/completion_resolve_test.go +++ b/internal/langserver/handlers/completion_resolve_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/did_change.go b/internal/langserver/handlers/did_change.go index 81004c2f8..d3c628b29 100644 --- a/internal/langserver/handlers/did_change.go +++ b/internal/langserver/handlers/did_change.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/did_change_test.go b/internal/langserver/handlers/did_change_test.go index 1d1a3f1d4..696616a7a 100644 --- a/internal/langserver/handlers/did_change_test.go +++ b/internal/langserver/handlers/did_change_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/did_change_watched_files.go b/internal/langserver/handlers/did_change_watched_files.go index 972ef6ed6..6758f060e 100644 --- a/internal/langserver/handlers/did_change_watched_files.go +++ b/internal/langserver/handlers/did_change_watched_files.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/did_change_watched_files_test.go b/internal/langserver/handlers/did_change_watched_files_test.go index be8a41165..e012dd7ec 100644 --- a/internal/langserver/handlers/did_change_watched_files_test.go +++ b/internal/langserver/handlers/did_change_watched_files_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/did_change_workspace_folders.go b/internal/langserver/handlers/did_change_workspace_folders.go index e39f273d0..4d8902af9 100644 --- a/internal/langserver/handlers/did_change_workspace_folders.go +++ b/internal/langserver/handlers/did_change_workspace_folders.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/did_change_workspace_folders_test.go b/internal/langserver/handlers/did_change_workspace_folders_test.go index 0f2057678..d6c2f1576 100644 --- a/internal/langserver/handlers/did_change_workspace_folders_test.go +++ b/internal/langserver/handlers/did_change_workspace_folders_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/did_close.go b/internal/langserver/handlers/did_close.go index 6a0d55dce..76694f452 100644 --- a/internal/langserver/handlers/did_close.go +++ b/internal/langserver/handlers/did_close.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/did_open.go b/internal/langserver/handlers/did_open.go index 60c0531db..4997a89c6 100644 --- a/internal/langserver/handlers/did_open.go +++ b/internal/langserver/handlers/did_open.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/did_open_test.go b/internal/langserver/handlers/did_open_test.go index fee304031..5bc62193e 100644 --- a/internal/langserver/handlers/did_open_test.go +++ b/internal/langserver/handlers/did_open_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/did_save.go b/internal/langserver/handlers/did_save.go index d245323b6..1780b5827 100644 --- a/internal/langserver/handlers/did_save.go +++ b/internal/langserver/handlers/did_save.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/document_link.go b/internal/langserver/handlers/document_link.go index 43bcedb9b..47360cc8b 100644 --- a/internal/langserver/handlers/document_link.go +++ b/internal/langserver/handlers/document_link.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/document_link_test.go b/internal/langserver/handlers/document_link_test.go index a66cf88b4..e3f3fff14 100644 --- a/internal/langserver/handlers/document_link_test.go +++ b/internal/langserver/handlers/document_link_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/execute_command.go b/internal/langserver/handlers/execute_command.go index a968246de..58c6d4778 100644 --- a/internal/langserver/handlers/execute_command.go +++ b/internal/langserver/handlers/execute_command.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/execute_command_init_test.go b/internal/langserver/handlers/execute_command_init_test.go index 74500c7cb..d69f16e6d 100644 --- a/internal/langserver/handlers/execute_command_init_test.go +++ b/internal/langserver/handlers/execute_command_init_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/execute_command_module_callers_test.go b/internal/langserver/handlers/execute_command_module_callers_test.go index 07fef7c6c..4f589e0a8 100644 --- a/internal/langserver/handlers/execute_command_module_callers_test.go +++ b/internal/langserver/handlers/execute_command_module_callers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/execute_command_module_providers_test.go b/internal/langserver/handlers/execute_command_module_providers_test.go index 2012b5fd9..6e6210a1e 100644 --- a/internal/langserver/handlers/execute_command_module_providers_test.go +++ b/internal/langserver/handlers/execute_command_module_providers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/execute_command_modules_test.go b/internal/langserver/handlers/execute_command_modules_test.go index 70c997a9a..cc0dea3d9 100644 --- a/internal/langserver/handlers/execute_command_modules_test.go +++ b/internal/langserver/handlers/execute_command_modules_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/execute_command_terraform_version_test.go b/internal/langserver/handlers/execute_command_terraform_version_test.go index 41d02eea8..b5e8aa0f2 100644 --- a/internal/langserver/handlers/execute_command_terraform_version_test.go +++ b/internal/langserver/handlers/execute_command_terraform_version_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/execute_command_test.go b/internal/langserver/handlers/execute_command_test.go index c00c02a3f..8778aa1d0 100644 --- a/internal/langserver/handlers/execute_command_test.go +++ b/internal/langserver/handlers/execute_command_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/execute_command_validate_test.go b/internal/langserver/handlers/execute_command_validate_test.go index 99164b145..f48534316 100644 --- a/internal/langserver/handlers/execute_command_validate_test.go +++ b/internal/langserver/handlers/execute_command_validate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/exit_test.go b/internal/langserver/handlers/exit_test.go index bfae8b132..2cfd30e43 100644 --- a/internal/langserver/handlers/exit_test.go +++ b/internal/langserver/handlers/exit_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/formatting.go b/internal/langserver/handlers/formatting.go index 7d05c9eb2..b917f68a7 100644 --- a/internal/langserver/handlers/formatting.go +++ b/internal/langserver/handlers/formatting.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/formatting_test.go b/internal/langserver/handlers/formatting_test.go index 6a8cf0849..f2d16b02f 100644 --- a/internal/langserver/handlers/formatting_test.go +++ b/internal/langserver/handlers/formatting_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/go_to_ref_target.go b/internal/langserver/handlers/go_to_ref_target.go index e71f7b7b7..75466f3c6 100644 --- a/internal/langserver/handlers/go_to_ref_target.go +++ b/internal/langserver/handlers/go_to_ref_target.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/go_to_ref_target_test.go b/internal/langserver/handlers/go_to_ref_target_test.go index 9e2175867..9dae3ab7d 100644 --- a/internal/langserver/handlers/go_to_ref_target_test.go +++ b/internal/langserver/handlers/go_to_ref_target_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/handlers_test.go b/internal/langserver/handlers/handlers_test.go index f340a39dd..052c24f56 100644 --- a/internal/langserver/handlers/handlers_test.go +++ b/internal/langserver/handlers/handlers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/hooks_module.go b/internal/langserver/handlers/hooks_module.go index c49ea21fa..ef853e53c 100644 --- a/internal/langserver/handlers/hooks_module.go +++ b/internal/langserver/handlers/hooks_module.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/hover.go b/internal/langserver/handlers/hover.go index a53c914a1..bd6d98cba 100644 --- a/internal/langserver/handlers/hover.go +++ b/internal/langserver/handlers/hover.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/hover_test.go b/internal/langserver/handlers/hover_test.go index d9358c945..6694e0511 100644 --- a/internal/langserver/handlers/hover_test.go +++ b/internal/langserver/handlers/hover_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/initialize.go b/internal/langserver/handlers/initialize.go index 8dc74696e..aba90ed5c 100644 --- a/internal/langserver/handlers/initialize.go +++ b/internal/langserver/handlers/initialize.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/initialize_benchmarks_test.go b/internal/langserver/handlers/initialize_benchmarks_test.go index 71fcf8e83..ab6be47be 100644 --- a/internal/langserver/handlers/initialize_benchmarks_test.go +++ b/internal/langserver/handlers/initialize_benchmarks_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/initialize_test.go b/internal/langserver/handlers/initialize_test.go index 2aaa91e36..9db1ff53e 100644 --- a/internal/langserver/handlers/initialize_test.go +++ b/internal/langserver/handlers/initialize_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/initialized.go b/internal/langserver/handlers/initialized.go index 3061d6ae0..2f4219c32 100644 --- a/internal/langserver/handlers/initialized.go +++ b/internal/langserver/handlers/initialized.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/references.go b/internal/langserver/handlers/references.go index 2a0814209..dbd14f2f0 100644 --- a/internal/langserver/handlers/references.go +++ b/internal/langserver/handlers/references.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/references_test.go b/internal/langserver/handlers/references_test.go index d7eb4177a..beadab808 100644 --- a/internal/langserver/handlers/references_test.go +++ b/internal/langserver/handlers/references_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/semantic_tokens.go b/internal/langserver/handlers/semantic_tokens.go index 554179d13..c1d438469 100644 --- a/internal/langserver/handlers/semantic_tokens.go +++ b/internal/langserver/handlers/semantic_tokens.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/semantic_tokens_test.go b/internal/langserver/handlers/semantic_tokens_test.go index 91799557a..d515f35f1 100644 --- a/internal/langserver/handlers/semantic_tokens_test.go +++ b/internal/langserver/handlers/semantic_tokens_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/service.go b/internal/langserver/handlers/service.go index 77c9d0526..30826b430 100644 --- a/internal/langserver/handlers/service.go +++ b/internal/langserver/handlers/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/session_mock_test.go b/internal/langserver/handlers/session_mock_test.go index 12052953a..25be355c4 100644 --- a/internal/langserver/handlers/session_mock_test.go +++ b/internal/langserver/handlers/session_mock_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/shutdown.go b/internal/langserver/handlers/shutdown.go index af9fbc34f..68126038d 100644 --- a/internal/langserver/handlers/shutdown.go +++ b/internal/langserver/handlers/shutdown.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/shutdown_test.go b/internal/langserver/handlers/shutdown_test.go index 35ee02c29..a89e136c6 100644 --- a/internal/langserver/handlers/shutdown_test.go +++ b/internal/langserver/handlers/shutdown_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/symbols.go b/internal/langserver/handlers/symbols.go index cc7c106d9..209fcf5d8 100644 --- a/internal/langserver/handlers/symbols.go +++ b/internal/langserver/handlers/symbols.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/symbols_test.go b/internal/langserver/handlers/symbols_test.go index d45fdb826..fde85735d 100644 --- a/internal/langserver/handlers/symbols_test.go +++ b/internal/langserver/handlers/symbols_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/workspace_symbol.go b/internal/langserver/handlers/workspace_symbol.go index 0e4e33665..02cd15a4c 100644 --- a/internal/langserver/handlers/workspace_symbol.go +++ b/internal/langserver/handlers/workspace_symbol.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/handlers/workspace_symbol_test.go b/internal/langserver/handlers/workspace_symbol_test.go index 20fe92c11..8dad2e64a 100644 --- a/internal/langserver/handlers/workspace_symbol_test.go +++ b/internal/langserver/handlers/workspace_symbol_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package handlers import ( diff --git a/internal/langserver/langserver.go b/internal/langserver/langserver.go index 79e0451a8..79c26f537 100644 --- a/internal/langserver/langserver.go +++ b/internal/langserver/langserver.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package langserver import ( diff --git a/internal/langserver/langserver_mock.go b/internal/langserver/langserver_mock.go index 71d8e088a..47cbd9415 100644 --- a/internal/langserver/langserver_mock.go +++ b/internal/langserver/langserver_mock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package langserver import ( diff --git a/internal/langserver/notifier/notifier.go b/internal/langserver/notifier/notifier.go index 51d545223..31ce8c1ea 100644 --- a/internal/langserver/notifier/notifier.go +++ b/internal/langserver/notifier/notifier.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package notifier import ( diff --git a/internal/langserver/notifier/notifier_test.go b/internal/langserver/notifier/notifier_test.go index 75eb83ea8..64a481dbb 100644 --- a/internal/langserver/notifier/notifier_test.go +++ b/internal/langserver/notifier/notifier_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package notifier import ( diff --git a/internal/langserver/progress/progress.go b/internal/langserver/progress/progress.go index d461ea633..c078c0173 100644 --- a/internal/langserver/progress/progress.go +++ b/internal/langserver/progress/progress.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package progress import ( diff --git a/internal/langserver/rpc_logger.go b/internal/langserver/rpc_logger.go index 983d93eda..7f928149a 100644 --- a/internal/langserver/rpc_logger.go +++ b/internal/langserver/rpc_logger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package langserver import ( diff --git a/internal/langserver/session/errors.go b/internal/langserver/session/errors.go index a3f38ca41..ee2f137bf 100644 --- a/internal/langserver/session/errors.go +++ b/internal/langserver/session/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/langserver/session/session.go b/internal/langserver/session/session.go index 30eead40f..5ecc03ce5 100644 --- a/internal/langserver/session/session.go +++ b/internal/langserver/session/session.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/langserver/session/session_state.go b/internal/langserver/session/session_state.go index 1d41a1230..ec4678270 100644 --- a/internal/langserver/session/session_state.go +++ b/internal/langserver/session/session_state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session // sessionState represents state of the language server diff --git a/internal/langserver/session/types.go b/internal/langserver/session/types.go index 6d129ea74..019b0ffc0 100644 --- a/internal/langserver/session/types.go +++ b/internal/langserver/session/types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package session import ( diff --git a/internal/logging/logging.go b/internal/logging/logging.go index de444efe8..0034c72d6 100644 --- a/internal/logging/logging.go +++ b/internal/logging/logging.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package logging import ( diff --git a/internal/lsp/client_capabilities.go b/internal/lsp/client_capabilities.go index efea7e959..3edab664f 100644 --- a/internal/lsp/client_capabilities.go +++ b/internal/lsp/client_capabilities.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/client_name.go b/internal/lsp/client_name.go index ac6a54c81..5b286cc0f 100644 --- a/internal/lsp/client_name.go +++ b/internal/lsp/client_name.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/code_actions.go b/internal/lsp/code_actions.go index 93d781b6b..b4dc6bf65 100644 --- a/internal/lsp/code_actions.go +++ b/internal/lsp/code_actions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/command.go b/internal/lsp/command.go index bc3391d69..a94ed5ef4 100644 --- a/internal/lsp/command.go +++ b/internal/lsp/command.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/completion.go b/internal/lsp/completion.go index 8eee68340..90399192d 100644 --- a/internal/lsp/completion.go +++ b/internal/lsp/completion.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/diagnostics.go b/internal/lsp/diagnostics.go index 1b1bbbc70..656652ea6 100644 --- a/internal/lsp/diagnostics.go +++ b/internal/lsp/diagnostics.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/diagnostics_test.go b/internal/lsp/diagnostics_test.go index aa27c48a3..920360859 100644 --- a/internal/lsp/diagnostics_test.go +++ b/internal/lsp/diagnostics_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/dir_handler.go b/internal/lsp/dir_handler.go index d92f60f9a..f6f2a0f41 100644 --- a/internal/lsp/dir_handler.go +++ b/internal/lsp/dir_handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp type DirHandler interface { diff --git a/internal/lsp/doc.go b/internal/lsp/doc.go index 2d74986fe..4ae24c621 100644 --- a/internal/lsp/doc.go +++ b/internal/lsp/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp /* diff --git a/internal/lsp/document_links.go b/internal/lsp/document_links.go index 560c14653..934ff2f79 100644 --- a/internal/lsp/document_links.go +++ b/internal/lsp/document_links.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/file_change.go b/internal/lsp/file_change.go index 48bce7794..785c41b25 100644 --- a/internal/lsp/file_change.go +++ b/internal/lsp/file_change.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/file_handler.go b/internal/lsp/file_handler.go index 8e84169d3..b118971ce 100644 --- a/internal/lsp/file_handler.go +++ b/internal/lsp/file_handler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/hover.go b/internal/lsp/hover.go index 32bf3cb56..957d6302d 100644 --- a/internal/lsp/hover.go +++ b/internal/lsp/hover.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/language_id.go b/internal/lsp/language_id.go index 47828da72..623771f3c 100644 --- a/internal/lsp/language_id.go +++ b/internal/lsp/language_id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp // LanguageID represents the coding language diff --git a/internal/lsp/location_links.go b/internal/lsp/location_links.go index 90cf5924e..59379da30 100644 --- a/internal/lsp/location_links.go +++ b/internal/lsp/location_links.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/locations.go b/internal/lsp/locations.go index 7c602c49c..b726f5a7e 100644 --- a/internal/lsp/locations.go +++ b/internal/lsp/locations.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/markup_content.go b/internal/lsp/markup_content.go index 537aa28c2..3a8525e25 100644 --- a/internal/lsp/markup_content.go +++ b/internal/lsp/markup_content.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/position.go b/internal/lsp/position.go index 83d17ab7e..9b61dca88 100644 --- a/internal/lsp/position.go +++ b/internal/lsp/position.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/range.go b/internal/lsp/range.go index 708b7ec05..09dc7e748 100644 --- a/internal/lsp/range.go +++ b/internal/lsp/range.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/semantic_tokens.go b/internal/lsp/semantic_tokens.go index 3a189ab73..70520b3f8 100644 --- a/internal/lsp/semantic_tokens.go +++ b/internal/lsp/semantic_tokens.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/semtok/lsp_token_modifiers.go b/internal/lsp/semtok/lsp_token_modifiers.go index ee34db7dd..272b2fdcf 100644 --- a/internal/lsp/semtok/lsp_token_modifiers.go +++ b/internal/lsp/semtok/lsp_token_modifiers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package semtok var ( diff --git a/internal/lsp/semtok/lsp_token_types.go b/internal/lsp/semtok/lsp_token_types.go index 9ab34e272..0fee83da4 100644 --- a/internal/lsp/semtok/lsp_token_types.go +++ b/internal/lsp/semtok/lsp_token_types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package semtok const ( diff --git a/internal/lsp/semtok/token_modifier.go b/internal/lsp/semtok/token_modifier.go index 4cc4cd3b2..f32251315 100644 --- a/internal/lsp/semtok/token_modifier.go +++ b/internal/lsp/semtok/token_modifier.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package semtok import "math" diff --git a/internal/lsp/semtok/token_types.go b/internal/lsp/semtok/token_types.go index f12d9f08a..2b9de58a6 100644 --- a/internal/lsp/semtok/token_types.go +++ b/internal/lsp/semtok/token_types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package semtok type TokenType string diff --git a/internal/lsp/symbols.go b/internal/lsp/symbols.go index b2280bc9c..d745973a6 100644 --- a/internal/lsp/symbols.go +++ b/internal/lsp/symbols.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/text_edits.go b/internal/lsp/text_edits.go index f80a98cf1..a8ce33765 100644 --- a/internal/lsp/text_edits.go +++ b/internal/lsp/text_edits.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/token_encoder.go b/internal/lsp/token_encoder.go index 6db11d4b2..d210437ed 100644 --- a/internal/lsp/token_encoder.go +++ b/internal/lsp/token_encoder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/lsp/token_encoder_test.go b/internal/lsp/token_encoder_test.go index 0711e694e..fe95662fa 100644 --- a/internal/lsp/token_encoder_test.go +++ b/internal/lsp/token_encoder_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package lsp import ( diff --git a/internal/mdplain/mdplain.go b/internal/mdplain/mdplain.go index db8bcd554..7d82d4926 100644 --- a/internal/mdplain/mdplain.go +++ b/internal/mdplain/mdplain.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mdplain import ( diff --git a/internal/mdplain/mdplain_test.go b/internal/mdplain/mdplain_test.go index 60f334a61..c94ae1a6f 100644 --- a/internal/mdplain/mdplain_test.go +++ b/internal/mdplain/mdplain_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package mdplain_test import ( diff --git a/internal/pathcmp/path.go b/internal/pathcmp/path.go index 452f1e71e..fc5519ad4 100644 --- a/internal/pathcmp/path.go +++ b/internal/pathcmp/path.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pathcmp import ( diff --git a/internal/pathcmp/path_unix_test.go b/internal/pathcmp/path_unix_test.go index 6b3265b66..a806a731e 100644 --- a/internal/pathcmp/path_unix_test.go +++ b/internal/pathcmp/path_unix_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/internal/pathcmp/path_windows_test.go b/internal/pathcmp/path_windows_test.go index 95d4f1167..6dc67a09a 100644 --- a/internal/pathcmp/path_windows_test.go +++ b/internal/pathcmp/path_windows_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pathcmp import ( diff --git a/internal/pathtpl/pathtpl.go b/internal/pathtpl/pathtpl.go index 85d4f46ef..7a1358ef7 100644 --- a/internal/pathtpl/pathtpl.go +++ b/internal/pathtpl/pathtpl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pathtpl import ( diff --git a/internal/protocol/completion.go b/internal/protocol/completion.go index 7b1cd8379..4a8cf02c9 100644 --- a/internal/protocol/completion.go +++ b/internal/protocol/completion.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package protocol import "github.com/hashicorp/hcl-lang/lang" diff --git a/internal/protocol/experimental.go b/internal/protocol/experimental.go index 5a596913f..cf34a1c90 100644 --- a/internal/protocol/experimental.go +++ b/internal/protocol/experimental.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package protocol type ExperimentalServerCapabilities struct { diff --git a/internal/protocol/gen.go b/internal/protocol/gen.go index 828ca9694..d712436ce 100644 --- a/internal/protocol/gen.go +++ b/internal/protocol/gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package protocol //go:generate go run ./gen/gen.go -- protocol.go diff --git a/internal/protocol/gen/gen.go b/internal/protocol/gen/gen.go index 66681c7cf..675544c93 100644 --- a/internal/protocol/gen/gen.go +++ b/internal/protocol/gen/gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // +build generate package main diff --git a/internal/protocol/telemetry.go b/internal/protocol/telemetry.go index 10a925cb2..6d24f2b8a 100644 --- a/internal/protocol/telemetry.go +++ b/internal/protocol/telemetry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package protocol const TelemetryFormatVersion = 1 diff --git a/internal/registry/module.go b/internal/registry/module.go index b677aafc0..001b572bc 100644 --- a/internal/registry/module.go +++ b/internal/registry/module.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/registry/module_mock_responses_test.go b/internal/registry/module_mock_responses_test.go index c50376e3f..ddd8986a7 100644 --- a/internal/registry/module_mock_responses_test.go +++ b/internal/registry/module_mock_responses_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry // moduleVersionsMockResponse represents response from https://registry.terraform.io/v1/modules/puppetlabs/deployment/ec/versions diff --git a/internal/registry/module_test.go b/internal/registry/module_test.go index 76c6bb6e1..eae242bd1 100644 --- a/internal/registry/module_test.go +++ b/internal/registry/module_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/registry/provider.go b/internal/registry/provider.go index 4f8a997f5..545755081 100644 --- a/internal/registry/provider.go +++ b/internal/registry/provider.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/registry/provider_test.go b/internal/registry/provider_test.go index c60226281..b83d25fab 100644 --- a/internal/registry/provider_test.go +++ b/internal/registry/provider_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/registry/registry.go b/internal/registry/registry.go index 3ed842c2b..9818ee8c1 100644 --- a/internal/registry/registry.go +++ b/internal/registry/registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/scheduler/scheduler.go b/internal/scheduler/scheduler.go index 6d0dac976..1f12753b9 100644 --- a/internal/scheduler/scheduler.go +++ b/internal/scheduler/scheduler.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scheduler import ( diff --git a/internal/scheduler/scheduler_long_test.go b/internal/scheduler/scheduler_long_test.go index 91ad145a5..659e0713e 100644 --- a/internal/scheduler/scheduler_long_test.go +++ b/internal/scheduler/scheduler_long_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build longtest package scheduler diff --git a/internal/scheduler/scheduler_test.go b/internal/scheduler/scheduler_test.go index f11e8c916..db8c53f98 100644 --- a/internal/scheduler/scheduler_test.go +++ b/internal/scheduler/scheduler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package scheduler import ( diff --git a/internal/schemas/doc.go b/internal/schemas/doc.go index 1bddfab29..68c15a988 100644 --- a/internal/schemas/doc.go +++ b/internal/schemas/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package schemas embeds provder schemas for completion support, in particular, // for uninitialized modules package schemas diff --git a/internal/schemas/gen/gen.go b/internal/schemas/gen/gen.go index 50b02c5a8..12ca07301 100644 --- a/internal/schemas/gen/gen.go +++ b/internal/schemas/gen/gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build generate // +build generate diff --git a/internal/schemas/schemas.go b/internal/schemas/schemas.go index b0ddd669f..798dee9f3 100644 --- a/internal/schemas/schemas.go +++ b/internal/schemas/schemas.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schemas import ( diff --git a/internal/settings/settings.go b/internal/settings/settings.go index cf65d3fa4..c93a68bb8 100644 --- a/internal/settings/settings.go +++ b/internal/settings/settings.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package settings import ( diff --git a/internal/settings/settings_test.go b/internal/settings/settings_test.go index f00525df6..50032454c 100644 --- a/internal/settings/settings_test.go +++ b/internal/settings/settings_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package settings import ( diff --git a/internal/source/source.go b/internal/source/source.go index 9e7fd56a8..b9268fb13 100644 --- a/internal/source/source.go +++ b/internal/source/source.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package source import ( diff --git a/internal/source/source_test.go b/internal/source/source_test.go index d08da53eb..c9e52145a 100644 --- a/internal/source/source_test.go +++ b/internal/source/source_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package source import ( diff --git a/internal/source/types.go b/internal/source/types.go index f9997a85a..aca733dfa 100644 --- a/internal/source/types.go +++ b/internal/source/types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package source type Lines []Line diff --git a/internal/state/cmp_opts_test.go b/internal/state/cmp_opts_test.go index c7e3e4140..df37a6608 100644 --- a/internal/state/cmp_opts_test.go +++ b/internal/state/cmp_opts_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/dir_handle_field_indexer.go b/internal/state/dir_handle_field_indexer.go index 75431ea57..3b40bb8f2 100644 --- a/internal/state/dir_handle_field_indexer.go +++ b/internal/state/dir_handle_field_indexer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/documents.go b/internal/state/documents.go index 380403138..22057a16a 100644 --- a/internal/state/documents.go +++ b/internal/state/documents.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/documents_test.go b/internal/state/documents_test.go index 04f0fc29d..b569ea248 100644 --- a/internal/state/documents_test.go +++ b/internal/state/documents_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/errors.go b/internal/state/errors.go index 9b2b950b9..ef0068f21 100644 --- a/internal/state/errors.go +++ b/internal/state/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/installed_providers.go b/internal/state/installed_providers.go index eb136d147..50ff7e80e 100644 --- a/internal/state/installed_providers.go +++ b/internal/state/installed_providers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/installed_providers_test.go b/internal/state/installed_providers_test.go index 68078e363..185204444 100644 --- a/internal/state/installed_providers_test.go +++ b/internal/state/installed_providers_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/job_id_slice_index.go b/internal/state/job_id_slice_index.go index cfe19fe81..c538d1d70 100644 --- a/internal/state/job_id_slice_index.go +++ b/internal/state/job_id_slice_index.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/jobs.go b/internal/state/jobs.go index c07ee2ff9..655d6245a 100644 --- a/internal/state/jobs.go +++ b/internal/state/jobs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/jobs_test.go b/internal/state/jobs_test.go index 2847a25f4..a91059a24 100644 --- a/internal/state/jobs_test.go +++ b/internal/state/jobs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/module.go b/internal/state/module.go index 801d04ec0..7fdd12cf4 100644 --- a/internal/state/module.go +++ b/internal/state/module.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/module_changes.go b/internal/state/module_changes.go index f2a8013b6..89127b50c 100644 --- a/internal/state/module_changes.go +++ b/internal/state/module_changes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/module_changes_test.go b/internal/state/module_changes_test.go index 09659e59a..3f71a3d0d 100644 --- a/internal/state/module_changes_test.go +++ b/internal/state/module_changes_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/module_ids.go b/internal/state/module_ids.go index 099c0ed76..591b5de86 100644 --- a/internal/state/module_ids.go +++ b/internal/state/module_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import "github.com/hashicorp/go-uuid" diff --git a/internal/state/module_test.go b/internal/state/module_test.go index 5af613ff6..a45bb1c2b 100644 --- a/internal/state/module_test.go +++ b/internal/state/module_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/priority_index.go b/internal/state/priority_index.go index ffadb8533..3a048dcd3 100644 --- a/internal/state/priority_index.go +++ b/internal/state/priority_index.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/provider_ids.go b/internal/state/provider_ids.go index 63bb612bc..44745ec91 100644 --- a/internal/state/provider_ids.go +++ b/internal/state/provider_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/provider_schema.go b/internal/state/provider_schema.go index 850124966..1a9c980e8 100644 --- a/internal/state/provider_schema.go +++ b/internal/state/provider_schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/provider_schema_test.go b/internal/state/provider_schema_test.go index 26fb50acf..172d8bc7b 100644 --- a/internal/state/provider_schema_test.go +++ b/internal/state/provider_schema_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/registry_modules.go b/internal/state/registry_modules.go index f67d5e1b5..1360d3750 100644 --- a/internal/state/registry_modules.go +++ b/internal/state/registry_modules.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/registry_modules_test.go b/internal/state/registry_modules_test.go index 4d862d918..86a2cb98e 100644 --- a/internal/state/registry_modules_test.go +++ b/internal/state/registry_modules_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/schema_source.go b/internal/state/schema_source.go index 82186ab6e..0779cffe8 100644 --- a/internal/state/schema_source.go +++ b/internal/state/schema_source.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import "fmt" diff --git a/internal/state/slice_length_index.go b/internal/state/slice_length_index.go index 749c382c9..6278a45e7 100644 --- a/internal/state/slice_length_index.go +++ b/internal/state/slice_length_index.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/state.go b/internal/state/state.go index bd290c0d0..0445cb986 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/state_test.go b/internal/state/state_test.go index a4bede064..feb59f1d5 100644 --- a/internal/state/state_test.go +++ b/internal/state/state_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import "testing" diff --git a/internal/state/stringer_field_indexer.go b/internal/state/stringer_field_indexer.go index 041660b22..2bdbec492 100644 --- a/internal/state/stringer_field_indexer.go +++ b/internal/state/stringer_field_indexer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/time_field_index.go b/internal/state/time_field_index.go index 8540131b2..fdf51cd62 100644 --- a/internal/state/time_field_index.go +++ b/internal/state/time_field_index.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/version_field_indexer.go b/internal/state/version_field_indexer.go index 0a75d2816..b747bd932 100644 --- a/internal/state/version_field_indexer.go +++ b/internal/state/version_field_indexer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/walker_paths.go b/internal/state/walker_paths.go index 1773b8aff..46f0c76c0 100644 --- a/internal/state/walker_paths.go +++ b/internal/state/walker_paths.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/state/walker_paths_test.go b/internal/state/walker_paths_test.go index 3c3dfcef9..29a7ae484 100644 --- a/internal/state/walker_paths_test.go +++ b/internal/state/walker_paths_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import ( diff --git a/internal/telemetry/noop.go b/internal/telemetry/noop.go index e9b7b3a4a..7fa01101d 100644 --- a/internal/telemetry/noop.go +++ b/internal/telemetry/noop.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package telemetry import ( diff --git a/internal/telemetry/sender.go b/internal/telemetry/sender.go index e762a461b..851088b06 100644 --- a/internal/telemetry/sender.go +++ b/internal/telemetry/sender.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package telemetry import "context" diff --git a/internal/telemetry/telemetry.go b/internal/telemetry/telemetry.go index 3d01d3a81..c4bd85406 100644 --- a/internal/telemetry/telemetry.go +++ b/internal/telemetry/telemetry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package telemetry import ( diff --git a/internal/terraform/ast/ast_test.go b/internal/terraform/ast/ast_test.go index ad70671d7..c48329edf 100644 --- a/internal/terraform/ast/ast_test.go +++ b/internal/terraform/ast/ast_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ast import ( diff --git a/internal/terraform/ast/module.go b/internal/terraform/ast/module.go index 6f26dfebf..61331defd 100644 --- a/internal/terraform/ast/module.go +++ b/internal/terraform/ast/module.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ast import ( diff --git a/internal/terraform/ast/variables.go b/internal/terraform/ast/variables.go index 278a9aba4..a2f6aaf9e 100644 --- a/internal/terraform/ast/variables.go +++ b/internal/terraform/ast/variables.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ast import ( diff --git a/internal/terraform/datadir/datadir.go b/internal/terraform/datadir/datadir.go index fce62f64a..25667cea0 100644 --- a/internal/terraform/datadir/datadir.go +++ b/internal/terraform/datadir/datadir.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package datadir import ( diff --git a/internal/terraform/datadir/module_manifest.go b/internal/terraform/datadir/module_manifest.go index eafdac6af..fe1b33ea0 100644 --- a/internal/terraform/datadir/module_manifest.go +++ b/internal/terraform/datadir/module_manifest.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package datadir import ( diff --git a/internal/terraform/datadir/module_manifest_test.go b/internal/terraform/datadir/module_manifest_test.go index 6031f0fab..c950cf1fb 100644 --- a/internal/terraform/datadir/module_manifest_test.go +++ b/internal/terraform/datadir/module_manifest_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package datadir import ( diff --git a/internal/terraform/datadir/module_manifest_unix_test.go b/internal/terraform/datadir/module_manifest_unix_test.go index 6f8a3ed6d..3381f53d6 100644 --- a/internal/terraform/datadir/module_manifest_unix_test.go +++ b/internal/terraform/datadir/module_manifest_unix_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/internal/terraform/datadir/module_manifest_windows_test.go b/internal/terraform/datadir/module_manifest_windows_test.go index 65e867752..55487b0c8 100644 --- a/internal/terraform/datadir/module_manifest_windows_test.go +++ b/internal/terraform/datadir/module_manifest_windows_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package datadir import ( diff --git a/internal/terraform/datadir/paths.go b/internal/terraform/datadir/paths.go index cf6434f76..f6c762817 100644 --- a/internal/terraform/datadir/paths.go +++ b/internal/terraform/datadir/paths.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package datadir import ( diff --git a/internal/terraform/datadir/plugin_lock_file.go b/internal/terraform/datadir/plugin_lock_file.go index 54e8a9fcd..145f39b75 100644 --- a/internal/terraform/datadir/plugin_lock_file.go +++ b/internal/terraform/datadir/plugin_lock_file.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package datadir import ( diff --git a/internal/terraform/datadir/plugin_lock_file_test.go b/internal/terraform/datadir/plugin_lock_file_test.go index 13afecbf0..7d2493ffd 100644 --- a/internal/terraform/datadir/plugin_lock_file_test.go +++ b/internal/terraform/datadir/plugin_lock_file_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package datadir import ( diff --git a/internal/terraform/discovery/discovery.go b/internal/terraform/discovery/discovery.go index 7b62c3ee8..e8ca37a07 100644 --- a/internal/terraform/discovery/discovery.go +++ b/internal/terraform/discovery/discovery.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discovery import ( diff --git a/internal/terraform/discovery/discovery_mock.go b/internal/terraform/discovery/discovery_mock.go index de3700b19..7a7eb74c1 100644 --- a/internal/terraform/discovery/discovery_mock.go +++ b/internal/terraform/discovery/discovery_mock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discovery type MockDiscovery struct { diff --git a/internal/terraform/discovery/discovery_unix.go b/internal/terraform/discovery/discovery_unix.go index d423e4747..1d01396a6 100644 --- a/internal/terraform/discovery/discovery_unix.go +++ b/internal/terraform/discovery/discovery_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/internal/terraform/discovery/discovery_windows.go b/internal/terraform/discovery/discovery_windows.go index c86b8361a..df907df69 100644 --- a/internal/terraform/discovery/discovery_windows.go +++ b/internal/terraform/discovery/discovery_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package discovery const executableName = "terraform.exe" diff --git a/internal/terraform/errors/errors.go b/internal/terraform/errors/errors.go index a3098fde5..95e67812b 100644 --- a/internal/terraform/errors/errors.go +++ b/internal/terraform/errors/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package errors import ( diff --git a/internal/terraform/exec/errors.go b/internal/terraform/exec/errors.go index 8e3269840..2c9e1ad5b 100644 --- a/internal/terraform/exec/errors.go +++ b/internal/terraform/exec/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package exec import ( diff --git a/internal/terraform/exec/exec.go b/internal/terraform/exec/exec.go index 51d7717bb..cff7497f7 100644 --- a/internal/terraform/exec/exec.go +++ b/internal/terraform/exec/exec.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package exec import ( diff --git a/internal/terraform/exec/exec_mock.go b/internal/terraform/exec/exec_mock.go index 73f4173d3..395672bb0 100644 --- a/internal/terraform/exec/exec_mock.go +++ b/internal/terraform/exec/exec_mock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package exec import ( diff --git a/internal/terraform/exec/exec_opts.go b/internal/terraform/exec/exec_opts.go index 37cae5267..1901d2838 100644 --- a/internal/terraform/exec/exec_opts.go +++ b/internal/terraform/exec/exec_opts.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package exec import ( diff --git a/internal/terraform/exec/exec_test.go b/internal/terraform/exec/exec_test.go index 2ec597c50..c7fb12d46 100644 --- a/internal/terraform/exec/exec_test.go +++ b/internal/terraform/exec/exec_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package exec import ( diff --git a/internal/terraform/exec/types.go b/internal/terraform/exec/types.go index 4c626e4fc..8e6bb4ff5 100644 --- a/internal/terraform/exec/types.go +++ b/internal/terraform/exec/types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package exec import ( diff --git a/internal/terraform/module/builtin_references.go b/internal/terraform/module/builtin_references.go index 928727617..fea7d08c2 100644 --- a/internal/terraform/module/builtin_references.go +++ b/internal/terraform/module/builtin_references.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package module import ( diff --git a/internal/terraform/module/errors.go b/internal/terraform/module/errors.go index fa57b130a..f1b2fd920 100644 --- a/internal/terraform/module/errors.go +++ b/internal/terraform/module/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package module import ( diff --git a/internal/terraform/module/module_ops.go b/internal/terraform/module/module_ops.go index e6c12059a..bd3c58d12 100644 --- a/internal/terraform/module/module_ops.go +++ b/internal/terraform/module/module_ops.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package module import ( diff --git a/internal/terraform/module/module_ops_mock_responses.go b/internal/terraform/module/module_ops_mock_responses.go index b4978850f..756fb70da 100644 --- a/internal/terraform/module/module_ops_mock_responses.go +++ b/internal/terraform/module/module_ops_mock_responses.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package module // moduleVersionsMockResponse represents response from https://registry.terraform.io/v1/modules/puppetlabs/deployment/ec/versions diff --git a/internal/terraform/module/module_ops_test.go b/internal/terraform/module/module_ops_test.go index fbe3c4593..b4f311e84 100644 --- a/internal/terraform/module/module_ops_test.go +++ b/internal/terraform/module/module_ops_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package module import ( diff --git a/internal/terraform/module/operation/operation.go b/internal/terraform/module/operation/operation.go index d36d255dd..5a1d1e3d0 100644 --- a/internal/terraform/module/operation/operation.go +++ b/internal/terraform/module/operation/operation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operation //go:generate go run golang.org/x/tools/cmd/stringer -type=OpState -output=op_state_string.go diff --git a/internal/terraform/module/terraform_executor.go b/internal/terraform/module/terraform_executor.go index 2782140fe..134bd99ac 100644 --- a/internal/terraform/module/terraform_executor.go +++ b/internal/terraform/module/terraform_executor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package module import ( diff --git a/internal/terraform/module/types.go b/internal/terraform/module/types.go index edc2fa7ff..a15fc252f 100644 --- a/internal/terraform/module/types.go +++ b/internal/terraform/module/types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package module import ( diff --git a/internal/terraform/parser/module.go b/internal/terraform/parser/module.go index 3fa4d8e42..b317c8f87 100644 --- a/internal/terraform/parser/module.go +++ b/internal/terraform/parser/module.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parser import ( diff --git a/internal/terraform/parser/module_test.go b/internal/terraform/parser/module_test.go index 96b1271a8..c5b640699 100644 --- a/internal/terraform/parser/module_test.go +++ b/internal/terraform/parser/module_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parser import ( diff --git a/internal/terraform/parser/parser.go b/internal/terraform/parser/parser.go index 55652314c..fb063540d 100644 --- a/internal/terraform/parser/parser.go +++ b/internal/terraform/parser/parser.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parser import ( diff --git a/internal/terraform/parser/variables.go b/internal/terraform/parser/variables.go index 20837b668..eec4579d2 100644 --- a/internal/terraform/parser/variables.go +++ b/internal/terraform/parser/variables.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parser import ( diff --git a/internal/uri/uri.go b/internal/uri/uri.go index 74fddf0eb..90ba3b05a 100644 --- a/internal/uri/uri.go +++ b/internal/uri/uri.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package uri import ( diff --git a/internal/uri/uri_test.go b/internal/uri/uri_test.go index b3b99db61..e75aa5a66 100644 --- a/internal/uri/uri_test.go +++ b/internal/uri/uri_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package uri import ( diff --git a/internal/utm/utm.go b/internal/utm/utm.go index e34d63b82..71893d43c 100644 --- a/internal/utm/utm.go +++ b/internal/utm/utm.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utm import ( diff --git a/internal/walker/types.go b/internal/walker/types.go index 496adec20..8ad08cc02 100644 --- a/internal/walker/types.go +++ b/internal/walker/types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package walker import "github.com/hashicorp/terraform-ls/internal/document" diff --git a/internal/walker/walker.go b/internal/walker/walker.go index b77d1cff3..2e3e0bc68 100644 --- a/internal/walker/walker.go +++ b/internal/walker/walker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package walker import ( diff --git a/internal/walker/walker_collector.go b/internal/walker/walker_collector.go index d998b60a4..22d1259c9 100644 --- a/internal/walker/walker_collector.go +++ b/internal/walker/walker_collector.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package walker import ( diff --git a/internal/walker/walker_queue.go b/internal/walker/walker_queue.go index d85e399ab..53df9dd0b 100644 --- a/internal/walker/walker_queue.go +++ b/internal/walker/walker_queue.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package walker import ( diff --git a/internal/walker/walker_test.go b/internal/walker/walker_test.go index 6161e6948..2e88c88dc 100644 --- a/internal/walker/walker_test.go +++ b/internal/walker/walker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package walker import ( diff --git a/main.go b/main.go index 3a99ebdb7..fb8e05e91 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/tools.go b/tools.go index 4d46fa5ee..72c90c2ef 100644 --- a/tools.go +++ b/tools.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build tools // +build tools diff --git a/tools/tools.go b/tools/tools.go index 73d88b0c6..eda9839cc 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // +build tools package tools diff --git a/version.go b/version.go index 63577c2a2..f62ce8e57 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import (