diff --git a/.copywrite.hcl b/.copywrite.hcl index ace7518a4..13f2a8c55 100644 --- a/.copywrite.hcl +++ b/.copywrite.hcl @@ -3,6 +3,10 @@ schema_version = 1 project { license = "MPL-2.0" + # (OPTIONAL) Represents the copyright holder used in all statements + # Default: HashiCorp, Inc. + copyright_holder = "The OpenTofu Authors\nSPDX-License-Identifier: MPL-2.0\nCopyright (c) HashiCorp, Inc." + # (OPTIONAL) A list of globs that should not have copyright/license headers. # Supports doublestar glob patterns for more flexibility in defining which # files or folders should be ignored diff --git a/LICENSE b/LICENSE index e5ead304d..75d0627b3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,4 @@ +Copyright (c) The OpenTofu Authors Copyright (c) 2020 HashiCorp, Inc. Mozilla Public License, version 2.0 diff --git a/algolia.go b/algolia.go index 18af714ce..bb5773160 100644 --- a/algolia.go +++ b/algolia.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/algolia/algolia.go b/internal/algolia/algolia.go index 57841eda8..8e6922896 100644 --- a/internal/algolia/algolia.go +++ b/internal/algolia/algolia.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/cmd/commands.go b/internal/cmd/commands.go index bd9f96ea8..d05d23bdb 100644 --- a/internal/cmd/commands.go +++ b/internal/cmd/commands.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/cmd/serve_command.go b/internal/cmd/serve_command.go index e42c58dff..825e53614 100644 --- a/internal/cmd/serve_command.go +++ b/internal/cmd/serve_command.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/cmd/version_command.go b/internal/cmd/version_command.go index a28f159a0..17d302dd6 100644 --- a/internal/cmd/version_command.go +++ b/internal/cmd/version_command.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/codelens/reference_count.go b/internal/codelens/reference_count.go index 843c054b8..5340bfc64 100644 --- a/internal/codelens/reference_count.go +++ b/internal/codelens/reference_count.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/context/context.go b/internal/context/context.go index 932726193..1a7e704dd 100644 --- a/internal/context/context.go +++ b/internal/context/context.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/context/errors.go b/internal/context/errors.go index 0e5f6b611..1266c3800 100644 --- a/internal/context/errors.go +++ b/internal/context/errors.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/context/signal_cancel.go b/internal/context/signal_cancel.go index 896017c7f..af42ee16f 100644 --- a/internal/context/signal_cancel.go +++ b/internal/context/signal_cancel.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/decoder/decoder.go b/internal/decoder/decoder.go index 87bb69a12..c12fb1a39 100644 --- a/internal/decoder/decoder.go +++ b/internal/decoder/decoder.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/decoder/path_reader.go b/internal/decoder/path_reader.go index b009c190f..d73579f19 100644 --- a/internal/decoder/path_reader.go +++ b/internal/decoder/path_reader.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/document/change.go b/internal/document/change.go index c055e61c8..e9d1ba8c7 100644 --- a/internal/document/change.go +++ b/internal/document/change.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/document/change_test.go b/internal/document/change_test.go index b38fb25d8..80880e21d 100644 --- a/internal/document/change_test.go +++ b/internal/document/change_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/document/dir_handle.go b/internal/document/dir_handle.go index 327e1912c..1f516252b 100644 --- a/internal/document/dir_handle.go +++ b/internal/document/dir_handle.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/document/dir_handle_test.go b/internal/document/dir_handle_test.go index 49906db57..c35ae04c3 100644 --- a/internal/document/dir_handle_test.go +++ b/internal/document/dir_handle_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/document/document.go b/internal/document/document.go index b8a53f90e..83f6c0aed 100644 --- a/internal/document/document.go +++ b/internal/document/document.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/document/errors.go b/internal/document/errors.go index 47b6ce8a3..46743b338 100644 --- a/internal/document/errors.go +++ b/internal/document/errors.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/document/handle.go b/internal/document/handle.go index 3dffbc38c..4ac327e00 100644 --- a/internal/document/handle.go +++ b/internal/document/handle.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/document/handle_test.go b/internal/document/handle_test.go index e3b0a97df..b570d7094 100644 --- a/internal/document/handle_test.go +++ b/internal/document/handle_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/document/position.go b/internal/document/position.go index 7f9e7b18f..f8c115327 100644 --- a/internal/document/position.go +++ b/internal/document/position.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/document/range.go b/internal/document/range.go index fc2110481..1b03c03e7 100644 --- a/internal/document/range.go +++ b/internal/document/range.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/eventbus/bus.go b/internal/eventbus/bus.go index 2efb0d3cb..ddcbaec62 100644 --- a/internal/eventbus/bus.go +++ b/internal/eventbus/bus.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/eventbus/did_change.go b/internal/eventbus/did_change.go index 02e20c322..8dc739354 100644 --- a/internal/eventbus/did_change.go +++ b/internal/eventbus/did_change.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/eventbus/did_change_watched.go b/internal/eventbus/did_change_watched.go index 9ddce9945..bf5be72ba 100644 --- a/internal/eventbus/did_change_watched.go +++ b/internal/eventbus/did_change_watched.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/eventbus/did_open.go b/internal/eventbus/did_open.go index ff5836c92..49c074a19 100644 --- a/internal/eventbus/did_open.go +++ b/internal/eventbus/did_open.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/eventbus/discover.go b/internal/eventbus/discover.go index 99b5d68bb..a52debd26 100644 --- a/internal/eventbus/discover.go +++ b/internal/eventbus/discover.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/eventbus/lockfile_change.go b/internal/eventbus/lockfile_change.go index 5ab1ef97f..96fef7ed8 100644 --- a/internal/eventbus/lockfile_change.go +++ b/internal/eventbus/lockfile_change.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/eventbus/manifest_change.go b/internal/eventbus/manifest_change.go index add9eb533..caf91b158 100644 --- a/internal/eventbus/manifest_change.go +++ b/internal/eventbus/manifest_change.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/ast/module.go b/internal/features/modules/ast/module.go index 37c0d2da4..95bda0807 100644 --- a/internal/features/modules/ast/module.go +++ b/internal/features/modules/ast/module.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/ast/module_test.go b/internal/features/modules/ast/module_test.go index 6fd5f4b21..81a328725 100644 --- a/internal/features/modules/ast/module_test.go +++ b/internal/features/modules/ast/module_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/decoder/decoder_test.go b/internal/features/modules/decoder/decoder_test.go index cec32ff65..ff96a5ea2 100644 --- a/internal/features/modules/decoder/decoder_test.go +++ b/internal/features/modules/decoder/decoder_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/decoder/functions.go b/internal/features/modules/decoder/functions.go index 255618976..762cfa216 100644 --- a/internal/features/modules/decoder/functions.go +++ b/internal/features/modules/decoder/functions.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/decoder/module_context.go b/internal/features/modules/decoder/module_context.go index eab9f1db1..501e40f08 100644 --- a/internal/features/modules/decoder/module_context.go +++ b/internal/features/modules/decoder/module_context.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/decoder/module_schema.go b/internal/features/modules/decoder/module_schema.go index a96e55faa..2ffbbd0e7 100644 --- a/internal/features/modules/decoder/module_schema.go +++ b/internal/features/modules/decoder/module_schema.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/decoder/path_reader.go b/internal/features/modules/decoder/path_reader.go index c2bc56f54..415019344 100644 --- a/internal/features/modules/decoder/path_reader.go +++ b/internal/features/modules/decoder/path_reader.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/decoder/validations/missing_required_attribute.go b/internal/features/modules/decoder/validations/missing_required_attribute.go index 4485d68bc..0b374f5b3 100644 --- a/internal/features/modules/decoder/validations/missing_required_attribute.go +++ b/internal/features/modules/decoder/validations/missing_required_attribute.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/decoder/validations/unreferenced_origin.go b/internal/features/modules/decoder/validations/unreferenced_origin.go index 9d38fc115..10e8ef288 100644 --- a/internal/features/modules/decoder/validations/unreferenced_origin.go +++ b/internal/features/modules/decoder/validations/unreferenced_origin.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/decoder/validations/unreferenced_origin_test.go b/internal/features/modules/decoder/validations/unreferenced_origin_test.go index 7c39cd6b2..999f760af 100644 --- a/internal/features/modules/decoder/validations/unreferenced_origin_test.go +++ b/internal/features/modules/decoder/validations/unreferenced_origin_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/decoder/validators.go b/internal/features/modules/decoder/validators.go index 43d99fa07..ffe4259a0 100644 --- a/internal/features/modules/decoder/validators.go +++ b/internal/features/modules/decoder/validators.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/events.go b/internal/features/modules/events.go index fd40360d1..17d3f6845 100644 --- a/internal/features/modules/events.go +++ b/internal/features/modules/events.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/hooks/hooks.go b/internal/features/modules/hooks/hooks.go index 6584d2449..043c453aa 100644 --- a/internal/features/modules/hooks/hooks.go +++ b/internal/features/modules/hooks/hooks.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/hooks/module_source_local.go b/internal/features/modules/hooks/module_source_local.go index 1b058bf8d..782bc28a4 100644 --- a/internal/features/modules/hooks/module_source_local.go +++ b/internal/features/modules/hooks/module_source_local.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/hooks/module_source_local_test.go b/internal/features/modules/hooks/module_source_local_test.go index 192cb0fc0..a7bab7768 100644 --- a/internal/features/modules/hooks/module_source_local_test.go +++ b/internal/features/modules/hooks/module_source_local_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/hooks/module_source_registry.go b/internal/features/modules/hooks/module_source_registry.go index bd39b9aee..61d6263a2 100644 --- a/internal/features/modules/hooks/module_source_registry.go +++ b/internal/features/modules/hooks/module_source_registry.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/hooks/module_source_registry_test.go b/internal/features/modules/hooks/module_source_registry_test.go index d5e5bf4db..72e7eee6e 100644 --- a/internal/features/modules/hooks/module_source_registry_test.go +++ b/internal/features/modules/hooks/module_source_registry_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/hooks/module_version.go b/internal/features/modules/hooks/module_version.go index bf769a256..19f4ca3e4 100644 --- a/internal/features/modules/hooks/module_version.go +++ b/internal/features/modules/hooks/module_version.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/hooks/module_version_test.go b/internal/features/modules/hooks/module_version_test.go index 22ff04838..a027814df 100644 --- a/internal/features/modules/hooks/module_version_test.go +++ b/internal/features/modules/hooks/module_version_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/jobs/builtin_references.go b/internal/features/modules/jobs/builtin_references.go index 32b71f080..3e117cbce 100644 --- a/internal/features/modules/jobs/builtin_references.go +++ b/internal/features/modules/jobs/builtin_references.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/jobs/metadata.go b/internal/features/modules/jobs/metadata.go index 7d9f3b114..5c0f9089c 100644 --- a/internal/features/modules/jobs/metadata.go +++ b/internal/features/modules/jobs/metadata.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/jobs/parse.go b/internal/features/modules/jobs/parse.go index 26e7e7744..cad40bb53 100644 --- a/internal/features/modules/jobs/parse.go +++ b/internal/features/modules/jobs/parse.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/jobs/parse_test.go b/internal/features/modules/jobs/parse_test.go index 1872c3ad3..e4bd5e391 100644 --- a/internal/features/modules/jobs/parse_test.go +++ b/internal/features/modules/jobs/parse_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/jobs/references.go b/internal/features/modules/jobs/references.go index 41a7a4560..638c2bf51 100644 --- a/internal/features/modules/jobs/references.go +++ b/internal/features/modules/jobs/references.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/jobs/schema.go b/internal/features/modules/jobs/schema.go index af9f792ca..86c705d27 100644 --- a/internal/features/modules/jobs/schema.go +++ b/internal/features/modules/jobs/schema.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/jobs/schema_mock_responses.go b/internal/features/modules/jobs/schema_mock_responses.go index 2de36e7e3..d533fb9d0 100644 --- a/internal/features/modules/jobs/schema_mock_responses.go +++ b/internal/features/modules/jobs/schema_mock_responses.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/jobs/schema_test.go b/internal/features/modules/jobs/schema_test.go index c871ee7d5..6cc82cac4 100644 --- a/internal/features/modules/jobs/schema_test.go +++ b/internal/features/modules/jobs/schema_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/jobs/types.go b/internal/features/modules/jobs/types.go index 6052cff7b..0b4847d00 100644 --- a/internal/features/modules/jobs/types.go +++ b/internal/features/modules/jobs/types.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/jobs/validation.go b/internal/features/modules/jobs/validation.go index 17418d20f..48572ca2f 100644 --- a/internal/features/modules/jobs/validation.go +++ b/internal/features/modules/jobs/validation.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/jobs/validation_test.go b/internal/features/modules/jobs/validation_test.go index 8c937a322..ea1f1963e 100644 --- a/internal/features/modules/jobs/validation_test.go +++ b/internal/features/modules/jobs/validation_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/modules_feature.go b/internal/features/modules/modules_feature.go index 72e7ec5c2..692ea8126 100644 --- a/internal/features/modules/modules_feature.go +++ b/internal/features/modules/modules_feature.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/parser/module.go b/internal/features/modules/parser/module.go index d4e631ee9..72aa12e2a 100644 --- a/internal/features/modules/parser/module.go +++ b/internal/features/modules/parser/module.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/parser/module_test.go b/internal/features/modules/parser/module_test.go index 0454de707..393de971e 100644 --- a/internal/features/modules/parser/module_test.go +++ b/internal/features/modules/parser/module_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/state/module_ids.go b/internal/features/modules/state/module_ids.go index 2f85fc404..56f67778f 100644 --- a/internal/features/modules/state/module_ids.go +++ b/internal/features/modules/state/module_ids.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/state/module_metadata.go b/internal/features/modules/state/module_metadata.go index b323efad3..bb81a8964 100644 --- a/internal/features/modules/state/module_metadata.go +++ b/internal/features/modules/state/module_metadata.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/state/module_record.go b/internal/features/modules/state/module_record.go index 70276820b..b119ed38a 100644 --- a/internal/features/modules/state/module_record.go +++ b/internal/features/modules/state/module_record.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/state/module_store.go b/internal/features/modules/state/module_store.go index 976495b96..679036214 100644 --- a/internal/features/modules/state/module_store.go +++ b/internal/features/modules/state/module_store.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/state/module_test.go b/internal/features/modules/state/module_test.go index 23c51720d..d8ed2f48c 100644 --- a/internal/features/modules/state/module_test.go +++ b/internal/features/modules/state/module_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/modules/state/schema.go b/internal/features/modules/state/schema.go index b32d3da1c..f0e9eaa26 100644 --- a/internal/features/modules/state/schema.go +++ b/internal/features/modules/state/schema.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/ast/rootmodules.go b/internal/features/rootmodules/ast/rootmodules.go index ff63749cb..60f1bd2b8 100644 --- a/internal/features/rootmodules/ast/rootmodules.go +++ b/internal/features/rootmodules/ast/rootmodules.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/events.go b/internal/features/rootmodules/events.go index 79ed64d36..81dcbd59c 100644 --- a/internal/features/rootmodules/events.go +++ b/internal/features/rootmodules/events.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/jobs/lockfile.go b/internal/features/rootmodules/jobs/lockfile.go index 2e0a1f9af..a491b348f 100644 --- a/internal/features/rootmodules/jobs/lockfile.go +++ b/internal/features/rootmodules/jobs/lockfile.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/jobs/lockfile_test.go b/internal/features/rootmodules/jobs/lockfile_test.go index ce00884ce..a4144d254 100644 --- a/internal/features/rootmodules/jobs/lockfile_test.go +++ b/internal/features/rootmodules/jobs/lockfile_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/jobs/manifest.go b/internal/features/rootmodules/jobs/manifest.go index 72a8538ca..abd120207 100644 --- a/internal/features/rootmodules/jobs/manifest.go +++ b/internal/features/rootmodules/jobs/manifest.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/jobs/schema.go b/internal/features/rootmodules/jobs/schema.go index 6843370b8..586499da9 100644 --- a/internal/features/rootmodules/jobs/schema.go +++ b/internal/features/rootmodules/jobs/schema.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/jobs/schema_test.go b/internal/features/rootmodules/jobs/schema_test.go index ff69d36f8..dbe1fb8ec 100644 --- a/internal/features/rootmodules/jobs/schema_test.go +++ b/internal/features/rootmodules/jobs/schema_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/jobs/types.go b/internal/features/rootmodules/jobs/types.go index 6052cff7b..0b4847d00 100644 --- a/internal/features/rootmodules/jobs/types.go +++ b/internal/features/rootmodules/jobs/types.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/jobs/version.go b/internal/features/rootmodules/jobs/version.go index 700168a17..9408143e4 100644 --- a/internal/features/rootmodules/jobs/version.go +++ b/internal/features/rootmodules/jobs/version.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/root_modules_feature.go b/internal/features/rootmodules/root_modules_feature.go index c51bcc0a1..7b11a041e 100644 --- a/internal/features/rootmodules/root_modules_feature.go +++ b/internal/features/rootmodules/root_modules_feature.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/root_modules_feature_test.go b/internal/features/rootmodules/root_modules_feature_test.go index 64368a965..be1a61d99 100644 --- a/internal/features/rootmodules/root_modules_feature_test.go +++ b/internal/features/rootmodules/root_modules_feature_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/state/installed_modules.go b/internal/features/rootmodules/state/installed_modules.go index 876409851..cc4bcf6a7 100644 --- a/internal/features/rootmodules/state/installed_modules.go +++ b/internal/features/rootmodules/state/installed_modules.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/state/installed_providers.go b/internal/features/rootmodules/state/installed_providers.go index 50ff7e80e..1cfe1661e 100644 --- a/internal/features/rootmodules/state/installed_providers.go +++ b/internal/features/rootmodules/state/installed_providers.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/state/installed_providers_test.go b/internal/features/rootmodules/state/installed_providers_test.go index 612f7f079..39815da71 100644 --- a/internal/features/rootmodules/state/installed_providers_test.go +++ b/internal/features/rootmodules/state/installed_providers_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/state/root_record.go b/internal/features/rootmodules/state/root_record.go index 7e4599328..9ddfbfc84 100644 --- a/internal/features/rootmodules/state/root_record.go +++ b/internal/features/rootmodules/state/root_record.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/state/root_store.go b/internal/features/rootmodules/state/root_store.go index 7d87e09ae..6c87e7c95 100644 --- a/internal/features/rootmodules/state/root_store.go +++ b/internal/features/rootmodules/state/root_store.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/state/root_test.go b/internal/features/rootmodules/state/root_test.go index 77f38fd15..3556d619e 100644 --- a/internal/features/rootmodules/state/root_test.go +++ b/internal/features/rootmodules/state/root_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/rootmodules/state/schema.go b/internal/features/rootmodules/state/schema.go index 6ce54467d..2232d2c54 100644 --- a/internal/features/rootmodules/state/schema.go +++ b/internal/features/rootmodules/state/schema.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/ast/stacks.go b/internal/features/stacks/ast/stacks.go index f12ef6e00..a5f895b59 100644 --- a/internal/features/stacks/ast/stacks.go +++ b/internal/features/stacks/ast/stacks.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/decoder/path_reader.go b/internal/features/stacks/decoder/path_reader.go index 07cdfcd22..f5270bcc3 100644 --- a/internal/features/stacks/decoder/path_reader.go +++ b/internal/features/stacks/decoder/path_reader.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/events.go b/internal/features/stacks/events.go index 2d01cc9de..e30afcf9d 100644 --- a/internal/features/stacks/events.go +++ b/internal/features/stacks/events.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/jobs/parse_stack.go b/internal/features/stacks/jobs/parse_stack.go index d76ef12dd..ee257a389 100644 --- a/internal/features/stacks/jobs/parse_stack.go +++ b/internal/features/stacks/jobs/parse_stack.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/jobs/types.go b/internal/features/stacks/jobs/types.go index 6052cff7b..0b4847d00 100644 --- a/internal/features/stacks/jobs/types.go +++ b/internal/features/stacks/jobs/types.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/jobs/version.go b/internal/features/stacks/jobs/version.go index b90fcd38c..8c16aec9a 100644 --- a/internal/features/stacks/jobs/version.go +++ b/internal/features/stacks/jobs/version.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/jobs/version_test.go b/internal/features/stacks/jobs/version_test.go index 2f66e1a52..cdf29701a 100644 --- a/internal/features/stacks/jobs/version_test.go +++ b/internal/features/stacks/jobs/version_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/parser/stacks.go b/internal/features/stacks/parser/stacks.go index ba362a0d2..44ce5acd5 100644 --- a/internal/features/stacks/parser/stacks.go +++ b/internal/features/stacks/parser/stacks.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/stacks_feature.go b/internal/features/stacks/stacks_feature.go index 835384e0d..2de01050b 100644 --- a/internal/features/stacks/stacks_feature.go +++ b/internal/features/stacks/stacks_feature.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/state/schema.go b/internal/features/stacks/state/schema.go index 381ae1877..710738852 100644 --- a/internal/features/stacks/state/schema.go +++ b/internal/features/stacks/state/schema.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/state/stack_meta.go b/internal/features/stacks/state/stack_meta.go index 8f89be9a8..ea524b3cd 100644 --- a/internal/features/stacks/state/stack_meta.go +++ b/internal/features/stacks/state/stack_meta.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/state/stack_record.go b/internal/features/stacks/state/stack_record.go index dd76105b3..eacdfe555 100644 --- a/internal/features/stacks/state/stack_record.go +++ b/internal/features/stacks/state/stack_record.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/stacks/state/stack_store.go b/internal/features/stacks/state/stack_store.go index 49bc54e48..f5626a958 100644 --- a/internal/features/stacks/state/stack_store.go +++ b/internal/features/stacks/state/stack_store.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/ast/variables.go b/internal/features/variables/ast/variables.go index 771118a27..f52899ebf 100644 --- a/internal/features/variables/ast/variables.go +++ b/internal/features/variables/ast/variables.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/ast/variables_test.go b/internal/features/variables/ast/variables_test.go index 848096aad..9afce1022 100644 --- a/internal/features/variables/ast/variables_test.go +++ b/internal/features/variables/ast/variables_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/decoder/path_reader.go b/internal/features/variables/decoder/path_reader.go index 602811def..586a122c8 100644 --- a/internal/features/variables/decoder/path_reader.go +++ b/internal/features/variables/decoder/path_reader.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/decoder/validators.go b/internal/features/variables/decoder/validators.go index 71cf81778..058f697fb 100644 --- a/internal/features/variables/decoder/validators.go +++ b/internal/features/variables/decoder/validators.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/decoder/variable_context.go b/internal/features/variables/decoder/variable_context.go index f101e867e..8c0561c89 100644 --- a/internal/features/variables/decoder/variable_context.go +++ b/internal/features/variables/decoder/variable_context.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/events.go b/internal/features/variables/events.go index 9bbdb4da3..e06161be5 100644 --- a/internal/features/variables/events.go +++ b/internal/features/variables/events.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/jobs/parse.go b/internal/features/variables/jobs/parse.go index 177b39939..9ce5b19c4 100644 --- a/internal/features/variables/jobs/parse.go +++ b/internal/features/variables/jobs/parse.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/jobs/parse_test.go b/internal/features/variables/jobs/parse_test.go index 56a6e12b3..6d51ca321 100644 --- a/internal/features/variables/jobs/parse_test.go +++ b/internal/features/variables/jobs/parse_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/jobs/references.go b/internal/features/variables/jobs/references.go index d25703511..733ce221d 100644 --- a/internal/features/variables/jobs/references.go +++ b/internal/features/variables/jobs/references.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/jobs/types.go b/internal/features/variables/jobs/types.go index 6052cff7b..0b4847d00 100644 --- a/internal/features/variables/jobs/types.go +++ b/internal/features/variables/jobs/types.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/jobs/validation.go b/internal/features/variables/jobs/validation.go index 84072a08c..7c437f08e 100644 --- a/internal/features/variables/jobs/validation.go +++ b/internal/features/variables/jobs/validation.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/jobs/validation_test.go b/internal/features/variables/jobs/validation_test.go index cbf179896..531032151 100644 --- a/internal/features/variables/jobs/validation_test.go +++ b/internal/features/variables/jobs/validation_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/parser/variables.go b/internal/features/variables/parser/variables.go index c8b48dd62..a8f9f2574 100644 --- a/internal/features/variables/parser/variables.go +++ b/internal/features/variables/parser/variables.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/state/schema.go b/internal/features/variables/state/schema.go index 10f9e9027..e58b6a2a7 100644 --- a/internal/features/variables/state/schema.go +++ b/internal/features/variables/state/schema.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/state/variable_record.go b/internal/features/variables/state/variable_record.go index 2007d75c5..faf3cf084 100644 --- a/internal/features/variables/state/variable_record.go +++ b/internal/features/variables/state/variable_record.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/state/variable_store.go b/internal/features/variables/state/variable_store.go index 534fe1375..7428cd2b2 100644 --- a/internal/features/variables/state/variable_store.go +++ b/internal/features/variables/state/variable_store.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/state/variable_test.go b/internal/features/variables/state/variable_test.go index 9f3b4df2d..4b23e4d02 100644 --- a/internal/features/variables/state/variable_test.go +++ b/internal/features/variables/state/variable_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/features/variables/variables_feature.go b/internal/features/variables/variables_feature.go index 090e0c587..75ea8c3fa 100644 --- a/internal/features/variables/variables_feature.go +++ b/internal/features/variables/variables_feature.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/filesystem/document.go b/internal/filesystem/document.go index e1bbc3787..c4ee26bbe 100644 --- a/internal/filesystem/document.go +++ b/internal/filesystem/document.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/filesystem/filesystem.go b/internal/filesystem/filesystem.go index 6218ca26f..929bcf3f0 100644 --- a/internal/filesystem/filesystem.go +++ b/internal/filesystem/filesystem.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/filesystem/filesystem_test.go b/internal/filesystem/filesystem_test.go index 61856a139..bbc38fa86 100644 --- a/internal/filesystem/filesystem_test.go +++ b/internal/filesystem/filesystem_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/filesystem/inmem.go b/internal/filesystem/inmem.go index 780fb5754..c30494961 100644 --- a/internal/filesystem/inmem.go +++ b/internal/filesystem/inmem.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/filesystem/os_fs.go b/internal/filesystem/os_fs.go index 796f9abf1..3d7e1b4ba 100644 --- a/internal/filesystem/os_fs.go +++ b/internal/filesystem/os_fs.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/hcl/diff.go b/internal/hcl/diff.go index 0a7f0ab0b..ea131ff98 100644 --- a/internal/hcl/diff.go +++ b/internal/hcl/diff.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/hcl/diff_test.go b/internal/hcl/diff_test.go index b5a49178b..00f0b69d8 100644 --- a/internal/hcl/diff_test.go +++ b/internal/hcl/diff_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/hcl/errors.go b/internal/hcl/errors.go index 5cbde2586..190b945a8 100644 --- a/internal/hcl/errors.go +++ b/internal/hcl/errors.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/job/ignore_state.go b/internal/job/ignore_state.go index a46085bd7..05f6883cf 100644 --- a/internal/job/ignore_state.go +++ b/internal/job/ignore_state.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/job/job.go b/internal/job/job.go index d96dc0e99..3ca6b866e 100644 --- a/internal/job/job.go +++ b/internal/job/job.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/job/job_id.go b/internal/job/job_id.go index 5d4e9bb34..7daeb7da8 100644 --- a/internal/job/job_id.go +++ b/internal/job/job_id.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/job/job_store.go b/internal/job/job_store.go index e6a366569..013a557e9 100644 --- a/internal/job/job_store.go +++ b/internal/job/job_store.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/cmd/cmd.go b/internal/langserver/cmd/cmd.go index a5c4788a3..c734e2d05 100644 --- a/internal/langserver/cmd/cmd.go +++ b/internal/langserver/cmd/cmd.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/cmd/cmd_args.go b/internal/langserver/cmd/cmd_args.go index 2500f7765..d7502a488 100644 --- a/internal/langserver/cmd/cmd_args.go +++ b/internal/langserver/cmd/cmd_args.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/diagnostics/diagnostics.go b/internal/langserver/diagnostics/diagnostics.go index 2fe319d58..320d5ed05 100644 --- a/internal/langserver/diagnostics/diagnostics.go +++ b/internal/langserver/diagnostics/diagnostics.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/diagnostics/diagnostics_test.go b/internal/langserver/diagnostics/diagnostics_test.go index d3c95b680..f68b4614e 100644 --- a/internal/langserver/diagnostics/diagnostics_test.go +++ b/internal/langserver/diagnostics/diagnostics_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/diagnostics/validate_diags.go b/internal/langserver/diagnostics/validate_diags.go index 5cfdbcc5d..cfbdfe75f 100644 --- a/internal/langserver/diagnostics/validate_diags.go +++ b/internal/langserver/diagnostics/validate_diags.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/errors/errors.go b/internal/langserver/errors/errors.go index 034b1fc19..bb1864b42 100644 --- a/internal/langserver/errors/errors.go +++ b/internal/langserver/errors/errors.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/cancel_request.go b/internal/langserver/handlers/cancel_request.go index e5364925f..46a99a07e 100644 --- a/internal/langserver/handlers/cancel_request.go +++ b/internal/langserver/handlers/cancel_request.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/cancel_request_test.go b/internal/langserver/handlers/cancel_request_test.go index 80fcaffe0..16d082cab 100644 --- a/internal/langserver/handlers/cancel_request_test.go +++ b/internal/langserver/handlers/cancel_request_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/code_action.go b/internal/langserver/handlers/code_action.go index e062eec7f..63bfaf44d 100644 --- a/internal/langserver/handlers/code_action.go +++ b/internal/langserver/handlers/code_action.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/code_action_test.go b/internal/langserver/handlers/code_action_test.go index bc7f0adb1..68b660dad 100644 --- a/internal/langserver/handlers/code_action_test.go +++ b/internal/langserver/handlers/code_action_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/code_lens.go b/internal/langserver/handlers/code_lens.go index a83197b35..2c36e9c51 100644 --- a/internal/langserver/handlers/code_lens.go +++ b/internal/langserver/handlers/code_lens.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/code_lens_test.go b/internal/langserver/handlers/code_lens_test.go index 939f3f9b3..323e8902b 100644 --- a/internal/langserver/handlers/code_lens_test.go +++ b/internal/langserver/handlers/code_lens_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/command/docs_url.go b/internal/langserver/handlers/command/docs_url.go index 3245d4d62..5793eb595 100644 --- a/internal/langserver/handlers/command/docs_url.go +++ b/internal/langserver/handlers/command/docs_url.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/command/handler.go b/internal/langserver/handlers/command/handler.go index 0bf088df3..fd469ccf9 100644 --- a/internal/langserver/handlers/command/handler.go +++ b/internal/langserver/handlers/command/handler.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/command/init.go b/internal/langserver/handlers/command/init.go index 5744b8ed1..151fb12cb 100644 --- a/internal/langserver/handlers/command/init.go +++ b/internal/langserver/handlers/command/init.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/command/module_callers.go b/internal/langserver/handlers/command/module_callers.go index 3aab686a9..3f69b2b3d 100644 --- a/internal/langserver/handlers/command/module_callers.go +++ b/internal/langserver/handlers/command/module_callers.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/command/module_calls.go b/internal/langserver/handlers/command/module_calls.go index d0d218368..5c81a84ae 100644 --- a/internal/langserver/handlers/command/module_calls.go +++ b/internal/langserver/handlers/command/module_calls.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/command/module_calls_test.go b/internal/langserver/handlers/command/module_calls_test.go index eefff03c2..31e7126f8 100644 --- a/internal/langserver/handlers/command/module_calls_test.go +++ b/internal/langserver/handlers/command/module_calls_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/command/module_providers.go b/internal/langserver/handlers/command/module_providers.go index 183b555b1..d6588632d 100644 --- a/internal/langserver/handlers/command/module_providers.go +++ b/internal/langserver/handlers/command/module_providers.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/command/terraform.go b/internal/langserver/handlers/command/terraform.go index ae7b326e2..dd438c54f 100644 --- a/internal/langserver/handlers/command/terraform.go +++ b/internal/langserver/handlers/command/terraform.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/command/validate.go b/internal/langserver/handlers/command/validate.go index 974b363d0..8c19dbc05 100644 --- a/internal/langserver/handlers/command/validate.go +++ b/internal/langserver/handlers/command/validate.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/complete.go b/internal/langserver/handlers/complete.go index f7449e820..2fda3eef2 100644 --- a/internal/langserver/handlers/complete.go +++ b/internal/langserver/handlers/complete.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/complete_test.go b/internal/langserver/handlers/complete_test.go index 3809b13e4..db412a6d6 100644 --- a/internal/langserver/handlers/complete_test.go +++ b/internal/langserver/handlers/complete_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/completion_resolve.go b/internal/langserver/handlers/completion_resolve.go index 19dd9b333..6d4ed89b0 100644 --- a/internal/langserver/handlers/completion_resolve.go +++ b/internal/langserver/handlers/completion_resolve.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/completion_resolve_test.go b/internal/langserver/handlers/completion_resolve_test.go index 45a1aa96d..11600caee 100644 --- a/internal/langserver/handlers/completion_resolve_test.go +++ b/internal/langserver/handlers/completion_resolve_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/did_change.go b/internal/langserver/handlers/did_change.go index 7ebb2abe2..44f8fc3dd 100644 --- a/internal/langserver/handlers/did_change.go +++ b/internal/langserver/handlers/did_change.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/did_change_test.go b/internal/langserver/handlers/did_change_test.go index 696616a7a..adcb29adc 100644 --- a/internal/langserver/handlers/did_change_test.go +++ b/internal/langserver/handlers/did_change_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/did_change_watched_files.go b/internal/langserver/handlers/did_change_watched_files.go index 2bb8ccb45..5333b982e 100644 --- a/internal/langserver/handlers/did_change_watched_files.go +++ b/internal/langserver/handlers/did_change_watched_files.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/did_change_watched_files_test.go b/internal/langserver/handlers/did_change_watched_files_test.go index aa208920c..4f4e9aa7e 100644 --- a/internal/langserver/handlers/did_change_watched_files_test.go +++ b/internal/langserver/handlers/did_change_watched_files_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/did_change_workspace_folders.go b/internal/langserver/handlers/did_change_workspace_folders.go index fba6ad98c..ac30fb7b7 100644 --- a/internal/langserver/handlers/did_change_workspace_folders.go +++ b/internal/langserver/handlers/did_change_workspace_folders.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/did_change_workspace_folders_test.go b/internal/langserver/handlers/did_change_workspace_folders_test.go index d6c2f1576..4d5a7126d 100644 --- a/internal/langserver/handlers/did_change_workspace_folders_test.go +++ b/internal/langserver/handlers/did_change_workspace_folders_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/did_close.go b/internal/langserver/handlers/did_close.go index 76694f452..47279b234 100644 --- a/internal/langserver/handlers/did_close.go +++ b/internal/langserver/handlers/did_close.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/did_open.go b/internal/langserver/handlers/did_open.go index e511f1e4f..16c98a0e7 100644 --- a/internal/langserver/handlers/did_open.go +++ b/internal/langserver/handlers/did_open.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/did_open_test.go b/internal/langserver/handlers/did_open_test.go index 5bc62193e..8b91d601e 100644 --- a/internal/langserver/handlers/did_open_test.go +++ b/internal/langserver/handlers/did_open_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/did_save.go b/internal/langserver/handlers/did_save.go index 1780b5827..a2b8898b3 100644 --- a/internal/langserver/handlers/did_save.go +++ b/internal/langserver/handlers/did_save.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/document_link.go b/internal/langserver/handlers/document_link.go index 967efe39a..002f90b6c 100644 --- a/internal/langserver/handlers/document_link.go +++ b/internal/langserver/handlers/document_link.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/document_link_test.go b/internal/langserver/handlers/document_link_test.go index db6ebb8cd..46ca99a73 100644 --- a/internal/langserver/handlers/document_link_test.go +++ b/internal/langserver/handlers/document_link_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/execute_command.go b/internal/langserver/handlers/execute_command.go index 5e5465b71..e32edee0d 100644 --- a/internal/langserver/handlers/execute_command.go +++ b/internal/langserver/handlers/execute_command.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/execute_command_init_test.go b/internal/langserver/handlers/execute_command_init_test.go index 44ac1d97a..0bb3836b8 100644 --- a/internal/langserver/handlers/execute_command_init_test.go +++ b/internal/langserver/handlers/execute_command_init_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/execute_command_module_callers_test.go b/internal/langserver/handlers/execute_command_module_callers_test.go index bb646a613..85d5d6ad7 100644 --- a/internal/langserver/handlers/execute_command_module_callers_test.go +++ b/internal/langserver/handlers/execute_command_module_callers_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/execute_command_module_providers_test.go b/internal/langserver/handlers/execute_command_module_providers_test.go index 3633a1f7f..a61cdd096 100644 --- a/internal/langserver/handlers/execute_command_module_providers_test.go +++ b/internal/langserver/handlers/execute_command_module_providers_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/execute_command_modules_test.go b/internal/langserver/handlers/execute_command_modules_test.go index 0e1a56544..ef024e704 100644 --- a/internal/langserver/handlers/execute_command_modules_test.go +++ b/internal/langserver/handlers/execute_command_modules_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/execute_command_terraform_version_test.go b/internal/langserver/handlers/execute_command_terraform_version_test.go index 3e280fdca..36ff4483b 100644 --- a/internal/langserver/handlers/execute_command_terraform_version_test.go +++ b/internal/langserver/handlers/execute_command_terraform_version_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/execute_command_test.go b/internal/langserver/handlers/execute_command_test.go index e7c03fc1f..49740a043 100644 --- a/internal/langserver/handlers/execute_command_test.go +++ b/internal/langserver/handlers/execute_command_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/execute_command_validate_test.go b/internal/langserver/handlers/execute_command_validate_test.go index 9f244e08d..26afe5a9c 100644 --- a/internal/langserver/handlers/execute_command_validate_test.go +++ b/internal/langserver/handlers/execute_command_validate_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/exit_test.go b/internal/langserver/handlers/exit_test.go index 2cfd30e43..f628bb3a8 100644 --- a/internal/langserver/handlers/exit_test.go +++ b/internal/langserver/handlers/exit_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/formatting.go b/internal/langserver/handlers/formatting.go index f3f841805..0aff6616e 100644 --- a/internal/langserver/handlers/formatting.go +++ b/internal/langserver/handlers/formatting.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/formatting_test.go b/internal/langserver/handlers/formatting_test.go index f96e5ae24..7f5daff8e 100644 --- a/internal/langserver/handlers/formatting_test.go +++ b/internal/langserver/handlers/formatting_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/go_to_ref_target.go b/internal/langserver/handlers/go_to_ref_target.go index 62102ab68..63d6b8b8c 100644 --- a/internal/langserver/handlers/go_to_ref_target.go +++ b/internal/langserver/handlers/go_to_ref_target.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/go_to_ref_target_test.go b/internal/langserver/handlers/go_to_ref_target_test.go index 5aefbab98..9564bcecf 100644 --- a/internal/langserver/handlers/go_to_ref_target_test.go +++ b/internal/langserver/handlers/go_to_ref_target_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/handlers_test.go b/internal/langserver/handlers/handlers_test.go index 6ed609b76..395aa7291 100644 --- a/internal/langserver/handlers/handlers_test.go +++ b/internal/langserver/handlers/handlers_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/hooks_module.go b/internal/langserver/handlers/hooks_module.go index c616d0e78..e978886f2 100644 --- a/internal/langserver/handlers/hooks_module.go +++ b/internal/langserver/handlers/hooks_module.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/hover.go b/internal/langserver/handlers/hover.go index 83186a364..a2edfb126 100644 --- a/internal/langserver/handlers/hover.go +++ b/internal/langserver/handlers/hover.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/hover_test.go b/internal/langserver/handlers/hover_test.go index 6694e0511..5bd7d0289 100644 --- a/internal/langserver/handlers/hover_test.go +++ b/internal/langserver/handlers/hover_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/initialize.go b/internal/langserver/handlers/initialize.go index bdde988ba..6bc50e8ee 100644 --- a/internal/langserver/handlers/initialize.go +++ b/internal/langserver/handlers/initialize.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/initialize_benchmarks_test.go b/internal/langserver/handlers/initialize_benchmarks_test.go index ab6be47be..03f82d873 100644 --- a/internal/langserver/handlers/initialize_benchmarks_test.go +++ b/internal/langserver/handlers/initialize_benchmarks_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/initialize_test.go b/internal/langserver/handlers/initialize_test.go index 9173cc870..56a33a20e 100644 --- a/internal/langserver/handlers/initialize_test.go +++ b/internal/langserver/handlers/initialize_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/initialized.go b/internal/langserver/handlers/initialized.go index 2f4219c32..7ad64ea5c 100644 --- a/internal/langserver/handlers/initialized.go +++ b/internal/langserver/handlers/initialized.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/references.go b/internal/langserver/handlers/references.go index d5ba6a0c3..be5a1177b 100644 --- a/internal/langserver/handlers/references.go +++ b/internal/langserver/handlers/references.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/references_test.go b/internal/langserver/handlers/references_test.go index 33ea74554..6f638e969 100644 --- a/internal/langserver/handlers/references_test.go +++ b/internal/langserver/handlers/references_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/semantic_tokens.go b/internal/langserver/handlers/semantic_tokens.go index 6080482be..ec495e188 100644 --- a/internal/langserver/handlers/semantic_tokens.go +++ b/internal/langserver/handlers/semantic_tokens.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/semantic_tokens_test.go b/internal/langserver/handlers/semantic_tokens_test.go index 0bd22394b..d1e868712 100644 --- a/internal/langserver/handlers/semantic_tokens_test.go +++ b/internal/langserver/handlers/semantic_tokens_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/service.go b/internal/langserver/handlers/service.go index 85be34c55..13a9c25e8 100644 --- a/internal/langserver/handlers/service.go +++ b/internal/langserver/handlers/service.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/session_mock_test.go b/internal/langserver/handlers/session_mock_test.go index a00beaa5c..cb57f3b86 100644 --- a/internal/langserver/handlers/session_mock_test.go +++ b/internal/langserver/handlers/session_mock_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/shutdown.go b/internal/langserver/handlers/shutdown.go index 68126038d..1c79c9683 100644 --- a/internal/langserver/handlers/shutdown.go +++ b/internal/langserver/handlers/shutdown.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/shutdown_test.go b/internal/langserver/handlers/shutdown_test.go index 5ce5b428f..5aa66b2d8 100644 --- a/internal/langserver/handlers/shutdown_test.go +++ b/internal/langserver/handlers/shutdown_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/signature_help.go b/internal/langserver/handlers/signature_help.go index a5b55bd03..1a46af3ab 100644 --- a/internal/langserver/handlers/signature_help.go +++ b/internal/langserver/handlers/signature_help.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/signature_help_test.go b/internal/langserver/handlers/signature_help_test.go index 0a09c36cc..c8ba5e7d3 100644 --- a/internal/langserver/handlers/signature_help_test.go +++ b/internal/langserver/handlers/signature_help_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/symbols.go b/internal/langserver/handlers/symbols.go index 6432d9859..c0b76a264 100644 --- a/internal/langserver/handlers/symbols.go +++ b/internal/langserver/handlers/symbols.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/symbols_test.go b/internal/langserver/handlers/symbols_test.go index f42492bc1..9a07c10a1 100644 --- a/internal/langserver/handlers/symbols_test.go +++ b/internal/langserver/handlers/symbols_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/workspace_symbol.go b/internal/langserver/handlers/workspace_symbol.go index e74b2a746..7d6a802d2 100644 --- a/internal/langserver/handlers/workspace_symbol.go +++ b/internal/langserver/handlers/workspace_symbol.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/handlers/workspace_symbol_test.go b/internal/langserver/handlers/workspace_symbol_test.go index 2b654edef..1323c9370 100644 --- a/internal/langserver/handlers/workspace_symbol_test.go +++ b/internal/langserver/handlers/workspace_symbol_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/langserver.go b/internal/langserver/langserver.go index bc98f0cb8..4534df9ad 100644 --- a/internal/langserver/langserver.go +++ b/internal/langserver/langserver.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/langserver_mock.go b/internal/langserver/langserver_mock.go index a35aa2398..bb8235c4d 100644 --- a/internal/langserver/langserver_mock.go +++ b/internal/langserver/langserver_mock.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/notifier/notifier.go b/internal/langserver/notifier/notifier.go index c421d9eaf..1469b1814 100644 --- a/internal/langserver/notifier/notifier.go +++ b/internal/langserver/notifier/notifier.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/notifier/notifier_test.go b/internal/langserver/notifier/notifier_test.go index 6ba1b0e2e..38a8d4f49 100644 --- a/internal/langserver/notifier/notifier_test.go +++ b/internal/langserver/notifier/notifier_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/progress/progress.go b/internal/langserver/progress/progress.go index c078c0173..a03eaf7f2 100644 --- a/internal/langserver/progress/progress.go +++ b/internal/langserver/progress/progress.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/rpc_logger.go b/internal/langserver/rpc_logger.go index 7f928149a..4bab0ea47 100644 --- a/internal/langserver/rpc_logger.go +++ b/internal/langserver/rpc_logger.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/session/errors.go b/internal/langserver/session/errors.go index 0cff3e2e0..dd48ad29d 100644 --- a/internal/langserver/session/errors.go +++ b/internal/langserver/session/errors.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/session/session.go b/internal/langserver/session/session.go index 5ecc03ce5..ba06f6320 100644 --- a/internal/langserver/session/session.go +++ b/internal/langserver/session/session.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/session/session_state.go b/internal/langserver/session/session_state.go index ec4678270..fc750e011 100644 --- a/internal/langserver/session/session_state.go +++ b/internal/langserver/session/session_state.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/langserver/session/types.go b/internal/langserver/session/types.go index 019b0ffc0..33ea59f36 100644 --- a/internal/langserver/session/types.go +++ b/internal/langserver/session/types.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/logging/logging.go b/internal/logging/logging.go index 0034c72d6..f4fe4874e 100644 --- a/internal/logging/logging.go +++ b/internal/logging/logging.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/client_capabilities.go b/internal/lsp/client_capabilities.go index 3edab664f..e688b4678 100644 --- a/internal/lsp/client_capabilities.go +++ b/internal/lsp/client_capabilities.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/client_name.go b/internal/lsp/client_name.go index 5b286cc0f..c12ba9611 100644 --- a/internal/lsp/client_name.go +++ b/internal/lsp/client_name.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/code_actions.go b/internal/lsp/code_actions.go index b4dc6bf65..21e8745e8 100644 --- a/internal/lsp/code_actions.go +++ b/internal/lsp/code_actions.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/command.go b/internal/lsp/command.go index a94ed5ef4..7ad1e140e 100644 --- a/internal/lsp/command.go +++ b/internal/lsp/command.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/completion.go b/internal/lsp/completion.go index 38448b8dd..71c4e57e9 100644 --- a/internal/lsp/completion.go +++ b/internal/lsp/completion.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/diagnostics.go b/internal/lsp/diagnostics.go index 656652ea6..6bd082456 100644 --- a/internal/lsp/diagnostics.go +++ b/internal/lsp/diagnostics.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/diagnostics_test.go b/internal/lsp/diagnostics_test.go index 920360859..0841763fd 100644 --- a/internal/lsp/diagnostics_test.go +++ b/internal/lsp/diagnostics_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/dir_handler.go b/internal/lsp/dir_handler.go index f6f2a0f41..ddb50818d 100644 --- a/internal/lsp/dir_handler.go +++ b/internal/lsp/dir_handler.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/doc.go b/internal/lsp/doc.go index 4ae24c621..5206fae31 100644 --- a/internal/lsp/doc.go +++ b/internal/lsp/doc.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/document_links.go b/internal/lsp/document_links.go index e4f4822a3..22574b68e 100644 --- a/internal/lsp/document_links.go +++ b/internal/lsp/document_links.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/file_change.go b/internal/lsp/file_change.go index 785c41b25..6f755b103 100644 --- a/internal/lsp/file_change.go +++ b/internal/lsp/file_change.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/file_handler.go b/internal/lsp/file_handler.go index b118971ce..cca25c325 100644 --- a/internal/lsp/file_handler.go +++ b/internal/lsp/file_handler.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/hover.go b/internal/lsp/hover.go index 957d6302d..661d732b5 100644 --- a/internal/lsp/hover.go +++ b/internal/lsp/hover.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/language_id.go b/internal/lsp/language_id.go index e3c6013df..f1e17dd2a 100644 --- a/internal/lsp/language_id.go +++ b/internal/lsp/language_id.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/location_links.go b/internal/lsp/location_links.go index 52c6ca3ca..cf3cc0c30 100644 --- a/internal/lsp/location_links.go +++ b/internal/lsp/location_links.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/locations.go b/internal/lsp/locations.go index b726f5a7e..af1ebe21d 100644 --- a/internal/lsp/locations.go +++ b/internal/lsp/locations.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/markup_content.go b/internal/lsp/markup_content.go index 3a8525e25..205b543ca 100644 --- a/internal/lsp/markup_content.go +++ b/internal/lsp/markup_content.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/position.go b/internal/lsp/position.go index 9b61dca88..c4ef5626c 100644 --- a/internal/lsp/position.go +++ b/internal/lsp/position.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/range.go b/internal/lsp/range.go index 09dc7e748..2a1dbb01d 100644 --- a/internal/lsp/range.go +++ b/internal/lsp/range.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/semantic_tokens.go b/internal/lsp/semantic_tokens.go index 70520b3f8..d639cd95f 100644 --- a/internal/lsp/semantic_tokens.go +++ b/internal/lsp/semantic_tokens.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/semtok/lsp_token_modifiers.go b/internal/lsp/semtok/lsp_token_modifiers.go index 272b2fdcf..88c41ef48 100644 --- a/internal/lsp/semtok/lsp_token_modifiers.go +++ b/internal/lsp/semtok/lsp_token_modifiers.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/semtok/lsp_token_types.go b/internal/lsp/semtok/lsp_token_types.go index 0fee83da4..a73de712c 100644 --- a/internal/lsp/semtok/lsp_token_types.go +++ b/internal/lsp/semtok/lsp_token_types.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/semtok/token_modifier.go b/internal/lsp/semtok/token_modifier.go index f32251315..89ef9f5d6 100644 --- a/internal/lsp/semtok/token_modifier.go +++ b/internal/lsp/semtok/token_modifier.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/semtok/token_types.go b/internal/lsp/semtok/token_types.go index 2b9de58a6..6030ed3cb 100644 --- a/internal/lsp/semtok/token_types.go +++ b/internal/lsp/semtok/token_types.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/signature.go b/internal/lsp/signature.go index adbee2b35..9c114c3fe 100644 --- a/internal/lsp/signature.go +++ b/internal/lsp/signature.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/signature_test.go b/internal/lsp/signature_test.go index 9976fe4d5..c2a5415fd 100644 --- a/internal/lsp/signature_test.go +++ b/internal/lsp/signature_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/symbols.go b/internal/lsp/symbols.go index e3ca2dbdf..3d004af56 100644 --- a/internal/lsp/symbols.go +++ b/internal/lsp/symbols.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/text_edits.go b/internal/lsp/text_edits.go index a8ce33765..b78eba070 100644 --- a/internal/lsp/text_edits.go +++ b/internal/lsp/text_edits.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/token_encoder.go b/internal/lsp/token_encoder.go index 1e37f44cd..61570df08 100644 --- a/internal/lsp/token_encoder.go +++ b/internal/lsp/token_encoder.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/lsp/token_encoder_test.go b/internal/lsp/token_encoder_test.go index fe95662fa..6e34be91f 100644 --- a/internal/lsp/token_encoder_test.go +++ b/internal/lsp/token_encoder_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/mdplain/mdplain.go b/internal/mdplain/mdplain.go index 7d82d4926..5183161da 100644 --- a/internal/mdplain/mdplain.go +++ b/internal/mdplain/mdplain.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/mdplain/mdplain_test.go b/internal/mdplain/mdplain_test.go index c94ae1a6f..0008c2d20 100644 --- a/internal/mdplain/mdplain_test.go +++ b/internal/mdplain/mdplain_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/pathcmp/path.go b/internal/pathcmp/path.go index fc5519ad4..c9498fc72 100644 --- a/internal/pathcmp/path.go +++ b/internal/pathcmp/path.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/pathcmp/path_unix_test.go b/internal/pathcmp/path_unix_test.go index a806a731e..315d85c77 100644 --- a/internal/pathcmp/path_unix_test.go +++ b/internal/pathcmp/path_unix_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/pathcmp/path_windows_test.go b/internal/pathcmp/path_windows_test.go index 6dc67a09a..a87ff3dee 100644 --- a/internal/pathcmp/path_windows_test.go +++ b/internal/pathcmp/path_windows_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/pathtpl/pathtpl.go b/internal/pathtpl/pathtpl.go index 7a1358ef7..bc102b1af 100644 --- a/internal/pathtpl/pathtpl.go +++ b/internal/pathtpl/pathtpl.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/protocol/completion.go b/internal/protocol/completion.go index 4a8cf02c9..211077ab7 100644 --- a/internal/protocol/completion.go +++ b/internal/protocol/completion.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/protocol/experimental.go b/internal/protocol/experimental.go index cf34a1c90..9cb97739a 100644 --- a/internal/protocol/experimental.go +++ b/internal/protocol/experimental.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/protocol/gen.go b/internal/protocol/gen.go index b2a4a832a..19535726f 100644 --- a/internal/protocol/gen.go +++ b/internal/protocol/gen.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/protocol/gen/gen.go b/internal/protocol/gen/gen.go index d409e88c2..b3378c1b9 100644 --- a/internal/protocol/gen/gen.go +++ b/internal/protocol/gen/gen.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/protocol/telemetry.go b/internal/protocol/telemetry.go index 6d24f2b8a..9d8ed649e 100644 --- a/internal/protocol/telemetry.go +++ b/internal/protocol/telemetry.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/registry/module.go b/internal/registry/module.go index bcc91426f..72670e227 100644 --- a/internal/registry/module.go +++ b/internal/registry/module.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/registry/module_mock_responses_test.go b/internal/registry/module_mock_responses_test.go index ddd8986a7..2f693b651 100644 --- a/internal/registry/module_mock_responses_test.go +++ b/internal/registry/module_mock_responses_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/registry/module_test.go b/internal/registry/module_test.go index 1b610b907..8dc1d878f 100644 --- a/internal/registry/module_test.go +++ b/internal/registry/module_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/registry/provider.go b/internal/registry/provider.go index 545755081..f855cd023 100644 --- a/internal/registry/provider.go +++ b/internal/registry/provider.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/registry/provider_test.go b/internal/registry/provider_test.go index b83d25fab..7a0c41570 100644 --- a/internal/registry/provider_test.go +++ b/internal/registry/provider_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/registry/registry.go b/internal/registry/registry.go index cdd38f104..b12e3dec9 100644 --- a/internal/registry/registry.go +++ b/internal/registry/registry.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/scheduler/scheduler.go b/internal/scheduler/scheduler.go index 99bcd66aa..70eb0b456 100644 --- a/internal/scheduler/scheduler.go +++ b/internal/scheduler/scheduler.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/scheduler/scheduler_long_test.go b/internal/scheduler/scheduler_long_test.go index ee987fa8e..01c502f50 100644 --- a/internal/scheduler/scheduler_long_test.go +++ b/internal/scheduler/scheduler_long_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/scheduler/scheduler_test.go b/internal/scheduler/scheduler_test.go index 7b426d415..0375e6f53 100644 --- a/internal/scheduler/scheduler_test.go +++ b/internal/scheduler/scheduler_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/schemas/doc.go b/internal/schemas/doc.go index 91ae8313c..e3c5a22fc 100644 --- a/internal/schemas/doc.go +++ b/internal/schemas/doc.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/schemas/gen/gen.go b/internal/schemas/gen/gen.go index 12ca07301..bb9014637 100644 --- a/internal/schemas/gen/gen.go +++ b/internal/schemas/gen/gen.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/schemas/schemas.go b/internal/schemas/schemas.go index 798dee9f3..d30431738 100644 --- a/internal/schemas/schemas.go +++ b/internal/schemas/schemas.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/settings/settings.go b/internal/settings/settings.go index 08b3c5337..34ecac7d0 100644 --- a/internal/settings/settings.go +++ b/internal/settings/settings.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/settings/settings_test.go b/internal/settings/settings_test.go index 50032454c..803b26491 100644 --- a/internal/settings/settings_test.go +++ b/internal/settings/settings_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/source/source.go b/internal/source/source.go index b9268fb13..a2c154d4d 100644 --- a/internal/source/source.go +++ b/internal/source/source.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/source/source_test.go b/internal/source/source_test.go index c9e52145a..0acad4f32 100644 --- a/internal/source/source_test.go +++ b/internal/source/source_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/source/types.go b/internal/source/types.go index aca733dfa..6ec54915a 100644 --- a/internal/source/types.go +++ b/internal/source/types.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/changes.go b/internal/state/changes.go index f9dcbe080..6a67b5c2a 100644 --- a/internal/state/changes.go +++ b/internal/state/changes.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/changes_test.go b/internal/state/changes_test.go index 420098712..301936796 100644 --- a/internal/state/changes_test.go +++ b/internal/state/changes_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/cmp_opts_test.go b/internal/state/cmp_opts_test.go index df37a6608..c9da76e45 100644 --- a/internal/state/cmp_opts_test.go +++ b/internal/state/cmp_opts_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/dir_handle_field_indexer.go b/internal/state/dir_handle_field_indexer.go index 3b40bb8f2..29436c041 100644 --- a/internal/state/dir_handle_field_indexer.go +++ b/internal/state/dir_handle_field_indexer.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/documents.go b/internal/state/documents.go index ef9631665..a192af136 100644 --- a/internal/state/documents.go +++ b/internal/state/documents.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/documents_test.go b/internal/state/documents_test.go index b569ea248..1934c4a5e 100644 --- a/internal/state/documents_test.go +++ b/internal/state/documents_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/errors.go b/internal/state/errors.go index 2a7a7d9a1..18bc23c2a 100644 --- a/internal/state/errors.go +++ b/internal/state/errors.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/installed_providers.go b/internal/state/installed_providers.go index 50ff7e80e..1cfe1661e 100644 --- a/internal/state/installed_providers.go +++ b/internal/state/installed_providers.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/installed_providers_test.go b/internal/state/installed_providers_test.go index 185204444..722bd9133 100644 --- a/internal/state/installed_providers_test.go +++ b/internal/state/installed_providers_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/job_id_slice_index.go b/internal/state/job_id_slice_index.go index c538d1d70..eee5a0738 100644 --- a/internal/state/job_id_slice_index.go +++ b/internal/state/job_id_slice_index.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/jobs.go b/internal/state/jobs.go index 99237321e..9265b9c7e 100644 --- a/internal/state/jobs.go +++ b/internal/state/jobs.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/jobs_test.go b/internal/state/jobs_test.go index 3d53edc0c..b5df05178 100644 --- a/internal/state/jobs_test.go +++ b/internal/state/jobs_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/priority_index.go b/internal/state/priority_index.go index 3a048dcd3..3655a2704 100644 --- a/internal/state/priority_index.go +++ b/internal/state/priority_index.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/provider_ids.go b/internal/state/provider_ids.go index add32e095..071be8b51 100644 --- a/internal/state/provider_ids.go +++ b/internal/state/provider_ids.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/provider_schema.go b/internal/state/provider_schema.go index 94bfc9af9..ce3ffa088 100644 --- a/internal/state/provider_schema.go +++ b/internal/state/provider_schema.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/provider_schema_test.go b/internal/state/provider_schema_test.go index f132c994a..f9dbce55e 100644 --- a/internal/state/provider_schema_test.go +++ b/internal/state/provider_schema_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/registry_modules.go b/internal/state/registry_modules.go index a9519f14b..6a2b330ee 100644 --- a/internal/state/registry_modules.go +++ b/internal/state/registry_modules.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/registry_modules_test.go b/internal/state/registry_modules_test.go index 83a7fb1e9..8a5228035 100644 --- a/internal/state/registry_modules_test.go +++ b/internal/state/registry_modules_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/schema_source.go b/internal/state/schema_source.go index 0779cffe8..637343038 100644 --- a/internal/state/schema_source.go +++ b/internal/state/schema_source.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/slice_length_index.go b/internal/state/slice_length_index.go index 6278a45e7..2fb551e37 100644 --- a/internal/state/slice_length_index.go +++ b/internal/state/slice_length_index.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/state.go b/internal/state/state.go index e4a785f7f..9cbcbd0cd 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/state_test.go b/internal/state/state_test.go index 6d7646159..009feb8a4 100644 --- a/internal/state/state_test.go +++ b/internal/state/state_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/stringer_field_indexer.go b/internal/state/stringer_field_indexer.go index 2bdbec492..4df737332 100644 --- a/internal/state/stringer_field_indexer.go +++ b/internal/state/stringer_field_indexer.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/time_field_index.go b/internal/state/time_field_index.go index fdf51cd62..840338db4 100644 --- a/internal/state/time_field_index.go +++ b/internal/state/time_field_index.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/version_field_indexer.go b/internal/state/version_field_indexer.go index b747bd932..08d968383 100644 --- a/internal/state/version_field_indexer.go +++ b/internal/state/version_field_indexer.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/walker_paths.go b/internal/state/walker_paths.go index 5dd4f7823..7f47ac7e3 100644 --- a/internal/state/walker_paths.go +++ b/internal/state/walker_paths.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/state/walker_paths_test.go b/internal/state/walker_paths_test.go index b69934ab6..0f950b4a1 100644 --- a/internal/state/walker_paths_test.go +++ b/internal/state/walker_paths_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/telemetry/noop.go b/internal/telemetry/noop.go index 7fa01101d..b5c7cc430 100644 --- a/internal/telemetry/noop.go +++ b/internal/telemetry/noop.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/telemetry/sender.go b/internal/telemetry/sender.go index 851088b06..b02f0fe2a 100644 --- a/internal/telemetry/sender.go +++ b/internal/telemetry/sender.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/telemetry/telemetry.go b/internal/telemetry/telemetry.go index c4bd85406..9e700afec 100644 --- a/internal/telemetry/telemetry.go +++ b/internal/telemetry/telemetry.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/ast/ast.go b/internal/terraform/ast/ast.go index f17ee2279..d7b9d0b08 100644 --- a/internal/terraform/ast/ast.go +++ b/internal/terraform/ast/ast.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/ast/diagnostics.go b/internal/terraform/ast/diagnostics.go index 18f1cbb61..21ea9e5c3 100644 --- a/internal/terraform/ast/diagnostics.go +++ b/internal/terraform/ast/diagnostics.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/datadir/datadir.go b/internal/terraform/datadir/datadir.go index 25667cea0..4d86ec143 100644 --- a/internal/terraform/datadir/datadir.go +++ b/internal/terraform/datadir/datadir.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/datadir/module_manifest.go b/internal/terraform/datadir/module_manifest.go index fe1b33ea0..e094851ce 100644 --- a/internal/terraform/datadir/module_manifest.go +++ b/internal/terraform/datadir/module_manifest.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/datadir/module_manifest_test.go b/internal/terraform/datadir/module_manifest_test.go index 15f87633f..5d419ab1c 100644 --- a/internal/terraform/datadir/module_manifest_test.go +++ b/internal/terraform/datadir/module_manifest_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/datadir/module_manifest_unix_test.go b/internal/terraform/datadir/module_manifest_unix_test.go index 3381f53d6..300f277ea 100644 --- a/internal/terraform/datadir/module_manifest_unix_test.go +++ b/internal/terraform/datadir/module_manifest_unix_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/datadir/module_manifest_windows_test.go b/internal/terraform/datadir/module_manifest_windows_test.go index 55487b0c8..6c06658b6 100644 --- a/internal/terraform/datadir/module_manifest_windows_test.go +++ b/internal/terraform/datadir/module_manifest_windows_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/datadir/paths.go b/internal/terraform/datadir/paths.go index f6c762817..f65c70ae3 100644 --- a/internal/terraform/datadir/paths.go +++ b/internal/terraform/datadir/paths.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/datadir/plugin_lock_file.go b/internal/terraform/datadir/plugin_lock_file.go index 145f39b75..27cc3ae95 100644 --- a/internal/terraform/datadir/plugin_lock_file.go +++ b/internal/terraform/datadir/plugin_lock_file.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/datadir/plugin_lock_file_test.go b/internal/terraform/datadir/plugin_lock_file_test.go index 7d2493ffd..a35200f40 100644 --- a/internal/terraform/datadir/plugin_lock_file_test.go +++ b/internal/terraform/datadir/plugin_lock_file_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/discovery/discovery.go b/internal/terraform/discovery/discovery.go index e8ca37a07..1e70aa927 100644 --- a/internal/terraform/discovery/discovery.go +++ b/internal/terraform/discovery/discovery.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/discovery/discovery_mock.go b/internal/terraform/discovery/discovery_mock.go index 7a7eb74c1..55508ef6b 100644 --- a/internal/terraform/discovery/discovery_mock.go +++ b/internal/terraform/discovery/discovery_mock.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/discovery/discovery_unix.go b/internal/terraform/discovery/discovery_unix.go index 1d01396a6..d1acde874 100644 --- a/internal/terraform/discovery/discovery_unix.go +++ b/internal/terraform/discovery/discovery_unix.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/discovery/discovery_windows.go b/internal/terraform/discovery/discovery_windows.go index df907df69..6c43e6945 100644 --- a/internal/terraform/discovery/discovery_windows.go +++ b/internal/terraform/discovery/discovery_windows.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/errors/errors.go b/internal/terraform/errors/errors.go index 95e67812b..47bce5a80 100644 --- a/internal/terraform/errors/errors.go +++ b/internal/terraform/errors/errors.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/exec/errors.go b/internal/terraform/exec/errors.go index 2c9e1ad5b..3f1a8459c 100644 --- a/internal/terraform/exec/errors.go +++ b/internal/terraform/exec/errors.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/exec/exec.go b/internal/terraform/exec/exec.go index 1ce1151a0..149257e22 100644 --- a/internal/terraform/exec/exec.go +++ b/internal/terraform/exec/exec.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/exec/exec_mock.go b/internal/terraform/exec/exec_mock.go index 395672bb0..13f75eb9f 100644 --- a/internal/terraform/exec/exec_mock.go +++ b/internal/terraform/exec/exec_mock.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/exec/exec_opts.go b/internal/terraform/exec/exec_opts.go index 1901d2838..c9bb38e3b 100644 --- a/internal/terraform/exec/exec_opts.go +++ b/internal/terraform/exec/exec_opts.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/exec/exec_test.go b/internal/terraform/exec/exec_test.go index d0cc0b27e..d1a9603d6 100644 --- a/internal/terraform/exec/exec_test.go +++ b/internal/terraform/exec/exec_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/exec/types.go b/internal/terraform/exec/types.go index 8e6bb4ff5..100494f49 100644 --- a/internal/terraform/exec/types.go +++ b/internal/terraform/exec/types.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/module/errors.go b/internal/terraform/module/errors.go index f1b2fd920..23e06b123 100644 --- a/internal/terraform/module/errors.go +++ b/internal/terraform/module/errors.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/module/operation/operation.go b/internal/terraform/module/operation/operation.go index 441e3bbcf..c8a37cfe8 100644 --- a/internal/terraform/module/operation/operation.go +++ b/internal/terraform/module/operation/operation.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/module/terraform_executor.go b/internal/terraform/module/terraform_executor.go index 134bd99ac..5372342df 100644 --- a/internal/terraform/module/terraform_executor.go +++ b/internal/terraform/module/terraform_executor.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/module/types.go b/internal/terraform/module/types.go index a15fc252f..8f4e3adb7 100644 --- a/internal/terraform/module/types.go +++ b/internal/terraform/module/types.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/terraform/parser/parser.go b/internal/terraform/parser/parser.go index aa5564744..93497e804 100644 --- a/internal/terraform/parser/parser.go +++ b/internal/terraform/parser/parser.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/uri/uri.go b/internal/uri/uri.go index f50c3f2b0..d0ab2b9f3 100644 --- a/internal/uri/uri.go +++ b/internal/uri/uri.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/uri/uri_test.go b/internal/uri/uri_test.go index e75aa5a66..b6c64c823 100644 --- a/internal/uri/uri_test.go +++ b/internal/uri/uri_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/utm/utm.go b/internal/utm/utm.go index 71893d43c..894d3a95e 100644 --- a/internal/utm/utm.go +++ b/internal/utm/utm.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/walker/types.go b/internal/walker/types.go index 8ad08cc02..be7a4ef39 100644 --- a/internal/walker/types.go +++ b/internal/walker/types.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/walker/walker.go b/internal/walker/walker.go index 3c02a4bcb..376f8ee0c 100644 --- a/internal/walker/walker.go +++ b/internal/walker/walker.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/walker/walker_collector.go b/internal/walker/walker_collector.go index 22d1259c9..7cc375bd3 100644 --- a/internal/walker/walker_collector.go +++ b/internal/walker/walker_collector.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/internal/walker/walker_test.go b/internal/walker/walker_test.go index 44e3caeac..4ffc10ded 100644 --- a/internal/walker/walker_test.go +++ b/internal/walker/walker_test.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/main.go b/main.go index c757a4bc1..f5d5aced7 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/tools.go b/tools.go index 72c90c2ef..b105a6450 100644 --- a/tools.go +++ b/tools.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 diff --git a/tools/tools.go b/tools/tools.go index eda9839cc..d2941498b 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -1,6 +1,9 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 +//go:build tools // +build tools package tools diff --git a/version.go b/version.go index f62ce8e57..767ca15b7 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,5 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0