diff --git a/.copywrite.hcl b/.copywrite.hcl index 5f35653569..454a0c04bd 100644 --- a/.copywrite.hcl +++ b/.copywrite.hcl @@ -4,6 +4,10 @@ project { license = "MPL-2.0" copyright_year = 2014 + # (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) 2023 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/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 9ba127bc0d..5a5c886bc3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,4 +1,6 @@ -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 name: Bug Report diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 0c67f64de0..8db697f3bc 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,6 @@ -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 blank_issues_enabled: true # For now, to allow to easily create a blank issue. Remove this later \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 06489f3cb9..50e820f5ea 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,4 +1,6 @@ -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 name: Feature Request diff --git a/.github/ISSUE_TEMPLATE/rfc.yml b/.github/ISSUE_TEMPLATE/rfc.yml index a806912870..4c5040849f 100644 --- a/.github/ISSUE_TEMPLATE/rfc.yml +++ b/.github/ISSUE_TEMPLATE/rfc.yml @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This RFC has been inspired by the Rust RFC template https://github.com/rust-lang/rfcs/blob/master/0000-template.md name: Submit RFC diff --git a/.github/actions/go-version/action.yml b/.github/actions/go-version/action.yml index d1d5a29dbd..12a002a8b8 100644 --- a/.github/actions/go-version/action.yml +++ b/.github/actions/go-version/action.yml @@ -1,4 +1,6 @@ -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 name: 'Determine Go Toolchain Version' diff --git a/.github/scripts/e2e_test_linux_darwin.sh b/.github/scripts/e2e_test_linux_darwin.sh index 7d1a1ba28c..3993ae361b 100755 --- a/.github/scripts/e2e_test_linux_darwin.sh +++ b/.github/scripts/e2e_test_linux_darwin.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 set -uo pipefail diff --git a/.github/scripts/equivalence-test.sh b/.github/scripts/equivalence-test.sh index 498cdb227c..f3bdf27222 100755 --- a/.github/scripts/equivalence-test.sh +++ b/.github/scripts/equivalence-test.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 set -uo pipefail diff --git a/.github/scripts/get_product_version.sh b/.github/scripts/get_product_version.sh index 0d250e5eb9..b936cb8faa 100755 --- a/.github/scripts/get_product_version.sh +++ b/.github/scripts/get_product_version.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 set -uo pipefail diff --git a/.github/scripts/verify_docker b/.github/scripts/verify_docker index 6d016b24e7..296defabe5 100755 --- a/.github/scripts/verify_docker +++ b/.github/scripts/verify_docker @@ -1,5 +1,7 @@ #!/bin/bash -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 795ccf5d14..9c44472c01 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + project_name: tofu before: diff --git a/Dockerfile b/Dockerfile index bf86ab545a..5ca3056019 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 FROM alpine:3.18 diff --git a/LICENSE b/LICENSE index 1409d6ab92..c8a8176e88 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,4 @@ +Copyright (c) The OpenTofu Authors Copyright (c) 2014 HashiCorp, Inc. Mozilla Public License, version 2.0 diff --git a/cmd/tofu/commands.go b/cmd/tofu/commands.go index b9f5c8da38..ed8137dad9 100644 --- a/cmd/tofu/commands.go +++ b/cmd/tofu/commands.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/cmd/tofu/experiments.go b/cmd/tofu/experiments.go index a7020665b9..e87edcd44e 100644 --- a/cmd/tofu/experiments.go +++ b/cmd/tofu/experiments.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/cmd/tofu/help.go b/cmd/tofu/help.go index aea1ba9674..01ec8aef28 100644 --- a/cmd/tofu/help.go +++ b/cmd/tofu/help.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/cmd/tofu/main.go b/cmd/tofu/main.go index 861b25b92d..cdad38da22 100644 --- a/cmd/tofu/main.go +++ b/cmd/tofu/main.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/cmd/tofu/main_test.go b/cmd/tofu/main_test.go index 95a911a4ce..bf38d0805e 100644 --- a/cmd/tofu/main_test.go +++ b/cmd/tofu/main_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/cmd/tofu/plugins.go b/cmd/tofu/plugins.go index b93d8c53f8..511c0e0ba0 100644 --- a/cmd/tofu/plugins.go +++ b/cmd/tofu/plugins.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/cmd/tofu/provider_source.go b/cmd/tofu/provider_source.go index bd843b1c8c..71a3f45971 100644 --- a/cmd/tofu/provider_source.go +++ b/cmd/tofu/provider_source.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/cmd/tofu/signal_unix.go b/cmd/tofu/signal_unix.go index 2b076f796f..61050629fa 100644 --- a/cmd/tofu/signal_unix.go +++ b/cmd/tofu/signal_unix.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build !windows diff --git a/cmd/tofu/signal_windows.go b/cmd/tofu/signal_windows.go index 613ad30c8b..8d7255c56d 100644 --- a/cmd/tofu/signal_windows.go +++ b/cmd/tofu/signal_windows.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build windows diff --git a/cmd/tofu/telemetry.go b/cmd/tofu/telemetry.go index cb91929cb3..e4f5006133 100644 --- a/cmd/tofu/telemetry.go +++ b/cmd/tofu/telemetry.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/cmd/tofu/version.go b/cmd/tofu/version.go index 4b77b90118..5d97fc665a 100644 --- a/cmd/tofu/version.go +++ b/cmd/tofu/version.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/cmd/tofu/working_dir.go b/cmd/tofu/working_dir.go index 7de1c15459..832ff31d0d 100644 --- a/cmd/tofu/working_dir.go +++ b/cmd/tofu/working_dir.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/codecov.yml b/codecov.yml index 605faed12e..02c2c7db2b 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,4 +1,6 @@ -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 comment: diff --git a/copyright_headers.go b/copyright_headers.go index 43231346a3..13bd51c647 100644 --- a/copyright_headers.go +++ b/copyright_headers.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build tools diff --git a/docs/plugin-protocol/tfplugin5.0.proto b/docs/plugin-protocol/tfplugin5.0.proto index fc21ebf0f7..dc94639d48 100644 --- a/docs/plugin-protocol/tfplugin5.0.proto +++ b/docs/plugin-protocol/tfplugin5.0.proto @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 5.0 diff --git a/docs/plugin-protocol/tfplugin5.1.proto b/docs/plugin-protocol/tfplugin5.1.proto index a8c3b1208c..4dc9ca1a89 100644 --- a/docs/plugin-protocol/tfplugin5.1.proto +++ b/docs/plugin-protocol/tfplugin5.1.proto @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 5.1 diff --git a/docs/plugin-protocol/tfplugin5.2.proto b/docs/plugin-protocol/tfplugin5.2.proto index 424a071a7d..f60c687c5a 100644 --- a/docs/plugin-protocol/tfplugin5.2.proto +++ b/docs/plugin-protocol/tfplugin5.2.proto @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 5.2 diff --git a/docs/plugin-protocol/tfplugin5.3.proto b/docs/plugin-protocol/tfplugin5.3.proto index d4043b44a3..0eb12afad4 100644 --- a/docs/plugin-protocol/tfplugin5.3.proto +++ b/docs/plugin-protocol/tfplugin5.3.proto @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 5.3 diff --git a/docs/plugin-protocol/tfplugin5.4.proto b/docs/plugin-protocol/tfplugin5.4.proto index 319ebb34b2..d78ae05054 100644 --- a/docs/plugin-protocol/tfplugin5.4.proto +++ b/docs/plugin-protocol/tfplugin5.4.proto @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 5.4 diff --git a/docs/plugin-protocol/tfplugin6.0.proto b/docs/plugin-protocol/tfplugin6.0.proto index 3d0a612edc..de4d589cc3 100644 --- a/docs/plugin-protocol/tfplugin6.0.proto +++ b/docs/plugin-protocol/tfplugin6.0.proto @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 6.0 diff --git a/docs/plugin-protocol/tfplugin6.1.proto b/docs/plugin-protocol/tfplugin6.1.proto index 0069397e79..ba610f200a 100644 --- a/docs/plugin-protocol/tfplugin6.1.proto +++ b/docs/plugin-protocol/tfplugin6.1.proto @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 6.1 diff --git a/docs/plugin-protocol/tfplugin6.2.proto b/docs/plugin-protocol/tfplugin6.2.proto index 65d6a47804..76b1a55026 100644 --- a/docs/plugin-protocol/tfplugin6.2.proto +++ b/docs/plugin-protocol/tfplugin6.2.proto @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 6.2 diff --git a/docs/plugin-protocol/tfplugin6.3.proto b/docs/plugin-protocol/tfplugin6.3.proto index 08782824fb..34427bde06 100644 --- a/docs/plugin-protocol/tfplugin6.3.proto +++ b/docs/plugin-protocol/tfplugin6.3.proto @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 6.3 diff --git a/docs/plugin-protocol/tfplugin6.4.proto b/docs/plugin-protocol/tfplugin6.4.proto index 85a1054ce1..52d5088e42 100644 --- a/docs/plugin-protocol/tfplugin6.4.proto +++ b/docs/plugin-protocol/tfplugin6.4.proto @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 6.4 diff --git a/internal/addrs/check.go b/internal/addrs/check.go index 4f3d516b60..d0dfee85af 100644 --- a/internal/addrs/check.go +++ b/internal/addrs/check.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/check_rule.go b/internal/addrs/check_rule.go index 4a60e5e8db..41d1ecce99 100644 --- a/internal/addrs/check_rule.go +++ b/internal/addrs/check_rule.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/check_rule_diagnostic.go b/internal/addrs/check_rule_diagnostic.go index 4b093eab7c..e25ddae1a6 100644 --- a/internal/addrs/check_rule_diagnostic.go +++ b/internal/addrs/check_rule_diagnostic.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package addrs import "github.com/opentofu/opentofu/internal/tfdiags" diff --git a/internal/addrs/check_rule_diagnostic_test.go b/internal/addrs/check_rule_diagnostic_test.go index 5bdb0b5f54..40708ab41a 100644 --- a/internal/addrs/check_rule_diagnostic_test.go +++ b/internal/addrs/check_rule_diagnostic_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package addrs import ( diff --git a/internal/addrs/checkable.go b/internal/addrs/checkable.go index 0bb130ec3f..ab18c845be 100644 --- a/internal/addrs/checkable.go +++ b/internal/addrs/checkable.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/count_attr.go b/internal/addrs/count_attr.go index ee56fc22e9..6bd543c4e2 100644 --- a/internal/addrs/count_attr.go +++ b/internal/addrs/count_attr.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/doc.go b/internal/addrs/doc.go index 8ed7c6f2b0..c663eeecd7 100644 --- a/internal/addrs/doc.go +++ b/internal/addrs/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package addrs contains types that represent "addresses", which are diff --git a/internal/addrs/for_each_attr.go b/internal/addrs/for_each_attr.go index 48be27b8d2..7775cd5036 100644 --- a/internal/addrs/for_each_attr.go +++ b/internal/addrs/for_each_attr.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/input_variable.go b/internal/addrs/input_variable.go index 0e59d3f79d..f97bf8d60a 100644 --- a/internal/addrs/input_variable.go +++ b/internal/addrs/input_variable.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/instance_key.go b/internal/addrs/instance_key.go index 34c186c08b..8bbb3fbee9 100644 --- a/internal/addrs/instance_key.go +++ b/internal/addrs/instance_key.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/instance_key_test.go b/internal/addrs/instance_key_test.go index 429457cd52..efc6c26240 100644 --- a/internal/addrs/instance_key_test.go +++ b/internal/addrs/instance_key_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/local_value.go b/internal/addrs/local_value.go index 092584384b..88ecfaf4e5 100644 --- a/internal/addrs/local_value.go +++ b/internal/addrs/local_value.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/map.go b/internal/addrs/map.go index 8e05c42cbf..022a86f1ca 100644 --- a/internal/addrs/map.go +++ b/internal/addrs/map.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/map_test.go b/internal/addrs/map_test.go index 648bebdfca..d32ebd6310 100644 --- a/internal/addrs/map_test.go +++ b/internal/addrs/map_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/module.go b/internal/addrs/module.go index ff8fb6542b..90fe014e4a 100644 --- a/internal/addrs/module.go +++ b/internal/addrs/module.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/module_call.go b/internal/addrs/module_call.go index 7d1af52b94..8894f37d82 100644 --- a/internal/addrs/module_call.go +++ b/internal/addrs/module_call.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/module_instance.go b/internal/addrs/module_instance.go index 5a8707a700..2a724edc31 100644 --- a/internal/addrs/module_instance.go +++ b/internal/addrs/module_instance.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/module_instance_test.go b/internal/addrs/module_instance_test.go index 564c5483af..a8de77f8b6 100644 --- a/internal/addrs/module_instance_test.go +++ b/internal/addrs/module_instance_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/module_package.go b/internal/addrs/module_package.go index 8282bbb704..bdf59bacbd 100644 --- a/internal/addrs/module_package.go +++ b/internal/addrs/module_package.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/module_source.go b/internal/addrs/module_source.go index 0788b250a1..0a3a201d81 100644 --- a/internal/addrs/module_source.go +++ b/internal/addrs/module_source.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/module_source_test.go b/internal/addrs/module_source_test.go index eee0102138..f582cacbb3 100644 --- a/internal/addrs/module_source_test.go +++ b/internal/addrs/module_source_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/module_test.go b/internal/addrs/module_test.go index 43bc1b249f..410720dbed 100644 --- a/internal/addrs/module_test.go +++ b/internal/addrs/module_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/move_endpoint.go b/internal/addrs/move_endpoint.go index 48f3de1b8e..347a340391 100644 --- a/internal/addrs/move_endpoint.go +++ b/internal/addrs/move_endpoint.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/move_endpoint_kind.go b/internal/addrs/move_endpoint_kind.go index c09aa750bc..e29acfc7f5 100644 --- a/internal/addrs/move_endpoint_kind.go +++ b/internal/addrs/move_endpoint_kind.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/move_endpoint_module.go b/internal/addrs/move_endpoint_module.go index 8091fd7fc8..c06675d72f 100644 --- a/internal/addrs/move_endpoint_module.go +++ b/internal/addrs/move_endpoint_module.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/move_endpoint_module_test.go b/internal/addrs/move_endpoint_module_test.go index 0090d6aacf..167f91d239 100644 --- a/internal/addrs/move_endpoint_module_test.go +++ b/internal/addrs/move_endpoint_module_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/move_endpoint_test.go b/internal/addrs/move_endpoint_test.go index 83e1f3a2a3..29fa7ce56e 100644 --- a/internal/addrs/move_endpoint_test.go +++ b/internal/addrs/move_endpoint_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/moveable.go b/internal/addrs/moveable.go index 6f7305cbf2..c7274e8659 100644 --- a/internal/addrs/moveable.go +++ b/internal/addrs/moveable.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/output_value.go b/internal/addrs/output_value.go index 891c4ee7c0..6daf65014b 100644 --- a/internal/addrs/output_value.go +++ b/internal/addrs/output_value.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/output_value_test.go b/internal/addrs/output_value_test.go index ff48018dab..8f629f7374 100644 --- a/internal/addrs/output_value_test.go +++ b/internal/addrs/output_value_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/parse_ref.go b/internal/addrs/parse_ref.go index 6cf74503ad..e0dace786b 100644 --- a/internal/addrs/parse_ref.go +++ b/internal/addrs/parse_ref.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/parse_ref_test.go b/internal/addrs/parse_ref_test.go index 6424cd8d8d..fd393968d9 100644 --- a/internal/addrs/parse_ref_test.go +++ b/internal/addrs/parse_ref_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/parse_target.go b/internal/addrs/parse_target.go index df0236dde5..42e2ff586f 100644 --- a/internal/addrs/parse_target.go +++ b/internal/addrs/parse_target.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/parse_target_test.go b/internal/addrs/parse_target_test.go index b4c819913d..554d2c5f27 100644 --- a/internal/addrs/parse_target_test.go +++ b/internal/addrs/parse_target_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/path_attr.go b/internal/addrs/path_attr.go index e7ff33ac5b..8c7b0df85b 100644 --- a/internal/addrs/path_attr.go +++ b/internal/addrs/path_attr.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/provider.go b/internal/addrs/provider.go index c5709301af..e6a17d9311 100644 --- a/internal/addrs/provider.go +++ b/internal/addrs/provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/provider_config.go b/internal/addrs/provider_config.go index bf3ae9bb0f..9599a9a168 100644 --- a/internal/addrs/provider_config.go +++ b/internal/addrs/provider_config.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/provider_config_test.go b/internal/addrs/provider_config_test.go index a7a492dcc8..da93a1645b 100644 --- a/internal/addrs/provider_config_test.go +++ b/internal/addrs/provider_config_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/provider_test.go b/internal/addrs/provider_test.go index 19055a984e..ae43c10090 100644 --- a/internal/addrs/provider_test.go +++ b/internal/addrs/provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/referenceable.go b/internal/addrs/referenceable.go index 87ced614ae..a7337bf82c 100644 --- a/internal/addrs/referenceable.go +++ b/internal/addrs/referenceable.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/resource.go b/internal/addrs/resource.go index e74b013923..fdf0eb71fd 100644 --- a/internal/addrs/resource.go +++ b/internal/addrs/resource.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/resource_phase.go b/internal/addrs/resource_phase.go index 3523b489ba..d266ae0870 100644 --- a/internal/addrs/resource_phase.go +++ b/internal/addrs/resource_phase.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/resource_test.go b/internal/addrs/resource_test.go index e48ad86839..21498cadb1 100644 --- a/internal/addrs/resource_test.go +++ b/internal/addrs/resource_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/self.go b/internal/addrs/self.go index 1e103cd379..772b9ce87b 100644 --- a/internal/addrs/self.go +++ b/internal/addrs/self.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/set.go b/internal/addrs/set.go index 0cce31faa7..8ad995fd20 100644 --- a/internal/addrs/set.go +++ b/internal/addrs/set.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/target_test.go b/internal/addrs/target_test.go index e047e6a43e..8ecd7f26a1 100644 --- a/internal/addrs/target_test.go +++ b/internal/addrs/target_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/targetable.go b/internal/addrs/targetable.go index 7e12684a4b..1884ddca88 100644 --- a/internal/addrs/targetable.go +++ b/internal/addrs/targetable.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/tf_attr.go b/internal/addrs/tf_attr.go index c29379a1cd..25c79faaef 100644 --- a/internal/addrs/tf_attr.go +++ b/internal/addrs/tf_attr.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/unique_key.go b/internal/addrs/unique_key.go index e34a398541..18a20b4427 100644 --- a/internal/addrs/unique_key.go +++ b/internal/addrs/unique_key.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/addrs/unique_key_test.go b/internal/addrs/unique_key_test.go index 2de1967a85..df3b8a96e9 100644 --- a/internal/addrs/unique_key_test.go +++ b/internal/addrs/unique_key_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package addrs diff --git a/internal/backend/backend.go b/internal/backend/backend.go index 14d5ff5f46..af66ec526f 100644 --- a/internal/backend/backend.go +++ b/internal/backend/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package backend provides interfaces that the CLI uses to interact with diff --git a/internal/backend/backend_test.go b/internal/backend/backend_test.go index 329067eaef..0c62f92fe4 100644 --- a/internal/backend/backend_test.go +++ b/internal/backend/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package backend diff --git a/internal/backend/cli.go b/internal/backend/cli.go index e56255e2b4..2148c9f5bb 100644 --- a/internal/backend/cli.go +++ b/internal/backend/cli.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package backend diff --git a/internal/backend/init/deprecate_test.go b/internal/backend/init/deprecate_test.go index c2a5f7602f..158a383468 100644 --- a/internal/backend/init/deprecate_test.go +++ b/internal/backend/init/deprecate_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package init diff --git a/internal/backend/init/init.go b/internal/backend/init/init.go index c5c2c7973f..d165f96fc7 100644 --- a/internal/backend/init/init.go +++ b/internal/backend/init/init.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package init contains the list of backends that can be initialized and diff --git a/internal/backend/init/init_test.go b/internal/backend/init/init_test.go index e05610e0f7..bc6ebe096d 100644 --- a/internal/backend/init/init_test.go +++ b/internal/backend/init/init_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package init diff --git a/internal/backend/local/backend.go b/internal/backend/local/backend.go index 7fba335fe4..a4a15961bc 100644 --- a/internal/backend/local/backend.go +++ b/internal/backend/local/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/backend_apply.go b/internal/backend/local/backend_apply.go index 533b80b0e0..523679c555 100644 --- a/internal/backend/local/backend_apply.go +++ b/internal/backend/local/backend_apply.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/backend_apply_test.go b/internal/backend/local/backend_apply_test.go index 77a76e2bc4..3e0156e6ac 100644 --- a/internal/backend/local/backend_apply_test.go +++ b/internal/backend/local/backend_apply_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/backend_local.go b/internal/backend/local/backend_local.go index cc973f49c1..370846c0df 100644 --- a/internal/backend/local/backend_local.go +++ b/internal/backend/local/backend_local.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/backend_local_test.go b/internal/backend/local/backend_local_test.go index fa19afd003..c03e0c5fed 100644 --- a/internal/backend/local/backend_local_test.go +++ b/internal/backend/local/backend_local_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/backend_plan.go b/internal/backend/local/backend_plan.go index 46b627278e..dec8071289 100644 --- a/internal/backend/local/backend_plan.go +++ b/internal/backend/local/backend_plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/backend_plan_test.go b/internal/backend/local/backend_plan_test.go index 7ac8c98b87..5c4822fc12 100644 --- a/internal/backend/local/backend_plan_test.go +++ b/internal/backend/local/backend_plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/backend_refresh.go b/internal/backend/local/backend_refresh.go index 6d80252736..b29a941470 100644 --- a/internal/backend/local/backend_refresh.go +++ b/internal/backend/local/backend_refresh.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/backend_refresh_test.go b/internal/backend/local/backend_refresh_test.go index 1ed97de35a..c4064aae2c 100644 --- a/internal/backend/local/backend_refresh_test.go +++ b/internal/backend/local/backend_refresh_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/backend_test.go b/internal/backend/local/backend_test.go index 3211e23618..522849f304 100644 --- a/internal/backend/local/backend_test.go +++ b/internal/backend/local/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/cli.go b/internal/backend/local/cli.go index 500d8d8ad2..64fac38d5c 100644 --- a/internal/backend/local/cli.go +++ b/internal/backend/local/cli.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/hook_state.go b/internal/backend/local/hook_state.go index 4062bd8671..ec5f8ca20c 100644 --- a/internal/backend/local/hook_state.go +++ b/internal/backend/local/hook_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/hook_state_test.go b/internal/backend/local/hook_state_test.go index c12944833b..8144fbe478 100644 --- a/internal/backend/local/hook_state_test.go +++ b/internal/backend/local/hook_state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/local_test.go b/internal/backend/local/local_test.go index fe77aee20f..e2a1e0a378 100644 --- a/internal/backend/local/local_test.go +++ b/internal/backend/local/local_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/local/testing.go b/internal/backend/local/testing.go index 66bde29bc3..b11da91abf 100644 --- a/internal/backend/local/testing.go +++ b/internal/backend/local/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package local diff --git a/internal/backend/operation_type.go b/internal/backend/operation_type.go index bc0f297291..61e398efb3 100644 --- a/internal/backend/operation_type.go +++ b/internal/backend/operation_type.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package backend diff --git a/internal/backend/remote-state/azure/arm_client.go b/internal/backend/remote-state/azure/arm_client.go index df8a74a78b..c9badb9346 100644 --- a/internal/backend/remote-state/azure/arm_client.go +++ b/internal/backend/remote-state/azure/arm_client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package azure diff --git a/internal/backend/remote-state/azure/backend.go b/internal/backend/remote-state/azure/backend.go index 5a38fc14fc..7df3c490df 100644 --- a/internal/backend/remote-state/azure/backend.go +++ b/internal/backend/remote-state/azure/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package azure diff --git a/internal/backend/remote-state/azure/backend_state.go b/internal/backend/remote-state/azure/backend_state.go index 6ec264857b..241315b2fd 100644 --- a/internal/backend/remote-state/azure/backend_state.go +++ b/internal/backend/remote-state/azure/backend_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package azure diff --git a/internal/backend/remote-state/azure/backend_test.go b/internal/backend/remote-state/azure/backend_test.go index 347f2a2696..4625cd253b 100644 --- a/internal/backend/remote-state/azure/backend_test.go +++ b/internal/backend/remote-state/azure/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package azure diff --git a/internal/backend/remote-state/azure/client.go b/internal/backend/remote-state/azure/client.go index bcbf87c91e..1dd9eb78d8 100644 --- a/internal/backend/remote-state/azure/client.go +++ b/internal/backend/remote-state/azure/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package azure diff --git a/internal/backend/remote-state/azure/client_test.go b/internal/backend/remote-state/azure/client_test.go index c220669bc2..300072da58 100644 --- a/internal/backend/remote-state/azure/client_test.go +++ b/internal/backend/remote-state/azure/client_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package azure diff --git a/internal/backend/remote-state/azure/helpers_test.go b/internal/backend/remote-state/azure/helpers_test.go index 6d199881f0..274c1cd6f0 100644 --- a/internal/backend/remote-state/azure/helpers_test.go +++ b/internal/backend/remote-state/azure/helpers_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package azure diff --git a/internal/backend/remote-state/azure/sender.go b/internal/backend/remote-state/azure/sender.go index dbaa5cee8d..421941a3c8 100644 --- a/internal/backend/remote-state/azure/sender.go +++ b/internal/backend/remote-state/azure/sender.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package azure diff --git a/internal/backend/remote-state/consul/Dockerfile b/internal/backend/remote-state/consul/Dockerfile index d85a4fd53b..95809f3ed5 100644 --- a/internal/backend/remote-state/consul/Dockerfile +++ b/internal/backend/remote-state/consul/Dockerfile @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + FROM consul:1.15 # install dependencies to install Go diff --git a/internal/backend/remote-state/consul/backend.go b/internal/backend/remote-state/consul/backend.go index a41c684fba..48597b2ca8 100644 --- a/internal/backend/remote-state/consul/backend.go +++ b/internal/backend/remote-state/consul/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package consul diff --git a/internal/backend/remote-state/consul/backend_state.go b/internal/backend/remote-state/consul/backend_state.go index d5854fa5bc..a0cc0744ea 100644 --- a/internal/backend/remote-state/consul/backend_state.go +++ b/internal/backend/remote-state/consul/backend_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package consul diff --git a/internal/backend/remote-state/consul/backend_test.go b/internal/backend/remote-state/consul/backend_test.go index f5970ecf2b..f27de975e2 100644 --- a/internal/backend/remote-state/consul/backend_test.go +++ b/internal/backend/remote-state/consul/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package consul diff --git a/internal/backend/remote-state/consul/client.go b/internal/backend/remote-state/consul/client.go index b738392c94..3ac643ab71 100644 --- a/internal/backend/remote-state/consul/client.go +++ b/internal/backend/remote-state/consul/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package consul diff --git a/internal/backend/remote-state/consul/client_test.go b/internal/backend/remote-state/consul/client_test.go index c1420e4683..2bc0c3739b 100644 --- a/internal/backend/remote-state/consul/client_test.go +++ b/internal/backend/remote-state/consul/client_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package consul diff --git a/internal/backend/remote-state/cos/backend.go b/internal/backend/remote-state/cos/backend.go index ca26186821..e586a62694 100644 --- a/internal/backend/remote-state/cos/backend.go +++ b/internal/backend/remote-state/cos/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cos diff --git a/internal/backend/remote-state/cos/backend_state.go b/internal/backend/remote-state/cos/backend_state.go index 146cfd880b..ee36c5855d 100644 --- a/internal/backend/remote-state/cos/backend_state.go +++ b/internal/backend/remote-state/cos/backend_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cos diff --git a/internal/backend/remote-state/cos/backend_test.go b/internal/backend/remote-state/cos/backend_test.go index a8317ca007..2bb2c38033 100644 --- a/internal/backend/remote-state/cos/backend_test.go +++ b/internal/backend/remote-state/cos/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cos diff --git a/internal/backend/remote-state/cos/client.go b/internal/backend/remote-state/cos/client.go index 380c98ccf4..19b04688c9 100644 --- a/internal/backend/remote-state/cos/client.go +++ b/internal/backend/remote-state/cos/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cos diff --git a/internal/backend/remote-state/cos/transport.go b/internal/backend/remote-state/cos/transport.go index d097b08c67..ff99781734 100644 --- a/internal/backend/remote-state/cos/transport.go +++ b/internal/backend/remote-state/cos/transport.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cos diff --git a/internal/backend/remote-state/gcs/backend.go b/internal/backend/remote-state/gcs/backend.go index 8f491ca70f..6e1ae6e11b 100644 --- a/internal/backend/remote-state/gcs/backend.go +++ b/internal/backend/remote-state/gcs/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package gcs implements remote storage of state on Google Cloud Storage (GCS). diff --git a/internal/backend/remote-state/gcs/backend_state.go b/internal/backend/remote-state/gcs/backend_state.go index f55e31c3de..ba19ed1982 100644 --- a/internal/backend/remote-state/gcs/backend_state.go +++ b/internal/backend/remote-state/gcs/backend_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package gcs diff --git a/internal/backend/remote-state/gcs/backend_test.go b/internal/backend/remote-state/gcs/backend_test.go index 14535bd076..f946926e6f 100644 --- a/internal/backend/remote-state/gcs/backend_test.go +++ b/internal/backend/remote-state/gcs/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package gcs diff --git a/internal/backend/remote-state/gcs/client.go b/internal/backend/remote-state/gcs/client.go index 1d5c587c55..6d4d565fd3 100644 --- a/internal/backend/remote-state/gcs/client.go +++ b/internal/backend/remote-state/gcs/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package gcs diff --git a/internal/backend/remote-state/http/backend.go b/internal/backend/remote-state/http/backend.go index a976b358ca..9de9f271ae 100644 --- a/internal/backend/remote-state/http/backend.go +++ b/internal/backend/remote-state/http/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package http diff --git a/internal/backend/remote-state/http/backend_test.go b/internal/backend/remote-state/http/backend_test.go index 16048eca65..d5499e340e 100644 --- a/internal/backend/remote-state/http/backend_test.go +++ b/internal/backend/remote-state/http/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package http diff --git a/internal/backend/remote-state/http/client.go b/internal/backend/remote-state/http/client.go index 75743f67e6..f2adb90cf9 100644 --- a/internal/backend/remote-state/http/client.go +++ b/internal/backend/remote-state/http/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package http diff --git a/internal/backend/remote-state/http/client_test.go b/internal/backend/remote-state/http/client_test.go index 4cdf714e5c..fc1e738c86 100644 --- a/internal/backend/remote-state/http/client_test.go +++ b/internal/backend/remote-state/http/client_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package http diff --git a/internal/backend/remote-state/http/server_test.go b/internal/backend/remote-state/http/server_test.go index 695d9e5b31..c23afdc47e 100644 --- a/internal/backend/remote-state/http/server_test.go +++ b/internal/backend/remote-state/http/server_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package http diff --git a/internal/backend/remote-state/inmem/backend.go b/internal/backend/remote-state/inmem/backend.go index f99629ddca..3be179b7d7 100644 --- a/internal/backend/remote-state/inmem/backend.go +++ b/internal/backend/remote-state/inmem/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package inmem diff --git a/internal/backend/remote-state/inmem/backend_test.go b/internal/backend/remote-state/inmem/backend_test.go index 6cb32a51af..217d78875b 100644 --- a/internal/backend/remote-state/inmem/backend_test.go +++ b/internal/backend/remote-state/inmem/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package inmem diff --git a/internal/backend/remote-state/inmem/client.go b/internal/backend/remote-state/inmem/client.go index 94fa633c2b..7504ede0db 100644 --- a/internal/backend/remote-state/inmem/client.go +++ b/internal/backend/remote-state/inmem/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package inmem diff --git a/internal/backend/remote-state/inmem/client_test.go b/internal/backend/remote-state/inmem/client_test.go index b6b37e30d5..f2f7f26fb0 100644 --- a/internal/backend/remote-state/inmem/client_test.go +++ b/internal/backend/remote-state/inmem/client_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package inmem diff --git a/internal/backend/remote-state/kubernetes/backend.go b/internal/backend/remote-state/kubernetes/backend.go index 5ef95045b6..e5bdc93cc6 100644 --- a/internal/backend/remote-state/kubernetes/backend.go +++ b/internal/backend/remote-state/kubernetes/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package kubernetes diff --git a/internal/backend/remote-state/kubernetes/backend_state.go b/internal/backend/remote-state/kubernetes/backend_state.go index 87ba566fb1..b15182e5d3 100644 --- a/internal/backend/remote-state/kubernetes/backend_state.go +++ b/internal/backend/remote-state/kubernetes/backend_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package kubernetes diff --git a/internal/backend/remote-state/kubernetes/backend_test.go b/internal/backend/remote-state/kubernetes/backend_test.go index 950ca4cc7d..6253c32374 100644 --- a/internal/backend/remote-state/kubernetes/backend_test.go +++ b/internal/backend/remote-state/kubernetes/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package kubernetes diff --git a/internal/backend/remote-state/kubernetes/client.go b/internal/backend/remote-state/kubernetes/client.go index 761e575af2..3ca58c7b0e 100644 --- a/internal/backend/remote-state/kubernetes/client.go +++ b/internal/backend/remote-state/kubernetes/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package kubernetes diff --git a/internal/backend/remote-state/kubernetes/client_test.go b/internal/backend/remote-state/kubernetes/client_test.go index 99473ce64a..b9b5f87484 100644 --- a/internal/backend/remote-state/kubernetes/client_test.go +++ b/internal/backend/remote-state/kubernetes/client_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package kubernetes diff --git a/internal/backend/remote-state/oss/backend.go b/internal/backend/remote-state/oss/backend.go index db5976a554..df61256b29 100644 --- a/internal/backend/remote-state/oss/backend.go +++ b/internal/backend/remote-state/oss/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package oss diff --git a/internal/backend/remote-state/oss/backend_state.go b/internal/backend/remote-state/oss/backend_state.go index d3abaa3129..4b74f8da12 100644 --- a/internal/backend/remote-state/oss/backend_state.go +++ b/internal/backend/remote-state/oss/backend_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package oss diff --git a/internal/backend/remote-state/oss/backend_test.go b/internal/backend/remote-state/oss/backend_test.go index 5ec256b964..1148e0086d 100644 --- a/internal/backend/remote-state/oss/backend_test.go +++ b/internal/backend/remote-state/oss/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package oss diff --git a/internal/backend/remote-state/oss/client.go b/internal/backend/remote-state/oss/client.go index f2515736be..cf7f273bdb 100644 --- a/internal/backend/remote-state/oss/client.go +++ b/internal/backend/remote-state/oss/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package oss diff --git a/internal/backend/remote-state/oss/client_test.go b/internal/backend/remote-state/oss/client_test.go index 53d589df39..1308762580 100644 --- a/internal/backend/remote-state/oss/client_test.go +++ b/internal/backend/remote-state/oss/client_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package oss diff --git a/internal/backend/remote-state/pg/backend.go b/internal/backend/remote-state/pg/backend.go index 5882c3fa07..65951d3d8d 100644 --- a/internal/backend/remote-state/pg/backend.go +++ b/internal/backend/remote-state/pg/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package pg diff --git a/internal/backend/remote-state/pg/backend_state.go b/internal/backend/remote-state/pg/backend_state.go index f8162017e5..c09bb06e6b 100644 --- a/internal/backend/remote-state/pg/backend_state.go +++ b/internal/backend/remote-state/pg/backend_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package pg diff --git a/internal/backend/remote-state/pg/backend_test.go b/internal/backend/remote-state/pg/backend_test.go index a383538310..8263ddeb4b 100644 --- a/internal/backend/remote-state/pg/backend_test.go +++ b/internal/backend/remote-state/pg/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package pg diff --git a/internal/backend/remote-state/pg/client.go b/internal/backend/remote-state/pg/client.go index 5416392b9e..29f9daee89 100644 --- a/internal/backend/remote-state/pg/client.go +++ b/internal/backend/remote-state/pg/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package pg diff --git a/internal/backend/remote-state/pg/client_test.go b/internal/backend/remote-state/pg/client_test.go index 3ee44723a3..a4fa984ea1 100644 --- a/internal/backend/remote-state/pg/client_test.go +++ b/internal/backend/remote-state/pg/client_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package pg diff --git a/internal/backend/remote-state/s3/backend.go b/internal/backend/remote-state/s3/backend.go index c96afde623..1815053635 100644 --- a/internal/backend/remote-state/s3/backend.go +++ b/internal/backend/remote-state/s3/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package s3 diff --git a/internal/backend/remote-state/s3/backend_complete_test.go b/internal/backend/remote-state/s3/backend_complete_test.go index 3f605ea963..6cb78245d8 100644 --- a/internal/backend/remote-state/s3/backend_complete_test.go +++ b/internal/backend/remote-state/s3/backend_complete_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package s3 import ( diff --git a/internal/backend/remote-state/s3/backend_state.go b/internal/backend/remote-state/s3/backend_state.go index a989415308..ff0f43df84 100644 --- a/internal/backend/remote-state/s3/backend_state.go +++ b/internal/backend/remote-state/s3/backend_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package s3 diff --git a/internal/backend/remote-state/s3/backend_test.go b/internal/backend/remote-state/s3/backend_test.go index e21712dab7..670692002e 100644 --- a/internal/backend/remote-state/s3/backend_test.go +++ b/internal/backend/remote-state/s3/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package s3 diff --git a/internal/backend/remote-state/s3/client.go b/internal/backend/remote-state/s3/client.go index 2c1662d43a..563ee2eef1 100644 --- a/internal/backend/remote-state/s3/client.go +++ b/internal/backend/remote-state/s3/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package s3 diff --git a/internal/backend/remote-state/s3/client_test.go b/internal/backend/remote-state/s3/client_test.go index 7d986e527a..9b9a235ca6 100644 --- a/internal/backend/remote-state/s3/client_test.go +++ b/internal/backend/remote-state/s3/client_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package s3 diff --git a/internal/backend/remote-state/s3/diags.go b/internal/backend/remote-state/s3/diags.go index 9604f7d18d..fbcec1d7d9 100644 --- a/internal/backend/remote-state/s3/diags.go +++ b/internal/backend/remote-state/s3/diags.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package s3 import ( diff --git a/internal/backend/remote-state/s3/testing_test.go b/internal/backend/remote-state/s3/testing_test.go index 34ba409990..0cacb64034 100644 --- a/internal/backend/remote-state/s3/testing_test.go +++ b/internal/backend/remote-state/s3/testing_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package s3 import ( diff --git a/internal/backend/remote-state/s3/validate.go b/internal/backend/remote-state/s3/validate.go index 88a65964da..948c0ed766 100644 --- a/internal/backend/remote-state/s3/validate.go +++ b/internal/backend/remote-state/s3/validate.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package s3 import ( diff --git a/internal/backend/remote-state/s3/validate_test.go b/internal/backend/remote-state/s3/validate_test.go index 22afe1343a..b6ae6a817c 100644 --- a/internal/backend/remote-state/s3/validate_test.go +++ b/internal/backend/remote-state/s3/validate_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package s3 import ( diff --git a/internal/backend/remote/backend.go b/internal/backend/remote/backend.go index f3d3df4865..4faf7099fa 100644 --- a/internal/backend/remote/backend.go +++ b/internal/backend/remote/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/backend_apply.go b/internal/backend/remote/backend_apply.go index 8e9dad94ee..1f0041705b 100644 --- a/internal/backend/remote/backend_apply.go +++ b/internal/backend/remote/backend_apply.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/backend_apply_test.go b/internal/backend/remote/backend_apply_test.go index e09db32c5d..a875881d13 100644 --- a/internal/backend/remote/backend_apply_test.go +++ b/internal/backend/remote/backend_apply_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/backend_common.go b/internal/backend/remote/backend_common.go index 2bd01af765..f19041aa53 100644 --- a/internal/backend/remote/backend_common.go +++ b/internal/backend/remote/backend_common.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/backend_context.go b/internal/backend/remote/backend_context.go index e2d7a0df41..2a2976b87f 100644 --- a/internal/backend/remote/backend_context.go +++ b/internal/backend/remote/backend_context.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/backend_context_test.go b/internal/backend/remote/backend_context_test.go index 430261b220..77526412aa 100644 --- a/internal/backend/remote/backend_context_test.go +++ b/internal/backend/remote/backend_context_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/backend_plan.go b/internal/backend/remote/backend_plan.go index 09738c5f28..8e80f1a124 100644 --- a/internal/backend/remote/backend_plan.go +++ b/internal/backend/remote/backend_plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/backend_plan_test.go b/internal/backend/remote/backend_plan_test.go index 75359e3ed4..02a50519ff 100644 --- a/internal/backend/remote/backend_plan_test.go +++ b/internal/backend/remote/backend_plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/backend_state.go b/internal/backend/remote/backend_state.go index f53f9361de..1fd95f5345 100644 --- a/internal/backend/remote/backend_state.go +++ b/internal/backend/remote/backend_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/backend_state_test.go b/internal/backend/remote/backend_state_test.go index fa26f2b34e..42e3bf85ae 100644 --- a/internal/backend/remote/backend_state_test.go +++ b/internal/backend/remote/backend_state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/backend_test.go b/internal/backend/remote/backend_test.go index fa72dcc8af..d0de9b321a 100644 --- a/internal/backend/remote/backend_test.go +++ b/internal/backend/remote/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/cli.go b/internal/backend/remote/cli.go index 56e6a071af..12fcb7d0ef 100644 --- a/internal/backend/remote/cli.go +++ b/internal/backend/remote/cli.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/colorize.go b/internal/backend/remote/colorize.go index 97e769d767..286df2eca2 100644 --- a/internal/backend/remote/colorize.go +++ b/internal/backend/remote/colorize.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/remote_test.go b/internal/backend/remote/remote_test.go index e4d0c7195c..a932829a8e 100644 --- a/internal/backend/remote/remote_test.go +++ b/internal/backend/remote/remote_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/remote/testing.go b/internal/backend/remote/testing.go index 5887771568..e7cf6964c5 100644 --- a/internal/backend/remote/testing.go +++ b/internal/backend/remote/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/backend/testing.go b/internal/backend/testing.go index 13f6f0d773..cf7059351b 100644 --- a/internal/backend/testing.go +++ b/internal/backend/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package backend diff --git a/internal/backend/unparsed_value.go b/internal/backend/unparsed_value.go index 6d07045816..b735d46e57 100644 --- a/internal/backend/unparsed_value.go +++ b/internal/backend/unparsed_value.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package backend diff --git a/internal/backend/unparsed_value_test.go b/internal/backend/unparsed_value_test.go index 3429d40cb3..7c55c9600d 100644 --- a/internal/backend/unparsed_value_test.go +++ b/internal/backend/unparsed_value_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package backend diff --git a/internal/builtin/providers/tf/data_source_state.go b/internal/builtin/providers/tf/data_source_state.go index 5403c4735e..3c8740c856 100644 --- a/internal/builtin/providers/tf/data_source_state.go +++ b/internal/builtin/providers/tf/data_source_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tf diff --git a/internal/builtin/providers/tf/data_source_state_test.go b/internal/builtin/providers/tf/data_source_state_test.go index 3b3bfbd0c8..012147ca60 100644 --- a/internal/builtin/providers/tf/data_source_state_test.go +++ b/internal/builtin/providers/tf/data_source_state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tf diff --git a/internal/builtin/providers/tf/provider.go b/internal/builtin/providers/tf/provider.go index a8b2d299a7..6d6c2822d8 100644 --- a/internal/builtin/providers/tf/provider.go +++ b/internal/builtin/providers/tf/provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tf diff --git a/internal/builtin/providers/tf/provider_test.go b/internal/builtin/providers/tf/provider_test.go index 1812f5931f..66bf58f342 100644 --- a/internal/builtin/providers/tf/provider_test.go +++ b/internal/builtin/providers/tf/provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tf diff --git a/internal/builtin/providers/tf/resource_data.go b/internal/builtin/providers/tf/resource_data.go index dbdcb44681..92f2c45fda 100644 --- a/internal/builtin/providers/tf/resource_data.go +++ b/internal/builtin/providers/tf/resource_data.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tf diff --git a/internal/builtin/providers/tf/resource_data_test.go b/internal/builtin/providers/tf/resource_data_test.go index 16023fd560..8c01525bcb 100644 --- a/internal/builtin/providers/tf/resource_data_test.go +++ b/internal/builtin/providers/tf/resource_data_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tf diff --git a/internal/builtin/provisioners/file/resource_provisioner.go b/internal/builtin/provisioners/file/resource_provisioner.go index a83af729f9..0d4fbe4bcc 100644 --- a/internal/builtin/provisioners/file/resource_provisioner.go +++ b/internal/builtin/provisioners/file/resource_provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package file diff --git a/internal/builtin/provisioners/file/resource_provisioner_test.go b/internal/builtin/provisioners/file/resource_provisioner_test.go index 9b9905d1f6..98d0386001 100644 --- a/internal/builtin/provisioners/file/resource_provisioner_test.go +++ b/internal/builtin/provisioners/file/resource_provisioner_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package file diff --git a/internal/builtin/provisioners/local-exec/resource_provisioner.go b/internal/builtin/provisioners/local-exec/resource_provisioner.go index 1798457a38..43d282cd7b 100644 --- a/internal/builtin/provisioners/local-exec/resource_provisioner.go +++ b/internal/builtin/provisioners/local-exec/resource_provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package localexec diff --git a/internal/builtin/provisioners/local-exec/resource_provisioner_test.go b/internal/builtin/provisioners/local-exec/resource_provisioner_test.go index f3899a9c60..fdb90fc7e8 100644 --- a/internal/builtin/provisioners/local-exec/resource_provisioner_test.go +++ b/internal/builtin/provisioners/local-exec/resource_provisioner_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package localexec diff --git a/internal/builtin/provisioners/remote-exec/resource_provisioner.go b/internal/builtin/provisioners/remote-exec/resource_provisioner.go index 42c7e11a9d..2dfcf4c7dd 100644 --- a/internal/builtin/provisioners/remote-exec/resource_provisioner.go +++ b/internal/builtin/provisioners/remote-exec/resource_provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remoteexec diff --git a/internal/builtin/provisioners/remote-exec/resource_provisioner_test.go b/internal/builtin/provisioners/remote-exec/resource_provisioner_test.go index 4236883531..ca20a78705 100644 --- a/internal/builtin/provisioners/remote-exec/resource_provisioner_test.go +++ b/internal/builtin/provisioners/remote-exec/resource_provisioner_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remoteexec diff --git a/internal/checks/doc.go b/internal/checks/doc.go index 2d6dabcbf6..15c51a1252 100644 --- a/internal/checks/doc.go +++ b/internal/checks/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package checks contains the models for representing various kinds of diff --git a/internal/checks/state.go b/internal/checks/state.go index 4c7a8ac3d3..a214470fcc 100644 --- a/internal/checks/state.go +++ b/internal/checks/state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package checks diff --git a/internal/checks/state_init.go b/internal/checks/state_init.go index f9ba03c34a..d4abc8a5cd 100644 --- a/internal/checks/state_init.go +++ b/internal/checks/state_init.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package checks diff --git a/internal/checks/state_report.go b/internal/checks/state_report.go index af5d6c77bf..b740c22b30 100644 --- a/internal/checks/state_report.go +++ b/internal/checks/state_report.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package checks diff --git a/internal/checks/state_test.go b/internal/checks/state_test.go index 25312f0fd9..af3bcda9d9 100644 --- a/internal/checks/state_test.go +++ b/internal/checks/state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package checks diff --git a/internal/checks/status.go b/internal/checks/status.go index a5d52a3551..c8aee18c47 100644 --- a/internal/checks/status.go +++ b/internal/checks/status.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package checks diff --git a/internal/cloud/backend.go b/internal/cloud/backend.go index 745c38cfe6..2dd0541879 100644 --- a/internal/cloud/backend.go +++ b/internal/cloud/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_apply.go b/internal/cloud/backend_apply.go index ea7d33271a..9b9b087ccf 100644 --- a/internal/cloud/backend_apply.go +++ b/internal/cloud/backend_apply.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_apply_test.go b/internal/cloud/backend_apply_test.go index 4f44cfa426..ccfb33aa13 100644 --- a/internal/cloud/backend_apply_test.go +++ b/internal/cloud/backend_apply_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_cli.go b/internal/cloud/backend_cli.go index d82cfad3d7..242158277d 100644 --- a/internal/cloud/backend_cli.go +++ b/internal/cloud/backend_cli.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_colorize.go b/internal/cloud/backend_colorize.go index 2dcf79cdea..434acc38d5 100644 --- a/internal/cloud/backend_colorize.go +++ b/internal/cloud/backend_colorize.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_common.go b/internal/cloud/backend_common.go index 76ef819867..a99d7cc642 100644 --- a/internal/cloud/backend_common.go +++ b/internal/cloud/backend_common.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_context.go b/internal/cloud/backend_context.go index 8a06d6d3d5..4a49bff74a 100644 --- a/internal/cloud/backend_context.go +++ b/internal/cloud/backend_context.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_context_test.go b/internal/cloud/backend_context_test.go index 615397f0d1..c2dfaeca46 100644 --- a/internal/cloud/backend_context_test.go +++ b/internal/cloud/backend_context_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_plan.go b/internal/cloud/backend_plan.go index f5c0978e4a..f3bbcd3a5b 100644 --- a/internal/cloud/backend_plan.go +++ b/internal/cloud/backend_plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_plan_test.go b/internal/cloud/backend_plan_test.go index b5339c45aa..db99624473 100644 --- a/internal/cloud/backend_plan_test.go +++ b/internal/cloud/backend_plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_refresh_test.go b/internal/cloud/backend_refresh_test.go index 8d30b8ed70..282885a123 100644 --- a/internal/cloud/backend_refresh_test.go +++ b/internal/cloud/backend_refresh_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_run_warning.go b/internal/cloud/backend_run_warning.go index c9c766c1b1..187349ac15 100644 --- a/internal/cloud/backend_run_warning.go +++ b/internal/cloud/backend_run_warning.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_run_warning_test.go b/internal/cloud/backend_run_warning_test.go index 34fe27fdb2..af687d442e 100644 --- a/internal/cloud/backend_run_warning_test.go +++ b/internal/cloud/backend_run_warning_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_show.go b/internal/cloud/backend_show.go index d4242b44bb..becbc8ff28 100644 --- a/internal/cloud/backend_show.go +++ b/internal/cloud/backend_show.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_show_test.go b/internal/cloud/backend_show_test.go index 07102c3481..3bdb06d696 100644 --- a/internal/cloud/backend_show_test.go +++ b/internal/cloud/backend_show_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_taskStage_policyEvaluation.go b/internal/cloud/backend_taskStage_policyEvaluation.go index 06c8a3ab4e..3e66cf089a 100644 --- a/internal/cloud/backend_taskStage_policyEvaluation.go +++ b/internal/cloud/backend_taskStage_policyEvaluation.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_taskStage_policyEvaluation_test.go b/internal/cloud/backend_taskStage_policyEvaluation_test.go index d73169b837..b024cb96c6 100644 --- a/internal/cloud/backend_taskStage_policyEvaluation_test.go +++ b/internal/cloud/backend_taskStage_policyEvaluation_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_taskStage_taskResults.go b/internal/cloud/backend_taskStage_taskResults.go index d12ee29b61..987adf4819 100644 --- a/internal/cloud/backend_taskStage_taskResults.go +++ b/internal/cloud/backend_taskStage_taskResults.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_taskStage_taskResults_test.go b/internal/cloud/backend_taskStage_taskResults_test.go index 1e272daa9d..39a927ee0b 100644 --- a/internal/cloud/backend_taskStage_taskResults_test.go +++ b/internal/cloud/backend_taskStage_taskResults_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_taskStages.go b/internal/cloud/backend_taskStages.go index cd59eb247b..facd4f790a 100644 --- a/internal/cloud/backend_taskStages.go +++ b/internal/cloud/backend_taskStages.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_taskStages_test.go b/internal/cloud/backend_taskStages_test.go index 3a88cf8004..e82ae37d58 100644 --- a/internal/cloud/backend_taskStages_test.go +++ b/internal/cloud/backend_taskStages_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/backend_test.go b/internal/cloud/backend_test.go index 8433777039..a8abe5d5d5 100644 --- a/internal/cloud/backend_test.go +++ b/internal/cloud/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/cloud_integration.go b/internal/cloud/cloud_integration.go index bb89aed2ec..da1eaf0abd 100644 --- a/internal/cloud/cloud_integration.go +++ b/internal/cloud/cloud_integration.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/cloud_variables.go b/internal/cloud/cloud_variables.go index 6bad39f7f5..7387d17761 100644 --- a/internal/cloud/cloud_variables.go +++ b/internal/cloud/cloud_variables.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/cloud_variables_test.go b/internal/cloud/cloud_variables_test.go index fda39bb899..db12f5548d 100644 --- a/internal/cloud/cloud_variables_test.go +++ b/internal/cloud/cloud_variables_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/cloudplan/remote_plan_json.go b/internal/cloud/cloudplan/remote_plan_json.go index 7e0aa6ec8a..594f7999dc 100644 --- a/internal/cloud/cloudplan/remote_plan_json.go +++ b/internal/cloud/cloudplan/remote_plan_json.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloudplan diff --git a/internal/cloud/cloudplan/saved_plan.go b/internal/cloud/cloudplan/saved_plan.go index 7257abf281..c8a50869d1 100644 --- a/internal/cloud/cloudplan/saved_plan.go +++ b/internal/cloud/cloudplan/saved_plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloudplan diff --git a/internal/cloud/cloudplan/saved_plan_test.go b/internal/cloud/cloudplan/saved_plan_test.go index f02ccade13..10d510f6d8 100644 --- a/internal/cloud/cloudplan/saved_plan_test.go +++ b/internal/cloud/cloudplan/saved_plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloudplan diff --git a/internal/cloud/e2e/apply_auto_approve_test.go b/internal/cloud/e2e/apply_auto_approve_test.go index 47a45d7969..10967f9c8f 100644 --- a/internal/cloud/e2e/apply_auto_approve_test.go +++ b/internal/cloud/e2e/apply_auto_approve_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/apply_no_input_flag_test.go b/internal/cloud/e2e/apply_no_input_flag_test.go index 231155167a..059df42233 100644 --- a/internal/cloud/e2e/apply_no_input_flag_test.go +++ b/internal/cloud/e2e/apply_no_input_flag_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/backend_apply_before_init_test.go b/internal/cloud/e2e/backend_apply_before_init_test.go index 2c0bc283bc..eb6b3e5ffa 100644 --- a/internal/cloud/e2e/backend_apply_before_init_test.go +++ b/internal/cloud/e2e/backend_apply_before_init_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/env_variables_test.go b/internal/cloud/e2e/env_variables_test.go index d187edf744..e9e67a8477 100644 --- a/internal/cloud/e2e/env_variables_test.go +++ b/internal/cloud/e2e/env_variables_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/helper_test.go b/internal/cloud/e2e/helper_test.go index eda7ddb150..3378c78b35 100644 --- a/internal/cloud/e2e/helper_test.go +++ b/internal/cloud/e2e/helper_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/init_with_empty_tags_test.go b/internal/cloud/e2e/init_with_empty_tags_test.go index 5b1099dea8..44812d2c97 100644 --- a/internal/cloud/e2e/init_with_empty_tags_test.go +++ b/internal/cloud/e2e/init_with_empty_tags_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/main_test.go b/internal/cloud/e2e/main_test.go index 3ddb4a0e63..281cc4f425 100644 --- a/internal/cloud/e2e/main_test.go +++ b/internal/cloud/e2e/main_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/migrate_state_multi_to_tfc_test.go b/internal/cloud/e2e/migrate_state_multi_to_tfc_test.go index e70a40390c..ef0fee63bb 100644 --- a/internal/cloud/e2e/migrate_state_multi_to_tfc_test.go +++ b/internal/cloud/e2e/migrate_state_multi_to_tfc_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/migrate_state_remote_backend_to_tfc_test.go b/internal/cloud/e2e/migrate_state_remote_backend_to_tfc_test.go index 2fbb903930..219814a76f 100644 --- a/internal/cloud/e2e/migrate_state_remote_backend_to_tfc_test.go +++ b/internal/cloud/e2e/migrate_state_remote_backend_to_tfc_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/migrate_state_single_to_tfc_test.go b/internal/cloud/e2e/migrate_state_single_to_tfc_test.go index b16069a8cd..a490a01f7d 100644 --- a/internal/cloud/e2e/migrate_state_single_to_tfc_test.go +++ b/internal/cloud/e2e/migrate_state_single_to_tfc_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/migrate_state_tfc_to_other_test.go b/internal/cloud/e2e/migrate_state_tfc_to_other_test.go index fe8c35f4c1..a212c19fc7 100644 --- a/internal/cloud/e2e/migrate_state_tfc_to_other_test.go +++ b/internal/cloud/e2e/migrate_state_tfc_to_other_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/migrate_state_tfc_to_tfc_test.go b/internal/cloud/e2e/migrate_state_tfc_to_tfc_test.go index b4fc9a53c8..8ebffff3ca 100644 --- a/internal/cloud/e2e/migrate_state_tfc_to_tfc_test.go +++ b/internal/cloud/e2e/migrate_state_tfc_to_tfc_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/e2e/run_variables_test.go b/internal/cloud/e2e/run_variables_test.go index 600aeb7c76..d7453679a1 100644 --- a/internal/cloud/e2e/run_variables_test.go +++ b/internal/cloud/e2e/run_variables_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/cloud/errors.go b/internal/cloud/errors.go index bc06cab712..43d8a82609 100644 --- a/internal/cloud/errors.go +++ b/internal/cloud/errors.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/migration.go b/internal/cloud/migration.go index 2ed1b5f70b..f7b0805665 100644 --- a/internal/cloud/migration.go +++ b/internal/cloud/migration.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/migration_test.go b/internal/cloud/migration_test.go index 1726d5402c..ac98c1f092 100644 --- a/internal/cloud/migration_test.go +++ b/internal/cloud/migration_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/remote_test.go b/internal/cloud/remote_test.go index 2f458db7f8..fa12ca88dc 100644 --- a/internal/cloud/remote_test.go +++ b/internal/cloud/remote_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/state.go b/internal/cloud/state.go index 2fde9a6239..f092bfb748 100644 --- a/internal/cloud/state.go +++ b/internal/cloud/state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/state_test.go b/internal/cloud/state_test.go index d73420b5fb..2b20d75a1d 100644 --- a/internal/cloud/state_test.go +++ b/internal/cloud/state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/testing.go b/internal/cloud/testing.go index 76f7ea7c2d..cb89c1ce28 100644 --- a/internal/cloud/testing.go +++ b/internal/cloud/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloud/tfe_client_mock.go b/internal/cloud/tfe_client_mock.go index 5f97e3acfb..d39c53c026 100644 --- a/internal/cloud/tfe_client_mock.go +++ b/internal/cloud/tfe_client_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cloud diff --git a/internal/cloudplugin/cloudplugin1/grpc_client.go b/internal/cloudplugin/cloudplugin1/grpc_client.go index c091206bf7..9a2c8df073 100644 --- a/internal/cloudplugin/cloudplugin1/grpc_client.go +++ b/internal/cloudplugin/cloudplugin1/grpc_client.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cloudplugin1 import ( diff --git a/internal/cloudplugin/cloudplugin1/grpc_client_test.go b/internal/cloudplugin/cloudplugin1/grpc_client_test.go index 9fd6d4bac2..60f6b79b12 100644 --- a/internal/cloudplugin/cloudplugin1/grpc_client_test.go +++ b/internal/cloudplugin/cloudplugin1/grpc_client_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cloudplugin1 import ( diff --git a/internal/cloudplugin/cloudplugin1/grpc_plugin.go b/internal/cloudplugin/cloudplugin1/grpc_plugin.go index df6a1f9339..dfde0a8cf5 100644 --- a/internal/cloudplugin/cloudplugin1/grpc_plugin.go +++ b/internal/cloudplugin/cloudplugin1/grpc_plugin.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cloudplugin1 import ( diff --git a/internal/cloudplugin/cloudproto1/cloudproto1.pb.go b/internal/cloudplugin/cloudproto1/cloudproto1.pb.go index 5b4843c24a..dbbc32eef6 100644 --- a/internal/cloudplugin/cloudproto1/cloudproto1.pb.go +++ b/internal/cloudplugin/cloudproto1/cloudproto1.pb.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 diff --git a/internal/cloudplugin/cloudproto1/cloudproto1.proto b/internal/cloudplugin/cloudproto1/cloudproto1.proto index 7d74d97ff9..91d407817b 100644 --- a/internal/cloudplugin/cloudproto1/cloudproto1.proto +++ b/internal/cloudplugin/cloudproto1/cloudproto1.proto @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + syntax = "proto3"; package cloudproto1; diff --git a/internal/cloudplugin/interface.go b/internal/cloudplugin/interface.go index 6138508fd6..4dd17dd883 100644 --- a/internal/cloudplugin/interface.go +++ b/internal/cloudplugin/interface.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cloudplugin import ( diff --git a/internal/cloudplugin/mock_cloudproto1/generate.go b/internal/cloudplugin/mock_cloudproto1/generate.go index 073cf4f02d..c47f85512f 100644 --- a/internal/cloudplugin/mock_cloudproto1/generate.go +++ b/internal/cloudplugin/mock_cloudproto1/generate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:generate go run github.com/golang/mock/mockgen -destination mock.go github.com/opentofu/opentofu/internal/cloudplugin/cloudproto1 CommandServiceClient,CommandService_ExecuteClient diff --git a/internal/command/alias.go b/internal/command/alias.go index b1a4513bf1..a7283da839 100644 --- a/internal/command/alias.go +++ b/internal/command/alias.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/command/apply.go b/internal/command/apply.go index dde73d01db..118f7608c3 100644 --- a/internal/command/apply.go +++ b/internal/command/apply.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/apply_destroy_test.go b/internal/command/apply_destroy_test.go index aec4a72c34..be25dc64d6 100644 --- a/internal/command/apply_destroy_test.go +++ b/internal/command/apply_destroy_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/apply_test.go b/internal/command/apply_test.go index 1c06c3a956..ba0d2acaea 100644 --- a/internal/command/apply_test.go +++ b/internal/command/apply_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/arguments/apply.go b/internal/command/arguments/apply.go index 922260fc6e..db040b9a71 100644 --- a/internal/command/arguments/apply.go +++ b/internal/command/arguments/apply.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/apply_test.go b/internal/command/arguments/apply_test.go index 26e7b8e2dc..01e7c5315c 100644 --- a/internal/command/arguments/apply_test.go +++ b/internal/command/arguments/apply_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/default.go b/internal/command/arguments/default.go index d34ac9e6bc..888b703527 100644 --- a/internal/command/arguments/default.go +++ b/internal/command/arguments/default.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/extended.go b/internal/command/arguments/extended.go index 8d9b67c7d0..58a41e2b7b 100644 --- a/internal/command/arguments/extended.go +++ b/internal/command/arguments/extended.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/flags.go b/internal/command/arguments/flags.go index 442037b47b..88395f8f56 100644 --- a/internal/command/arguments/flags.go +++ b/internal/command/arguments/flags.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/output.go b/internal/command/arguments/output.go index cf5de0a88b..0309752b61 100644 --- a/internal/command/arguments/output.go +++ b/internal/command/arguments/output.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/output_test.go b/internal/command/arguments/output_test.go index cc1fd9dabb..470083ea08 100644 --- a/internal/command/arguments/output_test.go +++ b/internal/command/arguments/output_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/plan.go b/internal/command/arguments/plan.go index d5c1215446..23f23e2df4 100644 --- a/internal/command/arguments/plan.go +++ b/internal/command/arguments/plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/plan_test.go b/internal/command/arguments/plan_test.go index 39c964d15c..25af0ad871 100644 --- a/internal/command/arguments/plan_test.go +++ b/internal/command/arguments/plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/refresh.go b/internal/command/arguments/refresh.go index 05db84968e..586fe5e627 100644 --- a/internal/command/arguments/refresh.go +++ b/internal/command/arguments/refresh.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/refresh_test.go b/internal/command/arguments/refresh_test.go index 07561d9e7a..74b61e835f 100644 --- a/internal/command/arguments/refresh_test.go +++ b/internal/command/arguments/refresh_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/show.go b/internal/command/arguments/show.go index dea32f3104..e44745cafa 100644 --- a/internal/command/arguments/show.go +++ b/internal/command/arguments/show.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/show_test.go b/internal/command/arguments/show_test.go index 34c8361adb..49a0827fa5 100644 --- a/internal/command/arguments/show_test.go +++ b/internal/command/arguments/show_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/test.go b/internal/command/arguments/test.go index 846861c868..cf72297f79 100644 --- a/internal/command/arguments/test.go +++ b/internal/command/arguments/test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package arguments import ( diff --git a/internal/command/arguments/test_test.go b/internal/command/arguments/test_test.go index 87e48ed4b1..93a0a6a52d 100644 --- a/internal/command/arguments/test_test.go +++ b/internal/command/arguments/test_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package arguments import ( diff --git a/internal/command/arguments/types.go b/internal/command/arguments/types.go index 183a1234d9..ddaca6b1e6 100644 --- a/internal/command/arguments/types.go +++ b/internal/command/arguments/types.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/validate.go b/internal/command/arguments/validate.go index 0138859be1..49d00ce692 100644 --- a/internal/command/arguments/validate.go +++ b/internal/command/arguments/validate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/validate_test.go b/internal/command/arguments/validate_test.go index c53773ae79..e016100fd5 100644 --- a/internal/command/arguments/validate_test.go +++ b/internal/command/arguments/validate_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/view.go b/internal/command/arguments/view.go index 2eee63ecb9..37dbc15422 100644 --- a/internal/command/arguments/view.go +++ b/internal/command/arguments/view.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/arguments/view_test.go b/internal/command/arguments/view_test.go index 0a33bac756..ff2ea872e8 100644 --- a/internal/command/arguments/view_test.go +++ b/internal/command/arguments/view_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package arguments diff --git a/internal/command/autocomplete.go b/internal/command/autocomplete.go index b880bf0849..e2f7e46de9 100644 --- a/internal/command/autocomplete.go +++ b/internal/command/autocomplete.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/autocomplete_test.go b/internal/command/autocomplete_test.go index 5ae06ef6ed..2bb1f945dc 100644 --- a/internal/command/autocomplete_test.go +++ b/internal/command/autocomplete_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/cli_ui.go b/internal/command/cli_ui.go index 6e0cc20bc0..2323adfb6f 100644 --- a/internal/command/cli_ui.go +++ b/internal/command/cli_ui.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/cli_ui_test.go b/internal/command/cli_ui_test.go index 7a3ee8434e..240ee22088 100644 --- a/internal/command/cli_ui_test.go +++ b/internal/command/cli_ui_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/cliconfig/cliconfig.go b/internal/command/cliconfig/cliconfig.go index ee7af5609d..4f4e32f59b 100644 --- a/internal/command/cliconfig/cliconfig.go +++ b/internal/command/cliconfig/cliconfig.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package cliconfig has the types representing and the logic to load CLI-level diff --git a/internal/command/cliconfig/cliconfig_test.go b/internal/command/cliconfig/cliconfig_test.go index fed9b8b128..4de827ab80 100644 --- a/internal/command/cliconfig/cliconfig_test.go +++ b/internal/command/cliconfig/cliconfig_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cliconfig diff --git a/internal/command/cliconfig/config_unix.go b/internal/command/cliconfig/config_unix.go index c7a7d1aef7..d68d288209 100644 --- a/internal/command/cliconfig/config_unix.go +++ b/internal/command/cliconfig/config_unix.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build !windows diff --git a/internal/command/cliconfig/config_unix_test.go b/internal/command/cliconfig/config_unix_test.go index b8b476a2d0..4f76c133cb 100644 --- a/internal/command/cliconfig/config_unix_test.go +++ b/internal/command/cliconfig/config_unix_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build !windows diff --git a/internal/command/cliconfig/config_windows.go b/internal/command/cliconfig/config_windows.go index 70fdc6e255..2a62f48bd9 100644 --- a/internal/command/cliconfig/config_windows.go +++ b/internal/command/cliconfig/config_windows.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build windows diff --git a/internal/command/cliconfig/credentials.go b/internal/command/cliconfig/credentials.go index f86fc4d124..0fe77a075a 100644 --- a/internal/command/cliconfig/credentials.go +++ b/internal/command/cliconfig/credentials.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cliconfig diff --git a/internal/command/cliconfig/credentials_test.go b/internal/command/cliconfig/credentials_test.go index aa286cad96..00323b6038 100644 --- a/internal/command/cliconfig/credentials_test.go +++ b/internal/command/cliconfig/credentials_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cliconfig diff --git a/internal/command/cliconfig/provider_installation.go b/internal/command/cliconfig/provider_installation.go index a8fb235f90..bf6dfc1b46 100644 --- a/internal/command/cliconfig/provider_installation.go +++ b/internal/command/cliconfig/provider_installation.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cliconfig diff --git a/internal/command/cliconfig/provider_installation_test.go b/internal/command/cliconfig/provider_installation_test.go index 0ff851f6f9..52cd927971 100644 --- a/internal/command/cliconfig/provider_installation_test.go +++ b/internal/command/cliconfig/provider_installation_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package cliconfig diff --git a/internal/command/cliconfig/util.go b/internal/command/cliconfig/util.go index 8d6c9212b6..2bc08e6602 100644 --- a/internal/command/cliconfig/util.go +++ b/internal/command/cliconfig/util.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cliconfig import "os" diff --git a/internal/command/clistate/local_state.go b/internal/command/clistate/local_state.go index 8c1267fc54..5b2fbff86a 100644 --- a/internal/command/clistate/local_state.go +++ b/internal/command/clistate/local_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package clistate diff --git a/internal/command/clistate/local_state_lock_unix.go b/internal/command/clistate/local_state_lock_unix.go index 4d74bc2dc9..97f27ecc67 100644 --- a/internal/command/clistate/local_state_lock_unix.go +++ b/internal/command/clistate/local_state_lock_unix.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build !windows diff --git a/internal/command/clistate/local_state_lock_windows.go b/internal/command/clistate/local_state_lock_windows.go index d36980bc46..0de35e1fe7 100644 --- a/internal/command/clistate/local_state_lock_windows.go +++ b/internal/command/clistate/local_state_lock_windows.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build windows diff --git a/internal/command/clistate/state.go b/internal/command/clistate/state.go index 9e53b0db90..979d6cb029 100644 --- a/internal/command/clistate/state.go +++ b/internal/command/clistate/state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package state exposes common helpers for working with state from the CLI. diff --git a/internal/command/clistate/state_test.go b/internal/command/clistate/state_test.go index 3943db51cd..84f1d88d49 100644 --- a/internal/command/clistate/state_test.go +++ b/internal/command/clistate/state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package clistate diff --git a/internal/command/cloud.go b/internal/command/cloud.go index a3592f2974..a7bcefcd4b 100644 --- a/internal/command/cloud.go +++ b/internal/command/cloud.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/command/command.go b/internal/command/command.go index 0649a5b4e6..927fd42a1d 100644 --- a/internal/command/command.go +++ b/internal/command/command.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/command_test.go b/internal/command/command_test.go index 52fc55c8a5..4707370da7 100644 --- a/internal/command/command_test.go +++ b/internal/command/command_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/console.go b/internal/command/console.go index 5e7e44213c..2153fd3341 100644 --- a/internal/command/console.go +++ b/internal/command/console.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/console_interactive.go b/internal/command/console_interactive.go index 08877f7fce..847d876df8 100644 --- a/internal/command/console_interactive.go +++ b/internal/command/console_interactive.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/console_test.go b/internal/command/console_test.go index c7a675215a..9fd0cc204b 100644 --- a/internal/command/console_test.go +++ b/internal/command/console_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/e2etest/automation_test.go b/internal/command/e2etest/automation_test.go index 2373817fa6..ed1f63feff 100644 --- a/internal/command/e2etest/automation_test.go +++ b/internal/command/e2etest/automation_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/doc.go b/internal/command/e2etest/doc.go index b012e14345..eeae051a99 100644 --- a/internal/command/e2etest/doc.go +++ b/internal/command/e2etest/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package e2etest contains a set of tests that run against a real OpenTofu diff --git a/internal/command/e2etest/init_test.go b/internal/command/e2etest/init_test.go index 0efc5aaaa6..4924aceff0 100644 --- a/internal/command/e2etest/init_test.go +++ b/internal/command/e2etest/init_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/main_test.go b/internal/command/e2etest/main_test.go index 0038a621a3..5d73c6e551 100644 --- a/internal/command/e2etest/main_test.go +++ b/internal/command/e2etest/main_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/make-archive.sh b/internal/command/e2etest/make-archive.sh index d3f18d1a31..d0bf603f1c 100755 --- a/internal/command/e2etest/make-archive.sh +++ b/internal/command/e2etest/make-archive.sh @@ -1,5 +1,7 @@ #!/bin/bash -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 diff --git a/internal/command/e2etest/module_archive_test.go b/internal/command/e2etest/module_archive_test.go index 8c2b5ff984..0a2feb3ab6 100644 --- a/internal/command/e2etest/module_archive_test.go +++ b/internal/command/e2etest/module_archive_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/primary_test.go b/internal/command/e2etest/primary_test.go index 7e8740b4db..c4f0c8a3ad 100644 --- a/internal/command/e2etest/primary_test.go +++ b/internal/command/e2etest/primary_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/provider_dev_test.go b/internal/command/e2etest/provider_dev_test.go index f7f74d100b..97a3e54d7b 100644 --- a/internal/command/e2etest/provider_dev_test.go +++ b/internal/command/e2etest/provider_dev_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/provider_plugin_test.go b/internal/command/e2etest/provider_plugin_test.go index 00e8f7f96b..58638b1685 100644 --- a/internal/command/e2etest/provider_plugin_test.go +++ b/internal/command/e2etest/provider_plugin_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/providers_mirror_test.go b/internal/command/e2etest/providers_mirror_test.go index 80dfcd3f09..af30543ac1 100644 --- a/internal/command/e2etest/providers_mirror_test.go +++ b/internal/command/e2etest/providers_mirror_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/providers_tamper_test.go b/internal/command/e2etest/providers_tamper_test.go index 0058cc087c..6558700076 100644 --- a/internal/command/e2etest/providers_tamper_test.go +++ b/internal/command/e2etest/providers_tamper_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/provisioner_plugin_test.go b/internal/command/e2etest/provisioner_plugin_test.go index b44fc4b9da..a866a12ed9 100644 --- a/internal/command/e2etest/provisioner_plugin_test.go +++ b/internal/command/e2etest/provisioner_plugin_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/provisioner_test.go b/internal/command/e2etest/provisioner_test.go index 87cfb11418..482ac939c7 100644 --- a/internal/command/e2etest/provisioner_test.go +++ b/internal/command/e2etest/provisioner_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/remote_state_test.go b/internal/command/e2etest/remote_state_test.go index 87a69e28a2..534ead992f 100644 --- a/internal/command/e2etest/remote_state_test.go +++ b/internal/command/e2etest/remote_state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/strip_ansi.go b/internal/command/e2etest/strip_ansi.go index 1d92fe6d1c..0d273478eb 100644 --- a/internal/command/e2etest/strip_ansi.go +++ b/internal/command/e2etest/strip_ansi.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/test_test.go b/internal/command/e2etest/test_test.go index 13180c0387..324ee48aa8 100644 --- a/internal/command/e2etest/test_test.go +++ b/internal/command/e2etest/test_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package e2etest import ( diff --git a/internal/command/e2etest/tf_provider_data_test.go b/internal/command/e2etest/tf_provider_data_test.go index 7be1bf1070..9b9663b982 100644 --- a/internal/command/e2etest/tf_provider_data_test.go +++ b/internal/command/e2etest/tf_provider_data_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/unmanaged_test.go b/internal/command/e2etest/unmanaged_test.go index 0867dfdb56..aca924754f 100644 --- a/internal/command/e2etest/unmanaged_test.go +++ b/internal/command/e2etest/unmanaged_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/e2etest/version_test.go b/internal/command/e2etest/version_test.go index 3ef51d8427..b70b0b63d4 100644 --- a/internal/command/e2etest/version_test.go +++ b/internal/command/e2etest/version_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2etest diff --git a/internal/command/flag_kv.go b/internal/command/flag_kv.go index d788f19a84..f743cbc9e1 100644 --- a/internal/command/flag_kv.go +++ b/internal/command/flag_kv.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/flag_kv_test.go b/internal/command/flag_kv_test.go index 15dac0c748..fd038470d5 100644 --- a/internal/command/flag_kv_test.go +++ b/internal/command/flag_kv_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/fmt.go b/internal/command/fmt.go index a53d7bb62a..3dd916826f 100644 --- a/internal/command/fmt.go +++ b/internal/command/fmt.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/fmt_test.go b/internal/command/fmt_test.go index 46a2ce2080..713040500e 100644 --- a/internal/command/fmt_test.go +++ b/internal/command/fmt_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/format/diagnostic.go b/internal/command/format/diagnostic.go index be38d4da79..4de9a315f7 100644 --- a/internal/command/format/diagnostic.go +++ b/internal/command/format/diagnostic.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package format diff --git a/internal/command/format/diagnostic_test.go b/internal/command/format/diagnostic_test.go index 106333ffeb..4316145ed7 100644 --- a/internal/command/format/diagnostic_test.go +++ b/internal/command/format/diagnostic_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package format diff --git a/internal/command/format/format.go b/internal/command/format/format.go index 13f4737b4d..aaa3917c73 100644 --- a/internal/command/format/format.go +++ b/internal/command/format/format.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package format contains helpers for formatting various OpenTofu diff --git a/internal/command/format/object_id.go b/internal/command/format/object_id.go index a18bbd044a..e88ae837cf 100644 --- a/internal/command/format/object_id.go +++ b/internal/command/format/object_id.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package format diff --git a/internal/command/format/object_id_test.go b/internal/command/format/object_id_test.go index 7d6f792844..8e3d80ad27 100644 --- a/internal/command/format/object_id_test.go +++ b/internal/command/format/object_id_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package format diff --git a/internal/command/format/trivia.go b/internal/command/format/trivia.go index fad9140473..4d3711401b 100644 --- a/internal/command/format/trivia.go +++ b/internal/command/format/trivia.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package format diff --git a/internal/command/get.go b/internal/command/get.go index 9bcc132202..a3a0ce2cad 100644 --- a/internal/command/get.go +++ b/internal/command/get.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/get_test.go b/internal/command/get_test.go index d8d1c6b67b..2aca46afab 100644 --- a/internal/command/get_test.go +++ b/internal/command/get_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/graph.go b/internal/command/graph.go index 3c15c48b77..eb9617a927 100644 --- a/internal/command/graph.go +++ b/internal/command/graph.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/graph_test.go b/internal/command/graph_test.go index 8a9cb107b0..6fe38012bf 100644 --- a/internal/command/graph_test.go +++ b/internal/command/graph_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/helper.go b/internal/command/helper.go index 424d5c87f3..0dce01cac1 100644 --- a/internal/command/helper.go +++ b/internal/command/helper.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/hook_module_install.go b/internal/command/hook_module_install.go index bb278499e0..cfcf3966d3 100644 --- a/internal/command/hook_module_install.go +++ b/internal/command/hook_module_install.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/import.go b/internal/command/import.go index ac44d31b2f..625c28ba6c 100644 --- a/internal/command/import.go +++ b/internal/command/import.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/import_test.go b/internal/command/import_test.go index 748c72e928..ed08f83033 100644 --- a/internal/command/import_test.go +++ b/internal/command/import_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/init.go b/internal/command/init.go index e5225615fc..5b1f568444 100644 --- a/internal/command/init.go +++ b/internal/command/init.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/init_test.go b/internal/command/init_test.go index 15e2e04c4e..720106f4a4 100644 --- a/internal/command/init_test.go +++ b/internal/command/init_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/command/jsonchecks/checks.go b/internal/command/jsonchecks/checks.go index 3b3f48dd8d..e5439d6663 100644 --- a/internal/command/jsonchecks/checks.go +++ b/internal/command/jsonchecks/checks.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonchecks diff --git a/internal/command/jsonchecks/checks_test.go b/internal/command/jsonchecks/checks_test.go index de323f8623..1f23348dbe 100644 --- a/internal/command/jsonchecks/checks_test.go +++ b/internal/command/jsonchecks/checks_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonchecks diff --git a/internal/command/jsonchecks/doc.go b/internal/command/jsonchecks/doc.go index adee52a79d..3f7b68b985 100644 --- a/internal/command/jsonchecks/doc.go +++ b/internal/command/jsonchecks/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package jsonchecks implements the common JSON representation of check diff --git a/internal/command/jsonchecks/objects.go b/internal/command/jsonchecks/objects.go index a0cf862003..fee778ae9a 100644 --- a/internal/command/jsonchecks/objects.go +++ b/internal/command/jsonchecks/objects.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonchecks diff --git a/internal/command/jsonchecks/status.go b/internal/command/jsonchecks/status.go index d89f823f20..60048ad40c 100644 --- a/internal/command/jsonchecks/status.go +++ b/internal/command/jsonchecks/status.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonchecks diff --git a/internal/command/jsonconfig/config.go b/internal/command/jsonconfig/config.go index ac4ffdf366..dfb468be76 100644 --- a/internal/command/jsonconfig/config.go +++ b/internal/command/jsonconfig/config.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonconfig diff --git a/internal/command/jsonconfig/config_test.go b/internal/command/jsonconfig/config_test.go index a018636638..0ef548a45b 100644 --- a/internal/command/jsonconfig/config_test.go +++ b/internal/command/jsonconfig/config_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonconfig diff --git a/internal/command/jsonconfig/doc.go b/internal/command/jsonconfig/doc.go index 1b9d33a2e5..7482b642ef 100644 --- a/internal/command/jsonconfig/doc.go +++ b/internal/command/jsonconfig/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package jsonconfig implements methods for outputting a configuration snapshot diff --git a/internal/command/jsonconfig/expression.go b/internal/command/jsonconfig/expression.go index 758473cafb..0fed1a608b 100644 --- a/internal/command/jsonconfig/expression.go +++ b/internal/command/jsonconfig/expression.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonconfig diff --git a/internal/command/jsonconfig/expression_test.go b/internal/command/jsonconfig/expression_test.go index bc780ba42f..d4faa8422a 100644 --- a/internal/command/jsonconfig/expression_test.go +++ b/internal/command/jsonconfig/expression_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonconfig diff --git a/internal/command/jsonformat/collections/action.go b/internal/command/jsonformat/collections/action.go index f4fa120f14..a0c2f08a71 100644 --- a/internal/command/jsonformat/collections/action.go +++ b/internal/command/jsonformat/collections/action.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package collections diff --git a/internal/command/jsonformat/collections/map.go b/internal/command/jsonformat/collections/map.go index 3b16c7e1e3..185583306b 100644 --- a/internal/command/jsonformat/collections/map.go +++ b/internal/command/jsonformat/collections/map.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package collections diff --git a/internal/command/jsonformat/collections/slice.go b/internal/command/jsonformat/collections/slice.go index 5d10a9dc69..b27142567d 100644 --- a/internal/command/jsonformat/collections/slice.go +++ b/internal/command/jsonformat/collections/slice.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package collections diff --git a/internal/command/jsonformat/computed/diff.go b/internal/command/jsonformat/computed/diff.go index c5857c66ec..2616c618fc 100644 --- a/internal/command/jsonformat/computed/diff.go +++ b/internal/command/jsonformat/computed/diff.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package computed diff --git a/internal/command/jsonformat/computed/doc.go b/internal/command/jsonformat/computed/doc.go index 9eba5ff7a5..aa94706bd8 100644 --- a/internal/command/jsonformat/computed/doc.go +++ b/internal/command/jsonformat/computed/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package computed contains types that represent the computed diffs for diff --git a/internal/command/jsonformat/computed/renderers/block.go b/internal/command/jsonformat/computed/renderers/block.go index 18af2f9de6..519614480a 100644 --- a/internal/command/jsonformat/computed/renderers/block.go +++ b/internal/command/jsonformat/computed/renderers/block.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/blocks.go b/internal/command/jsonformat/computed/renderers/blocks.go index 08d06a5469..a73bb6ac2c 100644 --- a/internal/command/jsonformat/computed/renderers/blocks.go +++ b/internal/command/jsonformat/computed/renderers/blocks.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/json.go b/internal/command/jsonformat/computed/renderers/json.go index 0a833af194..54dee48c97 100644 --- a/internal/command/jsonformat/computed/renderers/json.go +++ b/internal/command/jsonformat/computed/renderers/json.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/list.go b/internal/command/jsonformat/computed/renderers/list.go index 5ac14a8740..55bb21f6a6 100644 --- a/internal/command/jsonformat/computed/renderers/list.go +++ b/internal/command/jsonformat/computed/renderers/list.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/map.go b/internal/command/jsonformat/computed/renderers/map.go index fef1fe0431..2c409b5ff1 100644 --- a/internal/command/jsonformat/computed/renderers/map.go +++ b/internal/command/jsonformat/computed/renderers/map.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/object.go b/internal/command/jsonformat/computed/renderers/object.go index a6865c8eef..471830571a 100644 --- a/internal/command/jsonformat/computed/renderers/object.go +++ b/internal/command/jsonformat/computed/renderers/object.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/primitive.go b/internal/command/jsonformat/computed/renderers/primitive.go index f4b24cc27a..f7e4d9f97b 100644 --- a/internal/command/jsonformat/computed/renderers/primitive.go +++ b/internal/command/jsonformat/computed/renderers/primitive.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/renderer_test.go b/internal/command/jsonformat/computed/renderers/renderer_test.go index 7757c31859..c5487b3365 100644 --- a/internal/command/jsonformat/computed/renderers/renderer_test.go +++ b/internal/command/jsonformat/computed/renderers/renderer_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/sensitive.go b/internal/command/jsonformat/computed/renderers/sensitive.go index 23ece76e34..442ea3df9c 100644 --- a/internal/command/jsonformat/computed/renderers/sensitive.go +++ b/internal/command/jsonformat/computed/renderers/sensitive.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/sensitive_block.go b/internal/command/jsonformat/computed/renderers/sensitive_block.go index 7eb3d68900..7a23bae0fa 100644 --- a/internal/command/jsonformat/computed/renderers/sensitive_block.go +++ b/internal/command/jsonformat/computed/renderers/sensitive_block.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/set.go b/internal/command/jsonformat/computed/renderers/set.go index 836fb2313a..d438362923 100644 --- a/internal/command/jsonformat/computed/renderers/set.go +++ b/internal/command/jsonformat/computed/renderers/set.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/string.go b/internal/command/jsonformat/computed/renderers/string.go index 5751c39c25..ead66a3828 100644 --- a/internal/command/jsonformat/computed/renderers/string.go +++ b/internal/command/jsonformat/computed/renderers/string.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/testing.go b/internal/command/jsonformat/computed/renderers/testing.go index 31a21195af..73a6ff7a54 100644 --- a/internal/command/jsonformat/computed/renderers/testing.go +++ b/internal/command/jsonformat/computed/renderers/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/type_change.go b/internal/command/jsonformat/computed/renderers/type_change.go index 6441d910e2..e9f4d37923 100644 --- a/internal/command/jsonformat/computed/renderers/type_change.go +++ b/internal/command/jsonformat/computed/renderers/type_change.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/unknown.go b/internal/command/jsonformat/computed/renderers/unknown.go index a5370beff0..a048b9bd1c 100644 --- a/internal/command/jsonformat/computed/renderers/unknown.go +++ b/internal/command/jsonformat/computed/renderers/unknown.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/computed/renderers/util.go b/internal/command/jsonformat/computed/renderers/util.go index 4843fb1a90..5398234306 100644 --- a/internal/command/jsonformat/computed/renderers/util.go +++ b/internal/command/jsonformat/computed/renderers/util.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package renderers diff --git a/internal/command/jsonformat/diff.go b/internal/command/jsonformat/diff.go index f4db34093b..80bb440010 100644 --- a/internal/command/jsonformat/diff.go +++ b/internal/command/jsonformat/diff.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonformat diff --git a/internal/command/jsonformat/differ/attribute.go b/internal/command/jsonformat/differ/attribute.go index 69425b32d0..7196dd3e0d 100644 --- a/internal/command/jsonformat/differ/attribute.go +++ b/internal/command/jsonformat/differ/attribute.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/block.go b/internal/command/jsonformat/differ/block.go index b74ee35851..5a2b4a040c 100644 --- a/internal/command/jsonformat/differ/block.go +++ b/internal/command/jsonformat/differ/block.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/differ.go b/internal/command/jsonformat/differ/differ.go index e8ab73b46b..5c79d69b1a 100644 --- a/internal/command/jsonformat/differ/differ.go +++ b/internal/command/jsonformat/differ/differ.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/differ_test.go b/internal/command/jsonformat/differ/differ_test.go index 0ef3e4901d..2fef1d773a 100644 --- a/internal/command/jsonformat/differ/differ_test.go +++ b/internal/command/jsonformat/differ/differ_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/list.go b/internal/command/jsonformat/differ/list.go index bb02b8407e..3b5d68d780 100644 --- a/internal/command/jsonformat/differ/list.go +++ b/internal/command/jsonformat/differ/list.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/map.go b/internal/command/jsonformat/differ/map.go index 9323c565db..529d79e289 100644 --- a/internal/command/jsonformat/differ/map.go +++ b/internal/command/jsonformat/differ/map.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/object.go b/internal/command/jsonformat/differ/object.go index 4b1931a935..dfb6ccc025 100644 --- a/internal/command/jsonformat/differ/object.go +++ b/internal/command/jsonformat/differ/object.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/output.go b/internal/command/jsonformat/differ/output.go index f693608d77..166da314a8 100644 --- a/internal/command/jsonformat/differ/output.go +++ b/internal/command/jsonformat/differ/output.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/primitive.go b/internal/command/jsonformat/differ/primitive.go index ca5e77f8e5..61b2d09f0b 100644 --- a/internal/command/jsonformat/differ/primitive.go +++ b/internal/command/jsonformat/differ/primitive.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/sensitive.go b/internal/command/jsonformat/differ/sensitive.go index 87d94af1af..d2f9abf56a 100644 --- a/internal/command/jsonformat/differ/sensitive.go +++ b/internal/command/jsonformat/differ/sensitive.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/set.go b/internal/command/jsonformat/differ/set.go index 617634061c..444554e2fd 100644 --- a/internal/command/jsonformat/differ/set.go +++ b/internal/command/jsonformat/differ/set.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/tuple.go b/internal/command/jsonformat/differ/tuple.go index c717c69015..47d7d969ab 100644 --- a/internal/command/jsonformat/differ/tuple.go +++ b/internal/command/jsonformat/differ/tuple.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/types.go b/internal/command/jsonformat/differ/types.go index aaed20e0f9..9fa8413870 100644 --- a/internal/command/jsonformat/differ/types.go +++ b/internal/command/jsonformat/differ/types.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/differ/unknown.go b/internal/command/jsonformat/differ/unknown.go index 312bf9f07a..113c120b9c 100644 --- a/internal/command/jsonformat/differ/unknown.go +++ b/internal/command/jsonformat/differ/unknown.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package differ diff --git a/internal/command/jsonformat/jsondiff/diff.go b/internal/command/jsonformat/jsondiff/diff.go index b4d62a6379..de13197b86 100644 --- a/internal/command/jsonformat/jsondiff/diff.go +++ b/internal/command/jsonformat/jsondiff/diff.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsondiff diff --git a/internal/command/jsonformat/jsondiff/types.go b/internal/command/jsonformat/jsondiff/types.go index eaa8c1b529..9734283250 100644 --- a/internal/command/jsonformat/jsondiff/types.go +++ b/internal/command/jsonformat/jsondiff/types.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsondiff diff --git a/internal/command/jsonformat/plan.go b/internal/command/jsonformat/plan.go index 2606ea56f9..b26cebce79 100644 --- a/internal/command/jsonformat/plan.go +++ b/internal/command/jsonformat/plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonformat diff --git a/internal/command/jsonformat/plan_test.go b/internal/command/jsonformat/plan_test.go index 07c5247ef4..8e08d3acbc 100644 --- a/internal/command/jsonformat/plan_test.go +++ b/internal/command/jsonformat/plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonformat diff --git a/internal/command/jsonformat/renderer.go b/internal/command/jsonformat/renderer.go index 426f1c73a1..ea0bf0c494 100644 --- a/internal/command/jsonformat/renderer.go +++ b/internal/command/jsonformat/renderer.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonformat diff --git a/internal/command/jsonformat/renderer_test.go b/internal/command/jsonformat/renderer_test.go index f23cebd490..943c387ad4 100644 --- a/internal/command/jsonformat/renderer_test.go +++ b/internal/command/jsonformat/renderer_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonformat diff --git a/internal/command/jsonformat/state.go b/internal/command/jsonformat/state.go index 3ea743634c..af6da0f007 100644 --- a/internal/command/jsonformat/state.go +++ b/internal/command/jsonformat/state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonformat diff --git a/internal/command/jsonformat/state_test.go b/internal/command/jsonformat/state_test.go index aafba89085..1708be00a3 100644 --- a/internal/command/jsonformat/state_test.go +++ b/internal/command/jsonformat/state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonformat diff --git a/internal/command/jsonformat/structured/attribute_path/matcher.go b/internal/command/jsonformat/structured/attribute_path/matcher.go index 1c905213d6..90393556f4 100644 --- a/internal/command/jsonformat/structured/attribute_path/matcher.go +++ b/internal/command/jsonformat/structured/attribute_path/matcher.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package attribute_path diff --git a/internal/command/jsonformat/structured/attribute_path/matcher_test.go b/internal/command/jsonformat/structured/attribute_path/matcher_test.go index a893aaee45..c2305efbd3 100644 --- a/internal/command/jsonformat/structured/attribute_path/matcher_test.go +++ b/internal/command/jsonformat/structured/attribute_path/matcher_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package attribute_path diff --git a/internal/command/jsonformat/structured/change.go b/internal/command/jsonformat/structured/change.go index 3277b106ec..2e49718939 100644 --- a/internal/command/jsonformat/structured/change.go +++ b/internal/command/jsonformat/structured/change.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package structured diff --git a/internal/command/jsonformat/structured/doc.go b/internal/command/jsonformat/structured/doc.go index 2270d0e350..36830c0e46 100644 --- a/internal/command/jsonformat/structured/doc.go +++ b/internal/command/jsonformat/structured/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package structured contains the structured representation of the JSON changes diff --git a/internal/command/jsonformat/structured/map.go b/internal/command/jsonformat/structured/map.go index d39d5c1499..8a46af6488 100644 --- a/internal/command/jsonformat/structured/map.go +++ b/internal/command/jsonformat/structured/map.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package structured diff --git a/internal/command/jsonformat/structured/sensitive.go b/internal/command/jsonformat/structured/sensitive.go index c15e22b35a..fafa6ec471 100644 --- a/internal/command/jsonformat/structured/sensitive.go +++ b/internal/command/jsonformat/structured/sensitive.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package structured diff --git a/internal/command/jsonformat/structured/slice.go b/internal/command/jsonformat/structured/slice.go index 887813489c..9deca635f5 100644 --- a/internal/command/jsonformat/structured/slice.go +++ b/internal/command/jsonformat/structured/slice.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package structured diff --git a/internal/command/jsonformat/structured/unknown.go b/internal/command/jsonformat/structured/unknown.go index 294c2abc5e..18e747cd14 100644 --- a/internal/command/jsonformat/structured/unknown.go +++ b/internal/command/jsonformat/structured/unknown.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package structured diff --git a/internal/command/jsonfunction/function.go b/internal/command/jsonfunction/function.go index f72bad171c..0251952c8a 100644 --- a/internal/command/jsonfunction/function.go +++ b/internal/command/jsonfunction/function.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonfunction diff --git a/internal/command/jsonfunction/function_test.go b/internal/command/jsonfunction/function_test.go index 818293bdb0..7030c82d42 100644 --- a/internal/command/jsonfunction/function_test.go +++ b/internal/command/jsonfunction/function_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonfunction diff --git a/internal/command/jsonfunction/parameter.go b/internal/command/jsonfunction/parameter.go index ac90797296..fc0cd8b7e1 100644 --- a/internal/command/jsonfunction/parameter.go +++ b/internal/command/jsonfunction/parameter.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonfunction diff --git a/internal/command/jsonfunction/parameter_test.go b/internal/command/jsonfunction/parameter_test.go index 1afef3c5ef..ed212ecb81 100644 --- a/internal/command/jsonfunction/parameter_test.go +++ b/internal/command/jsonfunction/parameter_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonfunction diff --git a/internal/command/jsonfunction/return_type.go b/internal/command/jsonfunction/return_type.go index d6889c30ff..476b2bfe8b 100644 --- a/internal/command/jsonfunction/return_type.go +++ b/internal/command/jsonfunction/return_type.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonfunction diff --git a/internal/command/jsonplan/doc.go b/internal/command/jsonplan/doc.go index e005b603dd..06934a89d4 100644 --- a/internal/command/jsonplan/doc.go +++ b/internal/command/jsonplan/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package jsonplan implements methods for outputting a plan in a diff --git a/internal/command/jsonplan/module.go b/internal/command/jsonplan/module.go index 73f7931f38..e73440c56e 100644 --- a/internal/command/jsonplan/module.go +++ b/internal/command/jsonplan/module.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonplan diff --git a/internal/command/jsonplan/plan.go b/internal/command/jsonplan/plan.go index 40e1437ee3..51dbfbd058 100644 --- a/internal/command/jsonplan/plan.go +++ b/internal/command/jsonplan/plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonplan diff --git a/internal/command/jsonplan/plan_test.go b/internal/command/jsonplan/plan_test.go index a520eb9fe3..b9c91e49c7 100644 --- a/internal/command/jsonplan/plan_test.go +++ b/internal/command/jsonplan/plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonplan diff --git a/internal/command/jsonplan/resource.go b/internal/command/jsonplan/resource.go index ab698d3079..f38343fc06 100644 --- a/internal/command/jsonplan/resource.go +++ b/internal/command/jsonplan/resource.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonplan diff --git a/internal/command/jsonplan/values.go b/internal/command/jsonplan/values.go index a41f22ab14..69d04ea205 100644 --- a/internal/command/jsonplan/values.go +++ b/internal/command/jsonplan/values.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonplan diff --git a/internal/command/jsonplan/values_test.go b/internal/command/jsonplan/values_test.go index b3615d24e5..cebde725fe 100644 --- a/internal/command/jsonplan/values_test.go +++ b/internal/command/jsonplan/values_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonplan diff --git a/internal/command/jsonprovider/attribute.go b/internal/command/jsonprovider/attribute.go index 6210a3d059..4bf380cda2 100644 --- a/internal/command/jsonprovider/attribute.go +++ b/internal/command/jsonprovider/attribute.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonprovider diff --git a/internal/command/jsonprovider/attribute_test.go b/internal/command/jsonprovider/attribute_test.go index 6d5b455dab..372c80b719 100644 --- a/internal/command/jsonprovider/attribute_test.go +++ b/internal/command/jsonprovider/attribute_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonprovider diff --git a/internal/command/jsonprovider/block.go b/internal/command/jsonprovider/block.go index 31026727a9..c68a4c971f 100644 --- a/internal/command/jsonprovider/block.go +++ b/internal/command/jsonprovider/block.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonprovider diff --git a/internal/command/jsonprovider/block_test.go b/internal/command/jsonprovider/block_test.go index f1eed3a539..071e60052b 100644 --- a/internal/command/jsonprovider/block_test.go +++ b/internal/command/jsonprovider/block_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonprovider diff --git a/internal/command/jsonprovider/doc.go b/internal/command/jsonprovider/doc.go index 88eb70b459..7395147dc0 100644 --- a/internal/command/jsonprovider/doc.go +++ b/internal/command/jsonprovider/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package jsonprovider contains types and functions to marshal OpenTofu diff --git a/internal/command/jsonprovider/provider.go b/internal/command/jsonprovider/provider.go index 6036359a87..dc28d8c129 100644 --- a/internal/command/jsonprovider/provider.go +++ b/internal/command/jsonprovider/provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonprovider diff --git a/internal/command/jsonprovider/provider_test.go b/internal/command/jsonprovider/provider_test.go index 05b6231ac0..5634446ccd 100644 --- a/internal/command/jsonprovider/provider_test.go +++ b/internal/command/jsonprovider/provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonprovider diff --git a/internal/command/jsonprovider/schema.go b/internal/command/jsonprovider/schema.go index 67687589c0..f46e71fdf8 100644 --- a/internal/command/jsonprovider/schema.go +++ b/internal/command/jsonprovider/schema.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonprovider diff --git a/internal/command/jsonprovider/schema_test.go b/internal/command/jsonprovider/schema_test.go index 0953023480..f85ded9394 100644 --- a/internal/command/jsonprovider/schema_test.go +++ b/internal/command/jsonprovider/schema_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonprovider diff --git a/internal/command/jsonstate/doc.go b/internal/command/jsonstate/doc.go index d7382d0c56..c37b441e27 100644 --- a/internal/command/jsonstate/doc.go +++ b/internal/command/jsonstate/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package jsonstate implements methods for outputting a state in a diff --git a/internal/command/jsonstate/state.go b/internal/command/jsonstate/state.go index f8187491b9..f8f0daadce 100644 --- a/internal/command/jsonstate/state.go +++ b/internal/command/jsonstate/state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonstate diff --git a/internal/command/jsonstate/state_test.go b/internal/command/jsonstate/state_test.go index c18cd60b69..62858621da 100644 --- a/internal/command/jsonstate/state_test.go +++ b/internal/command/jsonstate/state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package jsonstate diff --git a/internal/command/login.go b/internal/command/login.go index 9648a926b8..5af5b5a4da 100644 --- a/internal/command/login.go +++ b/internal/command/login.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/login_test.go b/internal/command/login_test.go index 7a76f578c0..8d6225db37 100644 --- a/internal/command/login_test.go +++ b/internal/command/login_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/logout.go b/internal/command/logout.go index 2cb77d6979..132321539c 100644 --- a/internal/command/logout.go +++ b/internal/command/logout.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/logout_test.go b/internal/command/logout_test.go index 06d71d937b..4247a1e2bc 100644 --- a/internal/command/logout_test.go +++ b/internal/command/logout_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/meta.go b/internal/command/meta.go index 51f8e89d2c..808a959192 100644 --- a/internal/command/meta.go +++ b/internal/command/meta.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/meta_backend.go b/internal/command/meta_backend.go index 54ccd79e1e..1bad60d1bb 100644 --- a/internal/command/meta_backend.go +++ b/internal/command/meta_backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/meta_backend_migrate.go b/internal/command/meta_backend_migrate.go index 1433982d21..c6194ad66d 100644 --- a/internal/command/meta_backend_migrate.go +++ b/internal/command/meta_backend_migrate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/meta_backend_migrate_test.go b/internal/command/meta_backend_migrate_test.go index 70c72f1f0c..99b5ccbd86 100644 --- a/internal/command/meta_backend_migrate_test.go +++ b/internal/command/meta_backend_migrate_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/meta_backend_test.go b/internal/command/meta_backend_test.go index a0f63bb06d..c9d45d35b6 100644 --- a/internal/command/meta_backend_test.go +++ b/internal/command/meta_backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/meta_config.go b/internal/command/meta_config.go index 43e9c0bfbf..5989045f37 100644 --- a/internal/command/meta_config.go +++ b/internal/command/meta_config.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/meta_dependencies.go b/internal/command/meta_dependencies.go index dd73da51bf..b687c04178 100644 --- a/internal/command/meta_dependencies.go +++ b/internal/command/meta_dependencies.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/meta_new.go b/internal/command/meta_new.go index c44d400b2f..1c33b3bc49 100644 --- a/internal/command/meta_new.go +++ b/internal/command/meta_new.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/meta_providers.go b/internal/command/meta_providers.go index 96c8bcf4cd..523be55467 100644 --- a/internal/command/meta_providers.go +++ b/internal/command/meta_providers.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/meta_test.go b/internal/command/meta_test.go index 4f8a1d950f..e8aa4ed971 100644 --- a/internal/command/meta_test.go +++ b/internal/command/meta_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/meta_vars.go b/internal/command/meta_vars.go index 0d7bc70f41..0749ac4bc8 100644 --- a/internal/command/meta_vars.go +++ b/internal/command/meta_vars.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/metadata_command.go b/internal/command/metadata_command.go index 28cfa14214..9a35e7dd94 100644 --- a/internal/command/metadata_command.go +++ b/internal/command/metadata_command.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/metadata_functions.go b/internal/command/metadata_functions.go index 374cbe4b58..08d775bad7 100644 --- a/internal/command/metadata_functions.go +++ b/internal/command/metadata_functions.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/metadata_functions_test.go b/internal/command/metadata_functions_test.go index 0c41dc31a9..1437bd563d 100644 --- a/internal/command/metadata_functions_test.go +++ b/internal/command/metadata_functions_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/output.go b/internal/command/output.go index 11e72b25e3..b4c51bdac7 100644 --- a/internal/command/output.go +++ b/internal/command/output.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/output_test.go b/internal/command/output_test.go index 47199206f5..ca98aef636 100644 --- a/internal/command/output_test.go +++ b/internal/command/output_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/plan.go b/internal/command/plan.go index 5e31097143..64f11bf4aa 100644 --- a/internal/command/plan.go +++ b/internal/command/plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/plan_test.go b/internal/command/plan_test.go index b96523a03a..9e9f678bb9 100644 --- a/internal/command/plan_test.go +++ b/internal/command/plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/plugins.go b/internal/command/plugins.go index 09c0710691..b9f2ba0a6b 100644 --- a/internal/command/plugins.go +++ b/internal/command/plugins.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/plugins_test.go b/internal/command/plugins_test.go index ff1a2e9b09..da8ffe3aa9 100644 --- a/internal/command/plugins_test.go +++ b/internal/command/plugins_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/providers.go b/internal/command/providers.go index ea39bf8e0a..da1e3f9306 100644 --- a/internal/command/providers.go +++ b/internal/command/providers.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/providers_lock.go b/internal/command/providers_lock.go index 2b991da570..b6bc75f509 100644 --- a/internal/command/providers_lock.go +++ b/internal/command/providers_lock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/providers_lock_test.go b/internal/command/providers_lock_test.go index b1a9edde7d..98dc765552 100644 --- a/internal/command/providers_lock_test.go +++ b/internal/command/providers_lock_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/providers_mirror.go b/internal/command/providers_mirror.go index 3ec521a7d1..9657258e6c 100644 --- a/internal/command/providers_mirror.go +++ b/internal/command/providers_mirror.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/providers_mirror_test.go b/internal/command/providers_mirror_test.go index 303c088e35..e166792ed9 100644 --- a/internal/command/providers_mirror_test.go +++ b/internal/command/providers_mirror_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/providers_schema.go b/internal/command/providers_schema.go index 3c9bbf6574..99a60a847e 100644 --- a/internal/command/providers_schema.go +++ b/internal/command/providers_schema.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/providers_schema_test.go b/internal/command/providers_schema_test.go index 07811cb880..f6dcf922fa 100644 --- a/internal/command/providers_schema_test.go +++ b/internal/command/providers_schema_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/providers_test.go b/internal/command/providers_test.go index 0135283e37..571d51cf34 100644 --- a/internal/command/providers_test.go +++ b/internal/command/providers_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/push.go b/internal/command/push.go index 322cd39080..15ea3eb222 100644 --- a/internal/command/push.go +++ b/internal/command/push.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/refresh.go b/internal/command/refresh.go index c1dc9f4d40..287579133c 100644 --- a/internal/command/refresh.go +++ b/internal/command/refresh.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/refresh_test.go b/internal/command/refresh_test.go index d83d8ceae7..0febf163e6 100644 --- a/internal/command/refresh_test.go +++ b/internal/command/refresh_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/show.go b/internal/command/show.go index 38d4c215c0..0383e45904 100644 --- a/internal/command/show.go +++ b/internal/command/show.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/show_test.go b/internal/command/show_test.go index d207b99dd5..da4a8e8f2f 100644 --- a/internal/command/show_test.go +++ b/internal/command/show_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_command.go b/internal/command/state_command.go index d7fae5127e..6fea3958d8 100644 --- a/internal/command/state_command.go +++ b/internal/command/state_command.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_list.go b/internal/command/state_list.go index 4773675de5..618f27d188 100644 --- a/internal/command/state_list.go +++ b/internal/command/state_list.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_list_test.go b/internal/command/state_list_test.go index fb102f85a1..0717f4fc9a 100644 --- a/internal/command/state_list_test.go +++ b/internal/command/state_list_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_meta.go b/internal/command/state_meta.go index ed05ded9d4..d3751d710e 100644 --- a/internal/command/state_meta.go +++ b/internal/command/state_meta.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_mv.go b/internal/command/state_mv.go index 1a9c2773c2..cf8521f3ee 100644 --- a/internal/command/state_mv.go +++ b/internal/command/state_mv.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_mv_test.go b/internal/command/state_mv_test.go index a00e1bdb0d..77218853d5 100644 --- a/internal/command/state_mv_test.go +++ b/internal/command/state_mv_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_pull.go b/internal/command/state_pull.go index 2650c1af3f..e4db993407 100644 --- a/internal/command/state_pull.go +++ b/internal/command/state_pull.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_pull_test.go b/internal/command/state_pull_test.go index a3845baa8b..c56dc02f75 100644 --- a/internal/command/state_pull_test.go +++ b/internal/command/state_pull_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_push.go b/internal/command/state_push.go index ec5e6917a6..ec2ed511cb 100644 --- a/internal/command/state_push.go +++ b/internal/command/state_push.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_push_test.go b/internal/command/state_push_test.go index 8b7a6601fe..5c7e575510 100644 --- a/internal/command/state_push_test.go +++ b/internal/command/state_push_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_replace_provider.go b/internal/command/state_replace_provider.go index 45a167beba..777e240432 100644 --- a/internal/command/state_replace_provider.go +++ b/internal/command/state_replace_provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_replace_provider_test.go b/internal/command/state_replace_provider_test.go index 753eb557dc..4446719833 100644 --- a/internal/command/state_replace_provider_test.go +++ b/internal/command/state_replace_provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_rm.go b/internal/command/state_rm.go index 9708ae47e2..bf03afeea6 100644 --- a/internal/command/state_rm.go +++ b/internal/command/state_rm.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_rm_test.go b/internal/command/state_rm_test.go index 45879a145e..98f345fd8e 100644 --- a/internal/command/state_rm_test.go +++ b/internal/command/state_rm_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_show.go b/internal/command/state_show.go index 14a655752a..90a3902ba7 100644 --- a/internal/command/state_show.go +++ b/internal/command/state_show.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_show_test.go b/internal/command/state_show_test.go index 394081f913..06ff9b06e1 100644 --- a/internal/command/state_show_test.go +++ b/internal/command/state_show_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/state_test.go b/internal/command/state_test.go index 6cb5f9f443..429bed5f14 100644 --- a/internal/command/state_test.go +++ b/internal/command/state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/taint.go b/internal/command/taint.go index 6a5e23d3f4..2def91e290 100644 --- a/internal/command/taint.go +++ b/internal/command/taint.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/taint_test.go b/internal/command/taint_test.go index 2add1370ab..30bbd0b270 100644 --- a/internal/command/taint_test.go +++ b/internal/command/taint_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/telemetry.go b/internal/command/telemetry.go index 69d0080832..3d471c6691 100644 --- a/internal/command/telemetry.go +++ b/internal/command/telemetry.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/command/test.go b/internal/command/test.go index c242fdb08d..49f59e2edf 100644 --- a/internal/command/test.go +++ b/internal/command/test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/command/test_test.go b/internal/command/test_test.go index decfed2b14..a9234217c7 100644 --- a/internal/command/test_test.go +++ b/internal/command/test_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/internal/command/testing/test_provider.go b/internal/command/testing/test_provider.go index 56ac7bda80..2737e2f23c 100644 --- a/internal/command/testing/test_provider.go +++ b/internal/command/testing/test_provider.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testing import ( diff --git a/internal/command/ui_input.go b/internal/command/ui_input.go index 44b1b21af7..417817895b 100644 --- a/internal/command/ui_input.go +++ b/internal/command/ui_input.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/ui_input_test.go b/internal/command/ui_input_test.go index 38e7fb677e..0823f043df 100644 --- a/internal/command/ui_input_test.go +++ b/internal/command/ui_input_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/unlock.go b/internal/command/unlock.go index 35c8ad9361..631d5ac8f3 100644 --- a/internal/command/unlock.go +++ b/internal/command/unlock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/unlock_test.go b/internal/command/unlock_test.go index e8e612a570..8b4ea53956 100644 --- a/internal/command/unlock_test.go +++ b/internal/command/unlock_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/untaint.go b/internal/command/untaint.go index 295f7c3c28..77e0e30453 100644 --- a/internal/command/untaint.go +++ b/internal/command/untaint.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/untaint_test.go b/internal/command/untaint_test.go index 7e5607e181..bfe8af9e57 100644 --- a/internal/command/untaint_test.go +++ b/internal/command/untaint_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/validate.go b/internal/command/validate.go index 4d04ae31a8..7d854f7601 100644 --- a/internal/command/validate.go +++ b/internal/command/validate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/validate_test.go b/internal/command/validate_test.go index 0908dc0eee..4cfa78dc39 100644 --- a/internal/command/validate_test.go +++ b/internal/command/validate_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/version.go b/internal/command/version.go index 59dd1f9441..406cc08abb 100644 --- a/internal/command/version.go +++ b/internal/command/version.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/version_test.go b/internal/command/version_test.go index 67e8bc2c23..703bb59e7e 100644 --- a/internal/command/version_test.go +++ b/internal/command/version_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/views/apply.go b/internal/command/views/apply.go index 7327da7174..ac967b12d2 100644 --- a/internal/command/views/apply.go +++ b/internal/command/views/apply.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/apply_test.go b/internal/command/views/apply_test.go index 0b00d5e61a..3a44d879e6 100644 --- a/internal/command/views/apply_test.go +++ b/internal/command/views/apply_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/hook_count.go b/internal/command/views/hook_count.go index 3b2fd29f1e..2264c57d0d 100644 --- a/internal/command/views/hook_count.go +++ b/internal/command/views/hook_count.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/hook_count_test.go b/internal/command/views/hook_count_test.go index d936a1da31..987608ce00 100644 --- a/internal/command/views/hook_count_test.go +++ b/internal/command/views/hook_count_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/hook_json.go b/internal/command/views/hook_json.go index 9cfdbcee14..84b5174b2f 100644 --- a/internal/command/views/hook_json.go +++ b/internal/command/views/hook_json.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/hook_json_test.go b/internal/command/views/hook_json_test.go index 6e2382b4f2..74f2e7e9b7 100644 --- a/internal/command/views/hook_json_test.go +++ b/internal/command/views/hook_json_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/hook_ui.go b/internal/command/views/hook_ui.go index 605ec705cd..4d46498a02 100644 --- a/internal/command/views/hook_ui.go +++ b/internal/command/views/hook_ui.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/hook_ui_test.go b/internal/command/views/hook_ui_test.go index 7fde73422e..a22accec55 100644 --- a/internal/command/views/hook_ui_test.go +++ b/internal/command/views/hook_ui_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/json/change.go b/internal/command/views/json/change.go index c4896b4aa8..cef9e62961 100644 --- a/internal/command/views/json/change.go +++ b/internal/command/views/json/change.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/change_summary.go b/internal/command/views/json/change_summary.go index 3915c5c1fd..2083efc8a1 100644 --- a/internal/command/views/json/change_summary.go +++ b/internal/command/views/json/change_summary.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/diagnostic.go b/internal/command/views/json/diagnostic.go index 91d96f716e..5f1bdb5ffd 100644 --- a/internal/command/views/json/diagnostic.go +++ b/internal/command/views/json/diagnostic.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/diagnostic_test.go b/internal/command/views/json/diagnostic_test.go index 3d28c78d08..dadae764c3 100644 --- a/internal/command/views/json/diagnostic_test.go +++ b/internal/command/views/json/diagnostic_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/function.go b/internal/command/views/json/function.go index 23f12f780d..5cfe2f85b0 100644 --- a/internal/command/views/json/function.go +++ b/internal/command/views/json/function.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/function_test.go b/internal/command/views/json/function_test.go index a9cdeec303..b029ac32d7 100644 --- a/internal/command/views/json/function_test.go +++ b/internal/command/views/json/function_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/hook.go b/internal/command/views/json/hook.go index 9388f62b32..d08c0a8cd7 100644 --- a/internal/command/views/json/hook.go +++ b/internal/command/views/json/hook.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/importing.go b/internal/command/views/json/importing.go index b79709beff..cbf5322ec6 100644 --- a/internal/command/views/json/importing.go +++ b/internal/command/views/json/importing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/message_types.go b/internal/command/views/json/message_types.go index 581cb7f483..5eccdc63a5 100644 --- a/internal/command/views/json/message_types.go +++ b/internal/command/views/json/message_types.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/output.go b/internal/command/views/json/output.go index 8866b2a6aa..5c5afbd2f7 100644 --- a/internal/command/views/json/output.go +++ b/internal/command/views/json/output.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/output_test.go b/internal/command/views/json/output_test.go index 40f473e8be..9d03bff019 100644 --- a/internal/command/views/json/output_test.go +++ b/internal/command/views/json/output_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/resource_addr.go b/internal/command/views/json/resource_addr.go index b646554787..b3be54db87 100644 --- a/internal/command/views/json/resource_addr.go +++ b/internal/command/views/json/resource_addr.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package json diff --git a/internal/command/views/json/test.go b/internal/command/views/json/test.go index c476c6335f..75598070b0 100644 --- a/internal/command/views/json/test.go +++ b/internal/command/views/json/test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package json import ( diff --git a/internal/command/views/json_view.go b/internal/command/views/json_view.go index 29bceda88b..a85d0ef692 100644 --- a/internal/command/views/json_view.go +++ b/internal/command/views/json_view.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/json_view_test.go b/internal/command/views/json_view_test.go index 458a10ea4a..7ca1a856fa 100644 --- a/internal/command/views/json_view_test.go +++ b/internal/command/views/json_view_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/operation.go b/internal/command/views/operation.go index 4632bb1015..0e0510ba0e 100644 --- a/internal/command/views/operation.go +++ b/internal/command/views/operation.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/operation_test.go b/internal/command/views/operation_test.go index da8d1bacc4..aa4e84f72b 100644 --- a/internal/command/views/operation_test.go +++ b/internal/command/views/operation_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/output.go b/internal/command/views/output.go index c8497fe2ed..e6eef58b22 100644 --- a/internal/command/views/output.go +++ b/internal/command/views/output.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/output_test.go b/internal/command/views/output_test.go index a0f3019ec1..53e3806e9d 100644 --- a/internal/command/views/output_test.go +++ b/internal/command/views/output_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/plan.go b/internal/command/views/plan.go index 961401ef26..f33aafdffb 100644 --- a/internal/command/views/plan.go +++ b/internal/command/views/plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/plan_test.go b/internal/command/views/plan_test.go index b81919ed95..09f21eae45 100644 --- a/internal/command/views/plan_test.go +++ b/internal/command/views/plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/refresh.go b/internal/command/views/refresh.go index cca38cb7d2..7ec0514c0b 100644 --- a/internal/command/views/refresh.go +++ b/internal/command/views/refresh.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/refresh_test.go b/internal/command/views/refresh_test.go index a7ee06e4b1..7fdc64935b 100644 --- a/internal/command/views/refresh_test.go +++ b/internal/command/views/refresh_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/show.go b/internal/command/views/show.go index a05503071d..a351b4afed 100644 --- a/internal/command/views/show.go +++ b/internal/command/views/show.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/show_test.go b/internal/command/views/show_test.go index 53318d293b..c7f4a98f30 100644 --- a/internal/command/views/show_test.go +++ b/internal/command/views/show_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/state_locker.go b/internal/command/views/state_locker.go index dfcb243c4f..262769fca9 100644 --- a/internal/command/views/state_locker.go +++ b/internal/command/views/state_locker.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/test.go b/internal/command/views/test.go index 11adfd18e5..7d4eb5816e 100644 --- a/internal/command/views/test.go +++ b/internal/command/views/test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package views import ( diff --git a/internal/command/views/test_test.go b/internal/command/views/test_test.go index de159f8fd7..faa9cd09bc 100644 --- a/internal/command/views/test_test.go +++ b/internal/command/views/test_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package views import ( diff --git a/internal/command/views/validate.go b/internal/command/views/validate.go index e35606260d..69d0ac8f24 100644 --- a/internal/command/views/validate.go +++ b/internal/command/views/validate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/validate_test.go b/internal/command/views/validate_test.go index bdd9b02989..98e602ccea 100644 --- a/internal/command/views/validate_test.go +++ b/internal/command/views/validate_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/views/view.go b/internal/command/views/view.go index 279601be39..0442e050b4 100644 --- a/internal/command/views/view.go +++ b/internal/command/views/view.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package views diff --git a/internal/command/webbrowser/native.go b/internal/command/webbrowser/native.go index 0b2c8e61e3..4424cca11e 100644 --- a/internal/command/webbrowser/native.go +++ b/internal/command/webbrowser/native.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package webbrowser diff --git a/internal/command/webbrowser/webbrowser.go b/internal/command/webbrowser/webbrowser.go index 46d373d46f..f095d09c98 100644 --- a/internal/command/webbrowser/webbrowser.go +++ b/internal/command/webbrowser/webbrowser.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package webbrowser diff --git a/internal/command/workdir/dir.go b/internal/command/workdir/dir.go index 201f9480c8..d57e4d13cc 100644 --- a/internal/command/workdir/dir.go +++ b/internal/command/workdir/dir.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package workdir diff --git a/internal/command/workdir/doc.go b/internal/command/workdir/doc.go index d9e736b17c..cbf6847844 100644 --- a/internal/command/workdir/doc.go +++ b/internal/command/workdir/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package workdir models the various local artifacts and state we keep inside diff --git a/internal/command/workdir/normalize_path.go b/internal/command/workdir/normalize_path.go index 601897bfcf..9ab8825931 100644 --- a/internal/command/workdir/normalize_path.go +++ b/internal/command/workdir/normalize_path.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package workdir diff --git a/internal/command/workdir/plugin_dirs.go b/internal/command/workdir/plugin_dirs.go index 49343c9bc8..13db2d9f02 100644 --- a/internal/command/workdir/plugin_dirs.go +++ b/internal/command/workdir/plugin_dirs.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package workdir diff --git a/internal/command/workdir/plugin_dirs_test.go b/internal/command/workdir/plugin_dirs_test.go index d96f733186..0e02919269 100644 --- a/internal/command/workdir/plugin_dirs_test.go +++ b/internal/command/workdir/plugin_dirs_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package workdir diff --git a/internal/command/workspace_command.go b/internal/command/workspace_command.go index 1cded04b45..2e828234e8 100644 --- a/internal/command/workspace_command.go +++ b/internal/command/workspace_command.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/workspace_command_test.go b/internal/command/workspace_command_test.go index 75669e86ab..14e4b96225 100644 --- a/internal/command/workspace_command_test.go +++ b/internal/command/workspace_command_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/workspace_delete.go b/internal/command/workspace_delete.go index 314f64aeff..0b9fa2bc23 100644 --- a/internal/command/workspace_delete.go +++ b/internal/command/workspace_delete.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/workspace_list.go b/internal/command/workspace_list.go index b7cedd31a2..82e4f535dc 100644 --- a/internal/command/workspace_list.go +++ b/internal/command/workspace_list.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/workspace_new.go b/internal/command/workspace_new.go index 6e78b5ea0d..d3adc30ab0 100644 --- a/internal/command/workspace_new.go +++ b/internal/command/workspace_new.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/workspace_select.go b/internal/command/workspace_select.go index 7eaff4231f..488718320b 100644 --- a/internal/command/workspace_select.go +++ b/internal/command/workspace_select.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/command/workspace_show.go b/internal/command/workspace_show.go index 7e2f0641d5..a93e426d9d 100644 --- a/internal/command/workspace_show.go +++ b/internal/command/workspace_show.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package command diff --git a/internal/communicator/communicator.go b/internal/communicator/communicator.go index 89de7ad54d..7d90197505 100644 --- a/internal/communicator/communicator.go +++ b/internal/communicator/communicator.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package communicator diff --git a/internal/communicator/communicator_mock.go b/internal/communicator/communicator_mock.go index 582a32d104..815bfaff60 100644 --- a/internal/communicator/communicator_mock.go +++ b/internal/communicator/communicator_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package communicator diff --git a/internal/communicator/communicator_test.go b/internal/communicator/communicator_test.go index 2986dc2aaf..50c832898f 100644 --- a/internal/communicator/communicator_test.go +++ b/internal/communicator/communicator_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package communicator diff --git a/internal/communicator/remote/command.go b/internal/communicator/remote/command.go index 52fb045123..0ceb50f19e 100644 --- a/internal/communicator/remote/command.go +++ b/internal/communicator/remote/command.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/communicator/remote/command_test.go b/internal/communicator/remote/command_test.go index 60794e89c5..c90b07f108 100644 --- a/internal/communicator/remote/command_test.go +++ b/internal/communicator/remote/command_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/communicator/shared/shared.go b/internal/communicator/shared/shared.go index 482f76ea66..d8bdd5344a 100644 --- a/internal/communicator/shared/shared.go +++ b/internal/communicator/shared/shared.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package shared diff --git a/internal/communicator/shared/shared_test.go b/internal/communicator/shared/shared_test.go index de9ddb7a1a..67d0c0b53b 100644 --- a/internal/communicator/shared/shared_test.go +++ b/internal/communicator/shared/shared_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package shared diff --git a/internal/communicator/ssh/communicator.go b/internal/communicator/ssh/communicator.go index e881b7204a..3445880c3f 100644 --- a/internal/communicator/ssh/communicator.go +++ b/internal/communicator/ssh/communicator.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package ssh diff --git a/internal/communicator/ssh/communicator_test.go b/internal/communicator/ssh/communicator_test.go index 0e27df808c..6c96299f46 100644 --- a/internal/communicator/ssh/communicator_test.go +++ b/internal/communicator/ssh/communicator_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build !race diff --git a/internal/communicator/ssh/http_proxy.go b/internal/communicator/ssh/http_proxy.go index 1aaaa3f1f2..7c52ab3475 100644 --- a/internal/communicator/ssh/http_proxy.go +++ b/internal/communicator/ssh/http_proxy.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package ssh diff --git a/internal/communicator/ssh/password.go b/internal/communicator/ssh/password.go index fee241673e..f285da37b3 100644 --- a/internal/communicator/ssh/password.go +++ b/internal/communicator/ssh/password.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package ssh diff --git a/internal/communicator/ssh/password_test.go b/internal/communicator/ssh/password_test.go index fa0640b3fc..0ba61f7edd 100644 --- a/internal/communicator/ssh/password_test.go +++ b/internal/communicator/ssh/password_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package ssh diff --git a/internal/communicator/ssh/provisioner.go b/internal/communicator/ssh/provisioner.go index 86f7d7b244..473712a343 100644 --- a/internal/communicator/ssh/provisioner.go +++ b/internal/communicator/ssh/provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package ssh diff --git a/internal/communicator/ssh/provisioner_test.go b/internal/communicator/ssh/provisioner_test.go index f6183c215c..826bf607c7 100644 --- a/internal/communicator/ssh/provisioner_test.go +++ b/internal/communicator/ssh/provisioner_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package ssh diff --git a/internal/communicator/ssh/ssh_test.go b/internal/communicator/ssh/ssh_test.go index c450cb5fea..9da4127bbd 100644 --- a/internal/communicator/ssh/ssh_test.go +++ b/internal/communicator/ssh/ssh_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package ssh diff --git a/internal/communicator/winrm/communicator.go b/internal/communicator/winrm/communicator.go index 04f16e7a1d..3f1493eb89 100644 --- a/internal/communicator/winrm/communicator.go +++ b/internal/communicator/winrm/communicator.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package winrm diff --git a/internal/communicator/winrm/communicator_test.go b/internal/communicator/winrm/communicator_test.go index d5adf511d5..a07a34e636 100644 --- a/internal/communicator/winrm/communicator_test.go +++ b/internal/communicator/winrm/communicator_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package winrm diff --git a/internal/communicator/winrm/provisioner.go b/internal/communicator/winrm/provisioner.go index 7f5eab45d1..380869a1fc 100644 --- a/internal/communicator/winrm/provisioner.go +++ b/internal/communicator/winrm/provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package winrm diff --git a/internal/communicator/winrm/provisioner_test.go b/internal/communicator/winrm/provisioner_test.go index cd253d3872..39e5a995f1 100644 --- a/internal/communicator/winrm/provisioner_test.go +++ b/internal/communicator/winrm/provisioner_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package winrm diff --git a/internal/configs/backend.go b/internal/configs/backend.go index e44b34f046..bf77c87def 100644 --- a/internal/configs/backend.go +++ b/internal/configs/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/checks.go b/internal/configs/checks.go index f682b147a9..fea8760c69 100644 --- a/internal/configs/checks.go +++ b/internal/configs/checks.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/cloud.go b/internal/configs/cloud.go index 3b0154a6d2..b293c08bb5 100644 --- a/internal/configs/cloud.go +++ b/internal/configs/cloud.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/compat_shim.go b/internal/configs/compat_shim.go index 88de350c8d..5f929ab57b 100644 --- a/internal/configs/compat_shim.go +++ b/internal/configs/compat_shim.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/config.go b/internal/configs/config.go index 42a2411a41..e0eb357c11 100644 --- a/internal/configs/config.go +++ b/internal/configs/config.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/config_build.go b/internal/configs/config_build.go index a99b2cbc35..27f7a8d6d9 100644 --- a/internal/configs/config_build.go +++ b/internal/configs/config_build.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/config_build_test.go b/internal/configs/config_build_test.go index 6f24b079aa..9c3e2db8b9 100644 --- a/internal/configs/config_build_test.go +++ b/internal/configs/config_build_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/config_test.go b/internal/configs/config_test.go index fcadc2a4fb..6308f69833 100644 --- a/internal/configs/config_test.go +++ b/internal/configs/config_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/configload/doc.go b/internal/configs/configload/doc.go index a3ac60e295..8f816de0c7 100644 --- a/internal/configs/configload/doc.go +++ b/internal/configs/configload/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package configload knows how to install modules into the .terraform/modules diff --git a/internal/configs/configload/loader.go b/internal/configs/configload/loader.go index b0c8e85144..9964b9a3fe 100644 --- a/internal/configs/configload/loader.go +++ b/internal/configs/configload/loader.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configload diff --git a/internal/configs/configload/loader_load.go b/internal/configs/configload/loader_load.go index ebce71b50d..2a5f395ab5 100644 --- a/internal/configs/configload/loader_load.go +++ b/internal/configs/configload/loader_load.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configload diff --git a/internal/configs/configload/loader_load_test.go b/internal/configs/configload/loader_load_test.go index 450d24d843..5f6f8b545d 100644 --- a/internal/configs/configload/loader_load_test.go +++ b/internal/configs/configload/loader_load_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configload diff --git a/internal/configs/configload/loader_snapshot.go b/internal/configs/configload/loader_snapshot.go index d7bc381659..fc4e4ebe31 100644 --- a/internal/configs/configload/loader_snapshot.go +++ b/internal/configs/configload/loader_snapshot.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configload diff --git a/internal/configs/configload/loader_snapshot_test.go b/internal/configs/configload/loader_snapshot_test.go index d8f597ef35..c35567b112 100644 --- a/internal/configs/configload/loader_snapshot_test.go +++ b/internal/configs/configload/loader_snapshot_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configload diff --git a/internal/configs/configload/loader_test.go b/internal/configs/configload/loader_test.go index 36864d5242..eb6f5c5190 100644 --- a/internal/configs/configload/loader_test.go +++ b/internal/configs/configload/loader_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configload diff --git a/internal/configs/configload/module_mgr.go b/internal/configs/configload/module_mgr.go index ac19b9148a..d3318c402d 100644 --- a/internal/configs/configload/module_mgr.go +++ b/internal/configs/configload/module_mgr.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configload diff --git a/internal/configs/configload/testing.go b/internal/configs/configload/testing.go index 1ecab9b82f..81b8324baa 100644 --- a/internal/configs/configload/testing.go +++ b/internal/configs/configload/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configload diff --git a/internal/configs/configschema/coerce_value.go b/internal/configs/configschema/coerce_value.go index 607781a0fb..470d535157 100644 --- a/internal/configs/configschema/coerce_value.go +++ b/internal/configs/configschema/coerce_value.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/coerce_value_test.go b/internal/configs/configschema/coerce_value_test.go index af99ee33e7..06be132c5a 100644 --- a/internal/configs/configschema/coerce_value_test.go +++ b/internal/configs/configschema/coerce_value_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/decoder_spec.go b/internal/configs/configschema/decoder_spec.go index dc4a973854..3f7a556b02 100644 --- a/internal/configs/configschema/decoder_spec.go +++ b/internal/configs/configschema/decoder_spec.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/decoder_spec_test.go b/internal/configs/configschema/decoder_spec_test.go index 3d00dbd4ee..e49f20e691 100644 --- a/internal/configs/configschema/decoder_spec_test.go +++ b/internal/configs/configschema/decoder_spec_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/doc.go b/internal/configs/configschema/doc.go index ce9c2890a3..ec25574ad9 100644 --- a/internal/configs/configschema/doc.go +++ b/internal/configs/configschema/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package configschema contains types for describing the expected structure diff --git a/internal/configs/configschema/empty_value.go b/internal/configs/configschema/empty_value.go index a768e14d67..eca4e078ba 100644 --- a/internal/configs/configschema/empty_value.go +++ b/internal/configs/configschema/empty_value.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/empty_value_test.go b/internal/configs/configschema/empty_value_test.go index ddf81e003d..78bf2ae5e9 100644 --- a/internal/configs/configschema/empty_value_test.go +++ b/internal/configs/configschema/empty_value_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/filter.go b/internal/configs/configschema/filter.go index bb0f3d8b48..ee640980b4 100644 --- a/internal/configs/configschema/filter.go +++ b/internal/configs/configschema/filter.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configschema type FilterT[T any] func(string, T) bool diff --git a/internal/configs/configschema/filter_test.go b/internal/configs/configschema/filter_test.go index 29b6115d62..3a7ede1406 100644 --- a/internal/configs/configschema/filter_test.go +++ b/internal/configs/configschema/filter_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configschema import ( diff --git a/internal/configs/configschema/implied_type.go b/internal/configs/configschema/implied_type.go index d673bdf992..70167c74f7 100644 --- a/internal/configs/configschema/implied_type.go +++ b/internal/configs/configschema/implied_type.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/implied_type_test.go b/internal/configs/configschema/implied_type_test.go index a5745d1a34..1bfb7df97f 100644 --- a/internal/configs/configschema/implied_type_test.go +++ b/internal/configs/configschema/implied_type_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/internal_validate.go b/internal/configs/configschema/internal_validate.go index 6eb644c7f6..85c64caf32 100644 --- a/internal/configs/configschema/internal_validate.go +++ b/internal/configs/configschema/internal_validate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/internal_validate_test.go b/internal/configs/configschema/internal_validate_test.go index 8694c1e9c0..059f506b89 100644 --- a/internal/configs/configschema/internal_validate_test.go +++ b/internal/configs/configschema/internal_validate_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/marks.go b/internal/configs/configschema/marks.go index 1e0d92d642..1a466c3dd9 100644 --- a/internal/configs/configschema/marks.go +++ b/internal/configs/configschema/marks.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/marks_test.go b/internal/configs/configschema/marks_test.go index d89cd807e6..44ec115659 100644 --- a/internal/configs/configschema/marks_test.go +++ b/internal/configs/configschema/marks_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/none_required.go b/internal/configs/configschema/none_required.go index 4f48b76336..baa54e1957 100644 --- a/internal/configs/configschema/none_required.go +++ b/internal/configs/configschema/none_required.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/path.go b/internal/configs/configschema/path.go index 69b5aca584..5f3adba5d3 100644 --- a/internal/configs/configschema/path.go +++ b/internal/configs/configschema/path.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/path_test.go b/internal/configs/configschema/path_test.go index 43c0d2d974..4793373662 100644 --- a/internal/configs/configschema/path_test.go +++ b/internal/configs/configschema/path_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/schema.go b/internal/configs/configschema/schema.go index f4fc4015f1..9ef11e2a57 100644 --- a/internal/configs/configschema/schema.go +++ b/internal/configs/configschema/schema.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/validate_traversal.go b/internal/configs/configschema/validate_traversal.go index 089d50f8ed..6ead9572e4 100644 --- a/internal/configs/configschema/validate_traversal.go +++ b/internal/configs/configschema/validate_traversal.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/configschema/validate_traversal_test.go b/internal/configs/configschema/validate_traversal_test.go index 1e1cbec307..581f69e5c0 100644 --- a/internal/configs/configschema/validate_traversal_test.go +++ b/internal/configs/configschema/validate_traversal_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configschema diff --git a/internal/configs/container.go b/internal/configs/container.go index 22a6a1c9b3..78e3bea4e1 100644 --- a/internal/configs/container.go +++ b/internal/configs/container.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/depends_on.go b/internal/configs/depends_on.go index f70cac56f2..3f746c12bf 100644 --- a/internal/configs/depends_on.go +++ b/internal/configs/depends_on.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/doc.go b/internal/configs/doc.go index 8c507516f9..e984594b81 100644 --- a/internal/configs/doc.go +++ b/internal/configs/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package configs contains types that represent OpenTofu configurations and diff --git a/internal/configs/escaping_blocks_test.go b/internal/configs/escaping_blocks_test.go index a51c3668d0..eaadef8b91 100644 --- a/internal/configs/escaping_blocks_test.go +++ b/internal/configs/escaping_blocks_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/experiments.go b/internal/configs/experiments.go index 1b45aaf203..350298bbf5 100644 --- a/internal/configs/experiments.go +++ b/internal/configs/experiments.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/experiments_test.go b/internal/configs/experiments_test.go index 2cc9a11bc8..e3bdb3d9db 100644 --- a/internal/configs/experiments_test.go +++ b/internal/configs/experiments_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/hcl2shim/flatmap.go b/internal/configs/hcl2shim/flatmap.go index c3d0f8053b..e079e8191a 100644 --- a/internal/configs/hcl2shim/flatmap.go +++ b/internal/configs/hcl2shim/flatmap.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package hcl2shim diff --git a/internal/configs/hcl2shim/flatmap_test.go b/internal/configs/hcl2shim/flatmap_test.go index c16be548a9..25b6409ec7 100644 --- a/internal/configs/hcl2shim/flatmap_test.go +++ b/internal/configs/hcl2shim/flatmap_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package hcl2shim diff --git a/internal/configs/hcl2shim/paths.go b/internal/configs/hcl2shim/paths.go index b8dc6c5df6..bcc1c7b6d3 100644 --- a/internal/configs/hcl2shim/paths.go +++ b/internal/configs/hcl2shim/paths.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package hcl2shim diff --git a/internal/configs/hcl2shim/paths_test.go b/internal/configs/hcl2shim/paths_test.go index 00fb987311..1ffe7570ef 100644 --- a/internal/configs/hcl2shim/paths_test.go +++ b/internal/configs/hcl2shim/paths_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package hcl2shim diff --git a/internal/configs/hcl2shim/single_attr_body.go b/internal/configs/hcl2shim/single_attr_body.go index c025fa7939..a16d85ecf9 100644 --- a/internal/configs/hcl2shim/single_attr_body.go +++ b/internal/configs/hcl2shim/single_attr_body.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package hcl2shim diff --git a/internal/configs/hcl2shim/values.go b/internal/configs/hcl2shim/values.go index b4c27553d3..cf88efd005 100644 --- a/internal/configs/hcl2shim/values.go +++ b/internal/configs/hcl2shim/values.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package hcl2shim diff --git a/internal/configs/hcl2shim/values_equiv.go b/internal/configs/hcl2shim/values_equiv.go index 60b149b14b..794e537d5b 100644 --- a/internal/configs/hcl2shim/values_equiv.go +++ b/internal/configs/hcl2shim/values_equiv.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package hcl2shim diff --git a/internal/configs/hcl2shim/values_equiv_test.go b/internal/configs/hcl2shim/values_equiv_test.go index 65663f4830..f993b412f9 100644 --- a/internal/configs/hcl2shim/values_equiv_test.go +++ b/internal/configs/hcl2shim/values_equiv_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package hcl2shim diff --git a/internal/configs/hcl2shim/values_test.go b/internal/configs/hcl2shim/values_test.go index f42fcea57f..ffa5347894 100644 --- a/internal/configs/hcl2shim/values_test.go +++ b/internal/configs/hcl2shim/values_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package hcl2shim diff --git a/internal/configs/import.go b/internal/configs/import.go index 5c610a8041..10937a63fd 100644 --- a/internal/configs/import.go +++ b/internal/configs/import.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/import_test.go b/internal/configs/import_test.go index 410dbf9d2f..3c4fc22f6b 100644 --- a/internal/configs/import_test.go +++ b/internal/configs/import_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/module.go b/internal/configs/module.go index f092537b25..ee18d25b7f 100644 --- a/internal/configs/module.go +++ b/internal/configs/module.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/module_call.go b/internal/configs/module_call.go index 173d92774c..8eb6dfad7b 100644 --- a/internal/configs/module_call.go +++ b/internal/configs/module_call.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/module_call_test.go b/internal/configs/module_call_test.go index c16f380e77..7fbb5d91af 100644 --- a/internal/configs/module_call_test.go +++ b/internal/configs/module_call_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/module_merge.go b/internal/configs/module_merge.go index c22ac60cce..3b238904e1 100644 --- a/internal/configs/module_merge.go +++ b/internal/configs/module_merge.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/module_merge_body.go b/internal/configs/module_merge_body.go index a07905dc67..4e40b66b7a 100644 --- a/internal/configs/module_merge_body.go +++ b/internal/configs/module_merge_body.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/module_merge_test.go b/internal/configs/module_merge_test.go index 9dfd07b332..bd277ebe02 100644 --- a/internal/configs/module_merge_test.go +++ b/internal/configs/module_merge_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/module_test.go b/internal/configs/module_test.go index 15f5707900..ea9feaea0d 100644 --- a/internal/configs/module_test.go +++ b/internal/configs/module_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/moved.go b/internal/configs/moved.go index e36927d431..d6dca11a97 100644 --- a/internal/configs/moved.go +++ b/internal/configs/moved.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/moved_test.go b/internal/configs/moved_test.go index 70e92b1b6b..572120641e 100644 --- a/internal/configs/moved_test.go +++ b/internal/configs/moved_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/named_values.go b/internal/configs/named_values.go index f86630fce4..5ebc549132 100644 --- a/internal/configs/named_values.go +++ b/internal/configs/named_values.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/parser.go b/internal/configs/parser.go index 17df9b25a3..36988d3b88 100644 --- a/internal/configs/parser.go +++ b/internal/configs/parser.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/parser_config.go b/internal/configs/parser_config.go index 1ddf04d376..9c808989e2 100644 --- a/internal/configs/parser_config.go +++ b/internal/configs/parser_config.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/parser_config_dir.go b/internal/configs/parser_config_dir.go index 1f32decc1f..a292bba383 100644 --- a/internal/configs/parser_config_dir.go +++ b/internal/configs/parser_config_dir.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/parser_config_dir_test.go b/internal/configs/parser_config_dir_test.go index 9d97757c20..d45499eea1 100644 --- a/internal/configs/parser_config_dir_test.go +++ b/internal/configs/parser_config_dir_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/parser_config_test.go b/internal/configs/parser_config_test.go index 753e8134a1..d78e22ea5b 100644 --- a/internal/configs/parser_config_test.go +++ b/internal/configs/parser_config_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/parser_test.go b/internal/configs/parser_test.go index 39ddcdabad..a383495da1 100644 --- a/internal/configs/parser_test.go +++ b/internal/configs/parser_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/parser_values.go b/internal/configs/parser_values.go index cd0f585814..bdffc72f52 100644 --- a/internal/configs/parser_values.go +++ b/internal/configs/parser_values.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/parser_values_test.go b/internal/configs/parser_values_test.go index 707d222722..a5192482a5 100644 --- a/internal/configs/parser_values_test.go +++ b/internal/configs/parser_values_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/provider.go b/internal/configs/provider.go index 2ebac8baf7..a100239304 100644 --- a/internal/configs/provider.go +++ b/internal/configs/provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/provider_meta.go b/internal/configs/provider_meta.go index 066f4e343c..64520974e9 100644 --- a/internal/configs/provider_meta.go +++ b/internal/configs/provider_meta.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/provider_requirements.go b/internal/configs/provider_requirements.go index 621b5903dd..3453fbfe2f 100644 --- a/internal/configs/provider_requirements.go +++ b/internal/configs/provider_requirements.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/provider_requirements_test.go b/internal/configs/provider_requirements_test.go index 99a3b0cca8..37310b94c4 100644 --- a/internal/configs/provider_requirements_test.go +++ b/internal/configs/provider_requirements_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/provider_test.go b/internal/configs/provider_test.go index 50f2b58601..6f09abfa86 100644 --- a/internal/configs/provider_test.go +++ b/internal/configs/provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/provider_validation.go b/internal/configs/provider_validation.go index 1b16ebebb8..604f2ca9b6 100644 --- a/internal/configs/provider_validation.go +++ b/internal/configs/provider_validation.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/provisioner.go b/internal/configs/provisioner.go index 6ac157956d..0cd4c4e2ee 100644 --- a/internal/configs/provisioner.go +++ b/internal/configs/provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/resource.go b/internal/configs/resource.go index 81a83075d8..a603a0cc8e 100644 --- a/internal/configs/resource.go +++ b/internal/configs/resource.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/synth_body.go b/internal/configs/synth_body.go index da491bfa0e..2d61501d3b 100644 --- a/internal/configs/synth_body.go +++ b/internal/configs/synth_body.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/synth_body_test.go b/internal/configs/synth_body_test.go index dd0db58939..c5dd1e117a 100644 --- a/internal/configs/synth_body_test.go +++ b/internal/configs/synth_body_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/test_file.go b/internal/configs/test_file.go index b28c62dd4c..379f5b2aa3 100644 --- a/internal/configs/test_file.go +++ b/internal/configs/test_file.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configs import ( diff --git a/internal/configs/test_file_test.go b/internal/configs/test_file_test.go index 9d5199296b..3105c12e88 100644 --- a/internal/configs/test_file_test.go +++ b/internal/configs/test_file_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package configs import ( diff --git a/internal/configs/util.go b/internal/configs/util.go index c136c7e42f..36fbdd9332 100644 --- a/internal/configs/util.go +++ b/internal/configs/util.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/variable_type_hint.go b/internal/configs/variable_type_hint.go index 800619d1d8..7c868249ff 100644 --- a/internal/configs/variable_type_hint.go +++ b/internal/configs/variable_type_hint.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/configs/version_constraint.go b/internal/configs/version_constraint.go index 8ee3a5eea7..7a835c6185 100644 --- a/internal/configs/version_constraint.go +++ b/internal/configs/version_constraint.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package configs diff --git a/internal/copy/copy_dir.go b/internal/copy/copy_dir.go index 34e6907551..e5f162bd9e 100644 --- a/internal/copy/copy_dir.go +++ b/internal/copy/copy_dir.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package copy diff --git a/internal/copy/copy_dir_test.go b/internal/copy/copy_dir_test.go index f17f717b4c..5dc6454e4f 100644 --- a/internal/copy/copy_dir_test.go +++ b/internal/copy/copy_dir_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package copy diff --git a/internal/copy/copy_file.go b/internal/copy/copy_file.go index a3fbb949e4..5998f7e777 100644 --- a/internal/copy/copy_file.go +++ b/internal/copy/copy_file.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package copy diff --git a/internal/dag/dag.go b/internal/dag/dag.go index 60ee705ab1..8f85df8217 100644 --- a/internal/dag/dag.go +++ b/internal/dag/dag.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/dag_test.go b/internal/dag/dag_test.go index 91bbb878db..6d5fe1ac62 100644 --- a/internal/dag/dag_test.go +++ b/internal/dag/dag_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/dot.go b/internal/dag/dot.go index af4671b399..0ea0f548fe 100644 --- a/internal/dag/dot.go +++ b/internal/dag/dot.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/dot_test.go b/internal/dag/dot_test.go index be8fa9f0e0..4edd754757 100644 --- a/internal/dag/dot_test.go +++ b/internal/dag/dot_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/edge.go b/internal/dag/edge.go index 2f69aaa5f4..d412079735 100644 --- a/internal/dag/edge.go +++ b/internal/dag/edge.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/edge_test.go b/internal/dag/edge_test.go index fec8d8376e..c54e0b4aab 100644 --- a/internal/dag/edge_test.go +++ b/internal/dag/edge_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/graph.go b/internal/dag/graph.go index 37807aa3b2..845185d08d 100644 --- a/internal/dag/graph.go +++ b/internal/dag/graph.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/graph_test.go b/internal/dag/graph_test.go index 43d1e9f7cc..0f5929dd02 100644 --- a/internal/dag/graph_test.go +++ b/internal/dag/graph_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/marshal.go b/internal/dag/marshal.go index 08d705059d..c75b31707b 100644 --- a/internal/dag/marshal.go +++ b/internal/dag/marshal.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/marshal_test.go b/internal/dag/marshal_test.go index fecbe64e34..0036adeeab 100644 --- a/internal/dag/marshal_test.go +++ b/internal/dag/marshal_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/set.go b/internal/dag/set.go index 30c0e7d573..7dfbaeb20f 100644 --- a/internal/dag/set.go +++ b/internal/dag/set.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/set_test.go b/internal/dag/set_test.go index 952d4b88c9..b03f417f57 100644 --- a/internal/dag/set_test.go +++ b/internal/dag/set_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/tarjan.go b/internal/dag/tarjan.go index cdca54eead..50f43dcd0a 100644 --- a/internal/dag/tarjan.go +++ b/internal/dag/tarjan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/tarjan_test.go b/internal/dag/tarjan_test.go index 1977f2dbbb..20b84921a9 100644 --- a/internal/dag/tarjan_test.go +++ b/internal/dag/tarjan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/walk.go b/internal/dag/walk.go index b4dd645f31..3a66c12900 100644 --- a/internal/dag/walk.go +++ b/internal/dag/walk.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/dag/walk_test.go b/internal/dag/walk_test.go index f9ce9a3eec..1d8e8a6249 100644 --- a/internal/dag/walk_test.go +++ b/internal/dag/walk_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package dag diff --git a/internal/depsfile/doc.go b/internal/depsfile/doc.go index 517d61cc35..8eda3f464f 100644 --- a/internal/depsfile/doc.go +++ b/internal/depsfile/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package depsfile contains the logic for reading and writing OpenTofu's diff --git a/internal/depsfile/locks.go b/internal/depsfile/locks.go index 979c784f26..20ac82fbef 100644 --- a/internal/depsfile/locks.go +++ b/internal/depsfile/locks.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package depsfile diff --git a/internal/depsfile/locks_file.go b/internal/depsfile/locks_file.go index 006e8d2dc4..ecf424e43e 100644 --- a/internal/depsfile/locks_file.go +++ b/internal/depsfile/locks_file.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package depsfile diff --git a/internal/depsfile/locks_file_test.go b/internal/depsfile/locks_file_test.go index eccdaa0a28..9f9847fa50 100644 --- a/internal/depsfile/locks_file_test.go +++ b/internal/depsfile/locks_file_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package depsfile diff --git a/internal/depsfile/locks_test.go b/internal/depsfile/locks_test.go index 32da5966b7..c984019067 100644 --- a/internal/depsfile/locks_test.go +++ b/internal/depsfile/locks_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package depsfile diff --git a/internal/depsfile/paths.go b/internal/depsfile/paths.go index 3b9cb97d5d..046a5795c3 100644 --- a/internal/depsfile/paths.go +++ b/internal/depsfile/paths.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package depsfile diff --git a/internal/depsfile/testing.go b/internal/depsfile/testing.go index 6962a100a0..3bf781a810 100644 --- a/internal/depsfile/testing.go +++ b/internal/depsfile/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package depsfile diff --git a/internal/didyoumean/name_suggestion.go b/internal/didyoumean/name_suggestion.go index c0653702b0..cf6a570853 100644 --- a/internal/didyoumean/name_suggestion.go +++ b/internal/didyoumean/name_suggestion.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package didyoumean diff --git a/internal/didyoumean/name_suggestion_test.go b/internal/didyoumean/name_suggestion_test.go index eb31a2b9bb..545daf310b 100644 --- a/internal/didyoumean/name_suggestion_test.go +++ b/internal/didyoumean/name_suggestion_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package didyoumean diff --git a/internal/e2e/e2e.go b/internal/e2e/e2e.go index 0969ed649f..9d2db3bdc7 100644 --- a/internal/e2e/e2e.go +++ b/internal/e2e/e2e.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package e2e diff --git a/internal/experiments/doc.go b/internal/experiments/doc.go index 1d46e4da58..98eda35ceb 100644 --- a/internal/experiments/doc.go +++ b/internal/experiments/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package experiments contains the models and logic for opt-in experiments diff --git a/internal/experiments/errors.go b/internal/experiments/errors.go index 549f37e68c..70d6be2d0c 100644 --- a/internal/experiments/errors.go +++ b/internal/experiments/errors.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package experiments diff --git a/internal/experiments/experiment.go b/internal/experiments/experiment.go index 2ea45c08f8..9c57519347 100644 --- a/internal/experiments/experiment.go +++ b/internal/experiments/experiment.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package experiments diff --git a/internal/experiments/set.go b/internal/experiments/set.go index 5366de57ba..68f56b0982 100644 --- a/internal/experiments/set.go +++ b/internal/experiments/set.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package experiments diff --git a/internal/experiments/testing.go b/internal/experiments/testing.go index d05da30db0..888b461edf 100644 --- a/internal/experiments/testing.go +++ b/internal/experiments/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package experiments diff --git a/internal/genconfig/doc.go b/internal/genconfig/doc.go index c1d7fd46d9..10c9b6d389 100644 --- a/internal/genconfig/doc.go +++ b/internal/genconfig/doc.go @@ -1,2 +1,7 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package genconfig implements config generation from provided state values. package genconfig diff --git a/internal/genconfig/generate_config.go b/internal/genconfig/generate_config.go index 49ddcd68dd..49d733c928 100644 --- a/internal/genconfig/generate_config.go +++ b/internal/genconfig/generate_config.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package genconfig import ( diff --git a/internal/genconfig/generate_config_test.go b/internal/genconfig/generate_config_test.go index 1256eca9a6..7ec69afd38 100644 --- a/internal/genconfig/generate_config_test.go +++ b/internal/genconfig/generate_config_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package genconfig import ( diff --git a/internal/genconfig/generate_config_write.go b/internal/genconfig/generate_config_write.go index d7585a09cb..a1ecbcbcbd 100644 --- a/internal/genconfig/generate_config_write.go +++ b/internal/genconfig/generate_config_write.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package genconfig import ( diff --git a/internal/getmodules/doc.go b/internal/getmodules/doc.go index 5499d9298d..dc1cfbac3a 100644 --- a/internal/getmodules/doc.go +++ b/internal/getmodules/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package getmodules contains the low-level functionality for fetching diff --git a/internal/getmodules/file_detector.go b/internal/getmodules/file_detector.go index fc08a7b8ab..53120b6c93 100644 --- a/internal/getmodules/file_detector.go +++ b/internal/getmodules/file_detector.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getmodules diff --git a/internal/getmodules/getter.go b/internal/getmodules/getter.go index eeeeb0e7d0..c994b18303 100644 --- a/internal/getmodules/getter.go +++ b/internal/getmodules/getter.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getmodules diff --git a/internal/getmodules/installer.go b/internal/getmodules/installer.go index b9bad56645..181b1261a8 100644 --- a/internal/getmodules/installer.go +++ b/internal/getmodules/installer.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getmodules diff --git a/internal/getmodules/package.go b/internal/getmodules/package.go index 1f4115cc4e..4ea8558a19 100644 --- a/internal/getmodules/package.go +++ b/internal/getmodules/package.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getmodules diff --git a/internal/getmodules/subdir.go b/internal/getmodules/subdir.go index 2a38e5fc17..e71e60c2d7 100644 --- a/internal/getmodules/subdir.go +++ b/internal/getmodules/subdir.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getmodules diff --git a/internal/getproviders/didyoumean.go b/internal/getproviders/didyoumean.go index 82446e0673..ccd99e7935 100644 --- a/internal/getproviders/didyoumean.go +++ b/internal/getproviders/didyoumean.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/didyoumean_test.go b/internal/getproviders/didyoumean_test.go index 0b4961c8d7..3790aca938 100644 --- a/internal/getproviders/didyoumean_test.go +++ b/internal/getproviders/didyoumean_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/doc.go b/internal/getproviders/doc.go index 715c9ae42e..71c18eafeb 100644 --- a/internal/getproviders/doc.go +++ b/internal/getproviders/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package getproviders is the lowest-level provider automatic installation diff --git a/internal/getproviders/errors.go b/internal/getproviders/errors.go index e368b90344..ff46df7e2d 100644 --- a/internal/getproviders/errors.go +++ b/internal/getproviders/errors.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/filesystem_mirror_source.go b/internal/getproviders/filesystem_mirror_source.go index 3ebf731e7c..46a182609c 100644 --- a/internal/getproviders/filesystem_mirror_source.go +++ b/internal/getproviders/filesystem_mirror_source.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/filesystem_mirror_source_test.go b/internal/getproviders/filesystem_mirror_source_test.go index f3f43de97a..a530aee675 100644 --- a/internal/getproviders/filesystem_mirror_source_test.go +++ b/internal/getproviders/filesystem_mirror_source_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/filesystem_search.go b/internal/getproviders/filesystem_search.go index 301e2e035b..e7169fe50b 100644 --- a/internal/getproviders/filesystem_search.go +++ b/internal/getproviders/filesystem_search.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/filesystem_search_test.go b/internal/getproviders/filesystem_search_test.go index 8ea4582bd2..65ab62fadf 100644 --- a/internal/getproviders/filesystem_search_test.go +++ b/internal/getproviders/filesystem_search_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/hanging_source.go b/internal/getproviders/hanging_source.go index 16a29eee15..3474e0a963 100644 --- a/internal/getproviders/hanging_source.go +++ b/internal/getproviders/hanging_source.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/hash.go b/internal/getproviders/hash.go index 1f532f4828..b401774fbe 100644 --- a/internal/getproviders/hash.go +++ b/internal/getproviders/hash.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/hash_test.go b/internal/getproviders/hash_test.go index 29dad2a6c6..640417137b 100644 --- a/internal/getproviders/hash_test.go +++ b/internal/getproviders/hash_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/http_mirror_source.go b/internal/getproviders/http_mirror_source.go index 1c3dba9f2d..ecc3f92d69 100644 --- a/internal/getproviders/http_mirror_source.go +++ b/internal/getproviders/http_mirror_source.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/http_mirror_source_test.go b/internal/getproviders/http_mirror_source_test.go index 498e3b0265..79a3f4a9b2 100644 --- a/internal/getproviders/http_mirror_source_test.go +++ b/internal/getproviders/http_mirror_source_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/memoize_source.go b/internal/getproviders/memoize_source.go index b4f7c6811a..d288800283 100644 --- a/internal/getproviders/memoize_source.go +++ b/internal/getproviders/memoize_source.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/memoize_source_test.go b/internal/getproviders/memoize_source_test.go index 5980b5cf54..2b8ac356d7 100644 --- a/internal/getproviders/memoize_source_test.go +++ b/internal/getproviders/memoize_source_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/multi_source.go b/internal/getproviders/multi_source.go index 775266b3e8..249987cb29 100644 --- a/internal/getproviders/multi_source.go +++ b/internal/getproviders/multi_source.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/multi_source_test.go b/internal/getproviders/multi_source_test.go index 6564e59ed3..7ee941ba5a 100644 --- a/internal/getproviders/multi_source_test.go +++ b/internal/getproviders/multi_source_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/package_authentication.go b/internal/getproviders/package_authentication.go index 964dbbcda7..f9a7c967a7 100644 --- a/internal/getproviders/package_authentication.go +++ b/internal/getproviders/package_authentication.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/package_authentication_test.go b/internal/getproviders/package_authentication_test.go index 48b267a25f..339f76f754 100644 --- a/internal/getproviders/package_authentication_test.go +++ b/internal/getproviders/package_authentication_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/public_keys.go b/internal/getproviders/public_keys.go index 97bf7d5b8a..1e7b56de3a 100644 --- a/internal/getproviders/public_keys.go +++ b/internal/getproviders/public_keys.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/registry_client.go b/internal/getproviders/registry_client.go index 8bda554efd..b6889fd709 100644 --- a/internal/getproviders/registry_client.go +++ b/internal/getproviders/registry_client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/registry_client_test.go b/internal/getproviders/registry_client_test.go index 972ab56a1d..29fc4bd17f 100644 --- a/internal/getproviders/registry_client_test.go +++ b/internal/getproviders/registry_client_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/registry_source.go b/internal/getproviders/registry_source.go index bbb3e06d1a..dc06baffdb 100644 --- a/internal/getproviders/registry_source.go +++ b/internal/getproviders/registry_source.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/registry_source_test.go b/internal/getproviders/registry_source_test.go index 73d0391605..74d6bc3402 100644 --- a/internal/getproviders/registry_source_test.go +++ b/internal/getproviders/registry_source_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/source.go b/internal/getproviders/source.go index 33c6e50b62..6d51f44f2e 100644 --- a/internal/getproviders/source.go +++ b/internal/getproviders/source.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/types.go b/internal/getproviders/types.go index 10bbee247a..dffd83eb59 100644 --- a/internal/getproviders/types.go +++ b/internal/getproviders/types.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/getproviders/types_test.go b/internal/getproviders/types_test.go index 4c07f5da89..4d8b69113f 100644 --- a/internal/getproviders/types_test.go +++ b/internal/getproviders/types_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package getproviders diff --git a/internal/grpcwrap/provider.go b/internal/grpcwrap/provider.go index 077426b68e..e0da6ce3c9 100644 --- a/internal/grpcwrap/provider.go +++ b/internal/grpcwrap/provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package grpcwrap diff --git a/internal/grpcwrap/provider6.go b/internal/grpcwrap/provider6.go index e89e8a284f..7624a38da8 100644 --- a/internal/grpcwrap/provider6.go +++ b/internal/grpcwrap/provider6.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package grpcwrap diff --git a/internal/grpcwrap/provisioner.go b/internal/grpcwrap/provisioner.go index 621a061e08..b314f63ecf 100644 --- a/internal/grpcwrap/provisioner.go +++ b/internal/grpcwrap/provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package grpcwrap diff --git a/internal/helper/slowmessage/slowmessage.go b/internal/helper/slowmessage/slowmessage.go index df53e57521..c2f619e3af 100644 --- a/internal/helper/slowmessage/slowmessage.go +++ b/internal/helper/slowmessage/slowmessage.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package slowmessage diff --git a/internal/helper/slowmessage/slowmessage_test.go b/internal/helper/slowmessage/slowmessage_test.go index 48c320fc11..8d5ff14dc7 100644 --- a/internal/helper/slowmessage/slowmessage_test.go +++ b/internal/helper/slowmessage/slowmessage_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package slowmessage diff --git a/internal/httpclient/client.go b/internal/httpclient/client.go index 67a844c7d4..2f1c159663 100644 --- a/internal/httpclient/client.go +++ b/internal/httpclient/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package httpclient diff --git a/internal/httpclient/client_test.go b/internal/httpclient/client_test.go index f56ea6a69d..0428c4c81b 100644 --- a/internal/httpclient/client_test.go +++ b/internal/httpclient/client_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package httpclient diff --git a/internal/httpclient/useragent.go b/internal/httpclient/useragent.go index 720d699aa6..33ab71c084 100644 --- a/internal/httpclient/useragent.go +++ b/internal/httpclient/useragent.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package httpclient diff --git a/internal/httpclient/useragent_test.go b/internal/httpclient/useragent_test.go index b162a7a9cf..9b3cd78f08 100644 --- a/internal/httpclient/useragent_test.go +++ b/internal/httpclient/useragent_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package httpclient diff --git a/internal/initwd/doc.go b/internal/initwd/doc.go index f01516e24f..7fb8fbb001 100644 --- a/internal/initwd/doc.go +++ b/internal/initwd/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package initwd contains various helper functions used by the "tofu init" diff --git a/internal/initwd/from_module.go b/internal/initwd/from_module.go index 1bbfbd48bc..06fd51eb21 100644 --- a/internal/initwd/from_module.go +++ b/internal/initwd/from_module.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package initwd diff --git a/internal/initwd/from_module_test.go b/internal/initwd/from_module_test.go index 39d2b2fb98..388480590a 100644 --- a/internal/initwd/from_module_test.go +++ b/internal/initwd/from_module_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package initwd diff --git a/internal/initwd/module_install.go b/internal/initwd/module_install.go index fc87e5b6ea..f2316e7c7d 100644 --- a/internal/initwd/module_install.go +++ b/internal/initwd/module_install.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package initwd diff --git a/internal/initwd/module_install_hooks.go b/internal/initwd/module_install_hooks.go index 7352634522..0d8c8e8bdf 100644 --- a/internal/initwd/module_install_hooks.go +++ b/internal/initwd/module_install_hooks.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package initwd diff --git a/internal/initwd/module_install_test.go b/internal/initwd/module_install_test.go index ea3ad30c05..2deecac4b6 100644 --- a/internal/initwd/module_install_test.go +++ b/internal/initwd/module_install_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package initwd diff --git a/internal/initwd/testing.go b/internal/initwd/testing.go index f04eed9ffa..8c344dd0fa 100644 --- a/internal/initwd/testing.go +++ b/internal/initwd/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package initwd diff --git a/internal/instances/expander.go b/internal/instances/expander.go index 5b0a0fb75b..8874b909ae 100644 --- a/internal/instances/expander.go +++ b/internal/instances/expander.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package instances diff --git a/internal/instances/expander_test.go b/internal/instances/expander_test.go index 6213befc65..7ed467b465 100644 --- a/internal/instances/expander_test.go +++ b/internal/instances/expander_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package instances diff --git a/internal/instances/expansion_mode.go b/internal/instances/expansion_mode.go index e3588ff240..b1850df766 100644 --- a/internal/instances/expansion_mode.go +++ b/internal/instances/expansion_mode.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package instances diff --git a/internal/instances/instance_key_data.go b/internal/instances/instance_key_data.go index 595f918228..1fa8912037 100644 --- a/internal/instances/instance_key_data.go +++ b/internal/instances/instance_key_data.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package instances diff --git a/internal/instances/set.go b/internal/instances/set.go index 6181194a68..3785a37cda 100644 --- a/internal/instances/set.go +++ b/internal/instances/set.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package instances diff --git a/internal/instances/set_test.go b/internal/instances/set_test.go index 0953f851ea..b0bd264e4f 100644 --- a/internal/instances/set_test.go +++ b/internal/instances/set_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package instances diff --git a/internal/ipaddr/doc.go b/internal/ipaddr/doc.go index e9438c11ad..7104c185d0 100644 --- a/internal/ipaddr/doc.go +++ b/internal/ipaddr/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package ipaddr is a fork of a subset of the Go standard "net" package which diff --git a/internal/lang/blocktoattr/doc.go b/internal/lang/blocktoattr/doc.go index f3cf3222e1..2fdd933d37 100644 --- a/internal/lang/blocktoattr/doc.go +++ b/internal/lang/blocktoattr/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package blocktoattr includes some helper functions that can perform diff --git a/internal/lang/blocktoattr/fixup.go b/internal/lang/blocktoattr/fixup.go index cdcda84651..7f6b17b86d 100644 --- a/internal/lang/blocktoattr/fixup.go +++ b/internal/lang/blocktoattr/fixup.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package blocktoattr diff --git a/internal/lang/blocktoattr/fixup_bench_test.go b/internal/lang/blocktoattr/fixup_bench_test.go index e98209910d..133942adf4 100644 --- a/internal/lang/blocktoattr/fixup_bench_test.go +++ b/internal/lang/blocktoattr/fixup_bench_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package blocktoattr diff --git a/internal/lang/blocktoattr/fixup_test.go b/internal/lang/blocktoattr/fixup_test.go index 4014863f8f..7c06b9d709 100644 --- a/internal/lang/blocktoattr/fixup_test.go +++ b/internal/lang/blocktoattr/fixup_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package blocktoattr diff --git a/internal/lang/blocktoattr/schema.go b/internal/lang/blocktoattr/schema.go index 6fef078cdc..75442f54b0 100644 --- a/internal/lang/blocktoattr/schema.go +++ b/internal/lang/blocktoattr/schema.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package blocktoattr diff --git a/internal/lang/blocktoattr/variables.go b/internal/lang/blocktoattr/variables.go index 6d37f30ebb..b8b31d7e36 100644 --- a/internal/lang/blocktoattr/variables.go +++ b/internal/lang/blocktoattr/variables.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package blocktoattr diff --git a/internal/lang/blocktoattr/variables_test.go b/internal/lang/blocktoattr/variables_test.go index 7a3bda2a5c..683b61d3ea 100644 --- a/internal/lang/blocktoattr/variables_test.go +++ b/internal/lang/blocktoattr/variables_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package blocktoattr diff --git a/internal/lang/data.go b/internal/lang/data.go index 2fbe89719c..e72f734092 100644 --- a/internal/lang/data.go +++ b/internal/lang/data.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package lang diff --git a/internal/lang/data_test.go b/internal/lang/data_test.go index 1cdcad2be8..73e8acac34 100644 --- a/internal/lang/data_test.go +++ b/internal/lang/data_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package lang diff --git a/internal/lang/doc.go b/internal/lang/doc.go index 0c7b7a0032..bf91bf15ea 100644 --- a/internal/lang/doc.go +++ b/internal/lang/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package lang deals with the runtime aspects of OpenTofu's configuration diff --git a/internal/lang/eval.go b/internal/lang/eval.go index 2e4aa9d2cb..1fd58a0410 100644 --- a/internal/lang/eval.go +++ b/internal/lang/eval.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package lang diff --git a/internal/lang/eval_test.go b/internal/lang/eval_test.go index 260f6015e7..43600bb989 100644 --- a/internal/lang/eval_test.go +++ b/internal/lang/eval_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package lang diff --git a/internal/lang/funcs/cidr.go b/internal/lang/funcs/cidr.go index 74cdfa2492..13d1552ef2 100644 --- a/internal/lang/funcs/cidr.go +++ b/internal/lang/funcs/cidr.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/cidr_test.go b/internal/lang/funcs/cidr_test.go index 835b2f8408..a184cdfc2e 100644 --- a/internal/lang/funcs/cidr_test.go +++ b/internal/lang/funcs/cidr_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/collection.go b/internal/lang/funcs/collection.go index 690ee454a4..e1a8ecef0d 100644 --- a/internal/lang/funcs/collection.go +++ b/internal/lang/funcs/collection.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/collection_test.go b/internal/lang/funcs/collection_test.go index 32c378dbcb..900afc6833 100644 --- a/internal/lang/funcs/collection_test.go +++ b/internal/lang/funcs/collection_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/conversion.go b/internal/lang/funcs/conversion.go index c0d8d440d5..6e1bd4835e 100644 --- a/internal/lang/funcs/conversion.go +++ b/internal/lang/funcs/conversion.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/conversion_test.go b/internal/lang/funcs/conversion_test.go index 8170db8d08..63f55bce26 100644 --- a/internal/lang/funcs/conversion_test.go +++ b/internal/lang/funcs/conversion_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/crypto.go b/internal/lang/funcs/crypto.go index b84768d6ab..2c7ae37bb7 100644 --- a/internal/lang/funcs/crypto.go +++ b/internal/lang/funcs/crypto.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/crypto_test.go b/internal/lang/funcs/crypto_test.go index 21af8b2043..a9ae90c923 100644 --- a/internal/lang/funcs/crypto_test.go +++ b/internal/lang/funcs/crypto_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/datetime.go b/internal/lang/funcs/datetime.go index bd107d4827..f53e3ff711 100644 --- a/internal/lang/funcs/datetime.go +++ b/internal/lang/funcs/datetime.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/datetime_test.go b/internal/lang/funcs/datetime_test.go index c792aa5fc9..9f2813eb02 100644 --- a/internal/lang/funcs/datetime_test.go +++ b/internal/lang/funcs/datetime_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/descriptions.go b/internal/lang/funcs/descriptions.go index 7e25c459f0..89654a8af5 100644 --- a/internal/lang/funcs/descriptions.go +++ b/internal/lang/funcs/descriptions.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/encoding.go b/internal/lang/funcs/encoding.go index 63139fe566..4899caebf6 100644 --- a/internal/lang/funcs/encoding.go +++ b/internal/lang/funcs/encoding.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/encoding_test.go b/internal/lang/funcs/encoding_test.go index af05c4ee5c..af235945de 100644 --- a/internal/lang/funcs/encoding_test.go +++ b/internal/lang/funcs/encoding_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/filesystem.go b/internal/lang/funcs/filesystem.go index 8681cc325f..15b496859f 100644 --- a/internal/lang/funcs/filesystem.go +++ b/internal/lang/funcs/filesystem.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/filesystem_test.go b/internal/lang/funcs/filesystem_test.go index 5bb84baf02..28928e1402 100644 --- a/internal/lang/funcs/filesystem_test.go +++ b/internal/lang/funcs/filesystem_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/number.go b/internal/lang/funcs/number.go index 8a8f1410ff..633ef21ebc 100644 --- a/internal/lang/funcs/number.go +++ b/internal/lang/funcs/number.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/number_test.go b/internal/lang/funcs/number_test.go index d63ca4c624..c8ba44ede8 100644 --- a/internal/lang/funcs/number_test.go +++ b/internal/lang/funcs/number_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/redact.go b/internal/lang/funcs/redact.go index 15e86f634b..4c50ce8265 100644 --- a/internal/lang/funcs/redact.go +++ b/internal/lang/funcs/redact.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/redact_test.go b/internal/lang/funcs/redact_test.go index 42374e72ce..ee4708626c 100644 --- a/internal/lang/funcs/redact_test.go +++ b/internal/lang/funcs/redact_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/refinements.go b/internal/lang/funcs/refinements.go index 1ae17e0070..75005d0ac3 100644 --- a/internal/lang/funcs/refinements.go +++ b/internal/lang/funcs/refinements.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package funcs import ( diff --git a/internal/lang/funcs/sensitive.go b/internal/lang/funcs/sensitive.go index b5aa8a5eeb..1256a802e4 100644 --- a/internal/lang/funcs/sensitive.go +++ b/internal/lang/funcs/sensitive.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/sensitive_test.go b/internal/lang/funcs/sensitive_test.go index 2b39613b7d..206a533b90 100644 --- a/internal/lang/funcs/sensitive_test.go +++ b/internal/lang/funcs/sensitive_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/string.go b/internal/lang/funcs/string.go index 454c118a4a..aae9238812 100644 --- a/internal/lang/funcs/string.go +++ b/internal/lang/funcs/string.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/funcs/string_test.go b/internal/lang/funcs/string_test.go index c89d17a67c..8b2bf1c206 100644 --- a/internal/lang/funcs/string_test.go +++ b/internal/lang/funcs/string_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package funcs diff --git a/internal/lang/functions.go b/internal/lang/functions.go index 2e9b57eff6..71638b103a 100644 --- a/internal/lang/functions.go +++ b/internal/lang/functions.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package lang diff --git a/internal/lang/functions_descriptions_test.go b/internal/lang/functions_descriptions_test.go index 08f4de1d27..45b6e391b7 100644 --- a/internal/lang/functions_descriptions_test.go +++ b/internal/lang/functions_descriptions_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package lang diff --git a/internal/lang/functions_test.go b/internal/lang/functions_test.go index 34bc7dda01..2608dca067 100644 --- a/internal/lang/functions_test.go +++ b/internal/lang/functions_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package lang diff --git a/internal/lang/globalref/analyzer.go b/internal/lang/globalref/analyzer.go index 0826a9f7c4..7b723c4d65 100644 --- a/internal/lang/globalref/analyzer.go +++ b/internal/lang/globalref/analyzer.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package globalref diff --git a/internal/lang/globalref/analyzer_contributing_resources.go b/internal/lang/globalref/analyzer_contributing_resources.go index 8c6e3fa8b6..12991951b5 100644 --- a/internal/lang/globalref/analyzer_contributing_resources.go +++ b/internal/lang/globalref/analyzer_contributing_resources.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package globalref diff --git a/internal/lang/globalref/analyzer_contributing_resources_test.go b/internal/lang/globalref/analyzer_contributing_resources_test.go index 0e71121d84..4ed1013d2f 100644 --- a/internal/lang/globalref/analyzer_contributing_resources_test.go +++ b/internal/lang/globalref/analyzer_contributing_resources_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package globalref diff --git a/internal/lang/globalref/analyzer_meta_references.go b/internal/lang/globalref/analyzer_meta_references.go index a8d0c07a5a..2b8473b725 100644 --- a/internal/lang/globalref/analyzer_meta_references.go +++ b/internal/lang/globalref/analyzer_meta_references.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package globalref diff --git a/internal/lang/globalref/analyzer_meta_references_shortcuts.go b/internal/lang/globalref/analyzer_meta_references_shortcuts.go index 30e59ed3c8..0a346b4195 100644 --- a/internal/lang/globalref/analyzer_meta_references_shortcuts.go +++ b/internal/lang/globalref/analyzer_meta_references_shortcuts.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package globalref diff --git a/internal/lang/globalref/analyzer_meta_references_test.go b/internal/lang/globalref/analyzer_meta_references_test.go index 838152cd37..a2f3ee4fb5 100644 --- a/internal/lang/globalref/analyzer_meta_references_test.go +++ b/internal/lang/globalref/analyzer_meta_references_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package globalref diff --git a/internal/lang/globalref/analyzer_test.go b/internal/lang/globalref/analyzer_test.go index f7e76b92a4..607885ac5a 100644 --- a/internal/lang/globalref/analyzer_test.go +++ b/internal/lang/globalref/analyzer_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package globalref diff --git a/internal/lang/globalref/doc.go b/internal/lang/globalref/doc.go index cca7eeff2d..9aaab2130c 100644 --- a/internal/lang/globalref/doc.go +++ b/internal/lang/globalref/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package globalref is home to some analysis algorithms that aim to answer diff --git a/internal/lang/globalref/reference.go b/internal/lang/globalref/reference.go index 23573c2674..f52fdb4e61 100644 --- a/internal/lang/globalref/reference.go +++ b/internal/lang/globalref/reference.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package globalref diff --git a/internal/lang/marks/marks.go b/internal/lang/marks/marks.go index 14948a9b41..302f2891c4 100644 --- a/internal/lang/marks/marks.go +++ b/internal/lang/marks/marks.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package marks diff --git a/internal/lang/references.go b/internal/lang/references.go index c792785160..99ddfd5b48 100644 --- a/internal/lang/references.go +++ b/internal/lang/references.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package lang diff --git a/internal/lang/scope.go b/internal/lang/scope.go index bdba3c2de1..2eaef77185 100644 --- a/internal/lang/scope.go +++ b/internal/lang/scope.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package lang diff --git a/internal/lang/types/type_type.go b/internal/lang/types/type_type.go index e0c3cb9a4b..d5457e0173 100644 --- a/internal/lang/types/type_type.go +++ b/internal/lang/types/type_type.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package types diff --git a/internal/lang/types/types.go b/internal/lang/types/types.go index baa79396ed..e437721052 100644 --- a/internal/lang/types/types.go +++ b/internal/lang/types/types.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package types contains non-standard cty types used only within OpenTofu. diff --git a/internal/legacy/helper/acctest/acctest.go b/internal/legacy/helper/acctest/acctest.go index 93f82d2fc3..7beaf4f92c 100644 --- a/internal/legacy/helper/acctest/acctest.go +++ b/internal/legacy/helper/acctest/acctest.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package acctest contains for OpenTofu Acceptance Tests diff --git a/internal/legacy/helper/acctest/random.go b/internal/legacy/helper/acctest/random.go index bbbc48d103..7bae86fa83 100644 --- a/internal/legacy/helper/acctest/random.go +++ b/internal/legacy/helper/acctest/random.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package acctest diff --git a/internal/legacy/helper/acctest/random_test.go b/internal/legacy/helper/acctest/random_test.go index 5ae494ce8b..922e384d16 100644 --- a/internal/legacy/helper/acctest/random_test.go +++ b/internal/legacy/helper/acctest/random_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package acctest diff --git a/internal/legacy/helper/acctest/remotetests.go b/internal/legacy/helper/acctest/remotetests.go index 247557586d..d662ff375e 100644 --- a/internal/legacy/helper/acctest/remotetests.go +++ b/internal/legacy/helper/acctest/remotetests.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package acctest diff --git a/internal/legacy/helper/hashcode/hashcode.go b/internal/legacy/helper/hashcode/hashcode.go index 9c52853251..9336dd6354 100644 --- a/internal/legacy/helper/hashcode/hashcode.go +++ b/internal/legacy/helper/hashcode/hashcode.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package hashcode diff --git a/internal/legacy/helper/hashcode/hashcode_test.go b/internal/legacy/helper/hashcode/hashcode_test.go index 3fb60492e8..8834a3f634 100644 --- a/internal/legacy/helper/hashcode/hashcode_test.go +++ b/internal/legacy/helper/hashcode/hashcode_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package hashcode diff --git a/internal/legacy/helper/schema/backend.go b/internal/legacy/helper/schema/backend.go index 976e9a3260..83b5c7a325 100644 --- a/internal/legacy/helper/schema/backend.go +++ b/internal/legacy/helper/schema/backend.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/backend_test.go b/internal/legacy/helper/schema/backend_test.go index ca28e06068..19ec15765e 100644 --- a/internal/legacy/helper/schema/backend_test.go +++ b/internal/legacy/helper/schema/backend_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/core_schema.go b/internal/legacy/helper/schema/core_schema.go index 99c0afafd4..930950c159 100644 --- a/internal/legacy/helper/schema/core_schema.go +++ b/internal/legacy/helper/schema/core_schema.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/core_schema_test.go b/internal/legacy/helper/schema/core_schema_test.go index 440a07d4e3..ac671f45d8 100644 --- a/internal/legacy/helper/schema/core_schema_test.go +++ b/internal/legacy/helper/schema/core_schema_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/data_source_resource_shim.go b/internal/legacy/helper/schema/data_source_resource_shim.go index 3a01c0f32f..586afe039f 100644 --- a/internal/legacy/helper/schema/data_source_resource_shim.go +++ b/internal/legacy/helper/schema/data_source_resource_shim.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/doc.go b/internal/legacy/helper/schema/doc.go index ac96b15e63..80cf5cd0f6 100644 --- a/internal/legacy/helper/schema/doc.go +++ b/internal/legacy/helper/schema/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package schema is a legacy package that used to represent the SDK, which is now its own diff --git a/internal/legacy/helper/schema/equal.go b/internal/legacy/helper/schema/equal.go index 92a02b3b3a..eaea311e5d 100644 --- a/internal/legacy/helper/schema/equal.go +++ b/internal/legacy/helper/schema/equal.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_reader.go b/internal/legacy/helper/schema/field_reader.go index cd72a61fa6..8c66a578bc 100644 --- a/internal/legacy/helper/schema/field_reader.go +++ b/internal/legacy/helper/schema/field_reader.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_reader_config.go b/internal/legacy/helper/schema/field_reader_config.go index aeb58162aa..6b8479c33e 100644 --- a/internal/legacy/helper/schema/field_reader_config.go +++ b/internal/legacy/helper/schema/field_reader_config.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_reader_config_test.go b/internal/legacy/helper/schema/field_reader_config_test.go index 4925579f08..4771082c54 100644 --- a/internal/legacy/helper/schema/field_reader_config_test.go +++ b/internal/legacy/helper/schema/field_reader_config_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_reader_diff.go b/internal/legacy/helper/schema/field_reader_diff.go index 7161c5825f..5fdd11357d 100644 --- a/internal/legacy/helper/schema/field_reader_diff.go +++ b/internal/legacy/helper/schema/field_reader_diff.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_reader_diff_test.go b/internal/legacy/helper/schema/field_reader_diff_test.go index 19902db3cd..3bb4e9df11 100644 --- a/internal/legacy/helper/schema/field_reader_diff_test.go +++ b/internal/legacy/helper/schema/field_reader_diff_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_reader_map.go b/internal/legacy/helper/schema/field_reader_map.go index 0a96a24b6e..b3a1cbca5a 100644 --- a/internal/legacy/helper/schema/field_reader_map.go +++ b/internal/legacy/helper/schema/field_reader_map.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_reader_map_test.go b/internal/legacy/helper/schema/field_reader_map_test.go index f3df889d16..d0439be9a5 100644 --- a/internal/legacy/helper/schema/field_reader_map_test.go +++ b/internal/legacy/helper/schema/field_reader_map_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_reader_multi.go b/internal/legacy/helper/schema/field_reader_multi.go index 82cce3632a..0b3ec1efcb 100644 --- a/internal/legacy/helper/schema/field_reader_multi.go +++ b/internal/legacy/helper/schema/field_reader_multi.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_reader_multi_test.go b/internal/legacy/helper/schema/field_reader_multi_test.go index a2560ff7fd..1a3f42e350 100644 --- a/internal/legacy/helper/schema/field_reader_multi_test.go +++ b/internal/legacy/helper/schema/field_reader_multi_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_reader_test.go b/internal/legacy/helper/schema/field_reader_test.go index 4c5060fd55..6d65bcfdef 100644 --- a/internal/legacy/helper/schema/field_reader_test.go +++ b/internal/legacy/helper/schema/field_reader_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_writer.go b/internal/legacy/helper/schema/field_writer.go index be4fae5060..0c0179d732 100644 --- a/internal/legacy/helper/schema/field_writer.go +++ b/internal/legacy/helper/schema/field_writer.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_writer_map.go b/internal/legacy/helper/schema/field_writer_map.go index 52bbe3493e..f1b9508f8a 100644 --- a/internal/legacy/helper/schema/field_writer_map.go +++ b/internal/legacy/helper/schema/field_writer_map.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/field_writer_map_test.go b/internal/legacy/helper/schema/field_writer_map_test.go index db0b71140d..ec58104581 100644 --- a/internal/legacy/helper/schema/field_writer_map_test.go +++ b/internal/legacy/helper/schema/field_writer_map_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/provider.go b/internal/legacy/helper/schema/provider.go index 156c730388..87891c5459 100644 --- a/internal/legacy/helper/schema/provider.go +++ b/internal/legacy/helper/schema/provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/provider_test.go b/internal/legacy/helper/schema/provider_test.go index 48d2de525d..c6554354ba 100644 --- a/internal/legacy/helper/schema/provider_test.go +++ b/internal/legacy/helper/schema/provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/provisioner.go b/internal/legacy/helper/schema/provisioner.go index 9ddf978d64..5ff5ba29fc 100644 --- a/internal/legacy/helper/schema/provisioner.go +++ b/internal/legacy/helper/schema/provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/provisioner_test.go b/internal/legacy/helper/schema/provisioner_test.go index ba4a279442..009d6a6a42 100644 --- a/internal/legacy/helper/schema/provisioner_test.go +++ b/internal/legacy/helper/schema/provisioner_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/resource.go b/internal/legacy/helper/schema/resource.go index cb175a54c5..969f21cbf3 100644 --- a/internal/legacy/helper/schema/resource.go +++ b/internal/legacy/helper/schema/resource.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/resource_data.go b/internal/legacy/helper/schema/resource_data.go index 53aa70842c..542d564416 100644 --- a/internal/legacy/helper/schema/resource_data.go +++ b/internal/legacy/helper/schema/resource_data.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/resource_data_get_source.go b/internal/legacy/helper/schema/resource_data_get_source.go index 3684ffc3bf..096af9a348 100644 --- a/internal/legacy/helper/schema/resource_data_get_source.go +++ b/internal/legacy/helper/schema/resource_data_get_source.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/resource_data_test.go b/internal/legacy/helper/schema/resource_data_test.go index c1ae5cd9cd..47c79e1dae 100644 --- a/internal/legacy/helper/schema/resource_data_test.go +++ b/internal/legacy/helper/schema/resource_data_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/resource_diff.go b/internal/legacy/helper/schema/resource_diff.go index 9917521727..a52742484f 100644 --- a/internal/legacy/helper/schema/resource_diff.go +++ b/internal/legacy/helper/schema/resource_diff.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/resource_diff_test.go b/internal/legacy/helper/schema/resource_diff_test.go index 56ec2f1466..9067153cb7 100644 --- a/internal/legacy/helper/schema/resource_diff_test.go +++ b/internal/legacy/helper/schema/resource_diff_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/resource_importer.go b/internal/legacy/helper/schema/resource_importer.go index 530ea7c642..7ae29ae634 100644 --- a/internal/legacy/helper/schema/resource_importer.go +++ b/internal/legacy/helper/schema/resource_importer.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/resource_test.go b/internal/legacy/helper/schema/resource_test.go index 35eb2c0cf0..001c138a3e 100644 --- a/internal/legacy/helper/schema/resource_test.go +++ b/internal/legacy/helper/schema/resource_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/resource_timeout.go b/internal/legacy/helper/schema/resource_timeout.go index 7d038df55c..13996c1a27 100644 --- a/internal/legacy/helper/schema/resource_timeout.go +++ b/internal/legacy/helper/schema/resource_timeout.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/resource_timeout_test.go b/internal/legacy/helper/schema/resource_timeout_test.go index f1fc91b9ed..126d6d0ee3 100644 --- a/internal/legacy/helper/schema/resource_timeout_test.go +++ b/internal/legacy/helper/schema/resource_timeout_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/schema.go b/internal/legacy/helper/schema/schema.go index b89e0ea5fe..00365c9165 100644 --- a/internal/legacy/helper/schema/schema.go +++ b/internal/legacy/helper/schema/schema.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // schema is a high-level framework for easily writing new providers diff --git a/internal/legacy/helper/schema/schema_test.go b/internal/legacy/helper/schema/schema_test.go index 118a9455fd..d6d873aa70 100644 --- a/internal/legacy/helper/schema/schema_test.go +++ b/internal/legacy/helper/schema/schema_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/serialize.go b/internal/legacy/helper/schema/serialize.go index a36f85bab3..5acb1c67e4 100644 --- a/internal/legacy/helper/schema/serialize.go +++ b/internal/legacy/helper/schema/serialize.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/serialize_test.go b/internal/legacy/helper/schema/serialize_test.go index 499a603df5..0ab41f41f4 100644 --- a/internal/legacy/helper/schema/serialize_test.go +++ b/internal/legacy/helper/schema/serialize_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/set.go b/internal/legacy/helper/schema/set.go index 53054fb6d0..13235c12e0 100644 --- a/internal/legacy/helper/schema/set.go +++ b/internal/legacy/helper/schema/set.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/set_test.go b/internal/legacy/helper/schema/set_test.go index 1d37b24ac8..eb9e0aae7c 100644 --- a/internal/legacy/helper/schema/set_test.go +++ b/internal/legacy/helper/schema/set_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/shims.go b/internal/legacy/helper/schema/shims.go index dac6be7e9c..c92fdb1660 100644 --- a/internal/legacy/helper/schema/shims.go +++ b/internal/legacy/helper/schema/shims.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/shims_test.go b/internal/legacy/helper/schema/shims_test.go index 5fda7154ac..aa62800a7e 100644 --- a/internal/legacy/helper/schema/shims_test.go +++ b/internal/legacy/helper/schema/shims_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/testing.go b/internal/legacy/helper/schema/testing.go index 5c07530cee..4bce1f7787 100644 --- a/internal/legacy/helper/schema/testing.go +++ b/internal/legacy/helper/schema/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/helper/schema/valuetype.go b/internal/legacy/helper/schema/valuetype.go index 70e73cf908..22954e7623 100644 --- a/internal/legacy/helper/schema/valuetype.go +++ b/internal/legacy/helper/schema/valuetype.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package schema diff --git a/internal/legacy/tofu/context_components.go b/internal/legacy/tofu/context_components.go index c598570562..890a3549c1 100644 --- a/internal/legacy/tofu/context_components.go +++ b/internal/legacy/tofu/context_components.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/diff.go b/internal/legacy/tofu/diff.go index c6ec760c53..b90bcd9ae4 100644 --- a/internal/legacy/tofu/diff.go +++ b/internal/legacy/tofu/diff.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/diff_test.go b/internal/legacy/tofu/diff_test.go index 2c992681f4..957e68b0d2 100644 --- a/internal/legacy/tofu/diff_test.go +++ b/internal/legacy/tofu/diff_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/features.go b/internal/legacy/tofu/features.go index 34599ad9c3..5f3fe1e920 100644 --- a/internal/legacy/tofu/features.go +++ b/internal/legacy/tofu/features.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/instancetype.go b/internal/legacy/tofu/instancetype.go index 2c8e808e61..3217c59cea 100644 --- a/internal/legacy/tofu/instancetype.go +++ b/internal/legacy/tofu/instancetype.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/provider_mock.go b/internal/legacy/tofu/provider_mock.go index 9018ee45d9..001660b771 100644 --- a/internal/legacy/tofu/provider_mock.go +++ b/internal/legacy/tofu/provider_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/provisioner_mock.go b/internal/legacy/tofu/provisioner_mock.go index c6d7a9ad04..1e2c19f3dc 100644 --- a/internal/legacy/tofu/provisioner_mock.go +++ b/internal/legacy/tofu/provisioner_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/resource.go b/internal/legacy/tofu/resource.go index dc99f4ab5f..f14a7cda2f 100644 --- a/internal/legacy/tofu/resource.go +++ b/internal/legacy/tofu/resource.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/resource_address.go b/internal/legacy/tofu/resource_address.go index 421dd278d1..37257a3458 100644 --- a/internal/legacy/tofu/resource_address.go +++ b/internal/legacy/tofu/resource_address.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/resource_address_test.go b/internal/legacy/tofu/resource_address_test.go index f4ce731aae..eea6ee86fb 100644 --- a/internal/legacy/tofu/resource_address_test.go +++ b/internal/legacy/tofu/resource_address_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/resource_mode.go b/internal/legacy/tofu/resource_mode.go index 4592a802f4..a366f56c80 100644 --- a/internal/legacy/tofu/resource_mode.go +++ b/internal/legacy/tofu/resource_mode.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/resource_provider.go b/internal/legacy/tofu/resource_provider.go index 23c927fe1c..2628fbfa0f 100644 --- a/internal/legacy/tofu/resource_provider.go +++ b/internal/legacy/tofu/resource_provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/resource_provider_mock.go b/internal/legacy/tofu/resource_provider_mock.go index 6654429a09..1cca519559 100644 --- a/internal/legacy/tofu/resource_provider_mock.go +++ b/internal/legacy/tofu/resource_provider_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/resource_provisioner.go b/internal/legacy/tofu/resource_provisioner.go index 318724dd0d..e9c74fab30 100644 --- a/internal/legacy/tofu/resource_provisioner.go +++ b/internal/legacy/tofu/resource_provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/resource_provisioner_mock.go b/internal/legacy/tofu/resource_provisioner_mock.go index b53f795afa..455b19b388 100644 --- a/internal/legacy/tofu/resource_provisioner_mock.go +++ b/internal/legacy/tofu/resource_provisioner_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/resource_test.go b/internal/legacy/tofu/resource_test.go index e396367ff0..1a0f2c42e5 100644 --- a/internal/legacy/tofu/resource_test.go +++ b/internal/legacy/tofu/resource_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/schemas.go b/internal/legacy/tofu/schemas.go index ea3f1e9c74..a230f8d1d2 100644 --- a/internal/legacy/tofu/schemas.go +++ b/internal/legacy/tofu/schemas.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/state.go b/internal/legacy/tofu/state.go index 1d9ccc25f7..dea949b3c9 100644 --- a/internal/legacy/tofu/state.go +++ b/internal/legacy/tofu/state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/state_filter.go b/internal/legacy/tofu/state_filter.go index d51f09ae7a..72afe2e932 100644 --- a/internal/legacy/tofu/state_filter.go +++ b/internal/legacy/tofu/state_filter.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/state_test.go b/internal/legacy/tofu/state_test.go index 5946b7e561..041a4f1032 100644 --- a/internal/legacy/tofu/state_test.go +++ b/internal/legacy/tofu/state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/state_upgrade_v1_to_v2.go b/internal/legacy/tofu/state_upgrade_v1_to_v2.go index 16e83c4fe7..31175087d8 100644 --- a/internal/legacy/tofu/state_upgrade_v1_to_v2.go +++ b/internal/legacy/tofu/state_upgrade_v1_to_v2.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/state_upgrade_v2_to_v3.go b/internal/legacy/tofu/state_upgrade_v2_to_v3.go index 4515965353..d4665c895f 100644 --- a/internal/legacy/tofu/state_upgrade_v2_to_v3.go +++ b/internal/legacy/tofu/state_upgrade_v2_to_v3.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/state_v1.go b/internal/legacy/tofu/state_v1.go index 65eb5ff842..6fe0fd3b5b 100644 --- a/internal/legacy/tofu/state_v1.go +++ b/internal/legacy/tofu/state_v1.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/testing.go b/internal/legacy/tofu/testing.go index 3113fedbc6..cb4ea3729a 100644 --- a/internal/legacy/tofu/testing.go +++ b/internal/legacy/tofu/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/ui_input.go b/internal/legacy/tofu/ui_input.go index 2bd06b5187..bc1569cd82 100644 --- a/internal/legacy/tofu/ui_input.go +++ b/internal/legacy/tofu/ui_input.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/ui_input_mock.go b/internal/legacy/tofu/ui_input_mock.go index 7952379ac4..9e2f2891a7 100644 --- a/internal/legacy/tofu/ui_input_mock.go +++ b/internal/legacy/tofu/ui_input_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/ui_input_prefix.go b/internal/legacy/tofu/ui_input_prefix.go index 634a926d76..a755c3319b 100644 --- a/internal/legacy/tofu/ui_input_prefix.go +++ b/internal/legacy/tofu/ui_input_prefix.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/ui_input_prefix_test.go b/internal/legacy/tofu/ui_input_prefix_test.go index 11bdc98d1e..423f97f8f2 100644 --- a/internal/legacy/tofu/ui_input_prefix_test.go +++ b/internal/legacy/tofu/ui_input_prefix_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/ui_output.go b/internal/legacy/tofu/ui_output.go index 1ae3a92c0e..3378a52157 100644 --- a/internal/legacy/tofu/ui_output.go +++ b/internal/legacy/tofu/ui_output.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/ui_output_callback.go b/internal/legacy/tofu/ui_output_callback.go index 82a0bd9c12..02188ba9b8 100644 --- a/internal/legacy/tofu/ui_output_callback.go +++ b/internal/legacy/tofu/ui_output_callback.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/ui_output_callback_test.go b/internal/legacy/tofu/ui_output_callback_test.go index 8e170ef515..1494934d22 100644 --- a/internal/legacy/tofu/ui_output_callback_test.go +++ b/internal/legacy/tofu/ui_output_callback_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/ui_output_mock.go b/internal/legacy/tofu/ui_output_mock.go index 4ecc6c9bc1..3fa45007bf 100644 --- a/internal/legacy/tofu/ui_output_mock.go +++ b/internal/legacy/tofu/ui_output_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/ui_output_mock_test.go b/internal/legacy/tofu/ui_output_mock_test.go index b15372c1a1..7f0ffa5aa7 100644 --- a/internal/legacy/tofu/ui_output_mock_test.go +++ b/internal/legacy/tofu/ui_output_mock_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/upgrade_state_v1_test.go b/internal/legacy/tofu/upgrade_state_v1_test.go index 22f78b5418..f5e4137860 100644 --- a/internal/legacy/tofu/upgrade_state_v1_test.go +++ b/internal/legacy/tofu/upgrade_state_v1_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/upgrade_state_v2_test.go b/internal/legacy/tofu/upgrade_state_v2_test.go index d60cd05d92..93bb34f6f6 100644 --- a/internal/legacy/tofu/upgrade_state_v2_test.go +++ b/internal/legacy/tofu/upgrade_state_v2_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/util.go b/internal/legacy/tofu/util.go index d290ec8456..de6209c4e8 100644 --- a/internal/legacy/tofu/util.go +++ b/internal/legacy/tofu/util.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/util_test.go b/internal/legacy/tofu/util_test.go index c275561866..f25866005a 100644 --- a/internal/legacy/tofu/util_test.go +++ b/internal/legacy/tofu/util_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/legacy/tofu/version.go b/internal/legacy/tofu/version.go index dcf0ac5e66..cfc91e954e 100644 --- a/internal/legacy/tofu/version.go +++ b/internal/legacy/tofu/version.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/logging/indent.go b/internal/logging/indent.go index b3c9df4c7a..9a4f7affa6 100644 --- a/internal/logging/indent.go +++ b/internal/logging/indent.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package logging diff --git a/internal/logging/indent_test.go b/internal/logging/indent_test.go index b358fcb2d5..f27f52e94c 100644 --- a/internal/logging/indent_test.go +++ b/internal/logging/indent_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package logging diff --git a/internal/logging/logging.go b/internal/logging/logging.go index 3d2e4bb4ef..13a8e15846 100644 --- a/internal/logging/logging.go +++ b/internal/logging/logging.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package logging diff --git a/internal/logging/panic.go b/internal/logging/panic.go index fcb961a6be..9b3a87205c 100644 --- a/internal/logging/panic.go +++ b/internal/logging/panic.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package logging diff --git a/internal/logging/panic_test.go b/internal/logging/panic_test.go index 0b34464e15..16ceb96cab 100644 --- a/internal/logging/panic_test.go +++ b/internal/logging/panic_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package logging diff --git a/internal/modsdir/doc.go b/internal/modsdir/doc.go index 63f722b05a..dae5137ed5 100644 --- a/internal/modsdir/doc.go +++ b/internal/modsdir/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package modsdir is an internal package containing the model types used to diff --git a/internal/modsdir/manifest.go b/internal/modsdir/manifest.go index fc69d8a782..82ac2fa320 100644 --- a/internal/modsdir/manifest.go +++ b/internal/modsdir/manifest.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package modsdir diff --git a/internal/modsdir/paths.go b/internal/modsdir/paths.go index 0352ca22a6..9a843bfafd 100644 --- a/internal/modsdir/paths.go +++ b/internal/modsdir/paths.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package modsdir diff --git a/internal/moduledeps/dependencies.go b/internal/moduledeps/dependencies.go index 903b901e2a..2aee4db1c7 100644 --- a/internal/moduledeps/dependencies.go +++ b/internal/moduledeps/dependencies.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package moduledeps diff --git a/internal/moduledeps/doc.go b/internal/moduledeps/doc.go index e8dfcdd4ea..cdb2fdd301 100644 --- a/internal/moduledeps/doc.go +++ b/internal/moduledeps/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package moduledeps contains types that can be used to describe the diff --git a/internal/moduledeps/module.go b/internal/moduledeps/module.go index 158501696c..bd318e67bb 100644 --- a/internal/moduledeps/module.go +++ b/internal/moduledeps/module.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package moduledeps diff --git a/internal/moduledeps/module_test.go b/internal/moduledeps/module_test.go index a933fef608..db1c4daddc 100644 --- a/internal/moduledeps/module_test.go +++ b/internal/moduledeps/module_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package moduledeps diff --git a/internal/moduletest/file.go b/internal/moduletest/file.go index 87c77a37c0..bb36c5c4b5 100644 --- a/internal/moduletest/file.go +++ b/internal/moduletest/file.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package moduletest import ( diff --git a/internal/moduletest/run.go b/internal/moduletest/run.go index 33530a0930..1f9195051b 100644 --- a/internal/moduletest/run.go +++ b/internal/moduletest/run.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package moduletest import ( diff --git a/internal/moduletest/run_test.go b/internal/moduletest/run_test.go index 951f05a22d..5e32152aec 100644 --- a/internal/moduletest/run_test.go +++ b/internal/moduletest/run_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package moduletest import ( diff --git a/internal/moduletest/status.go b/internal/moduletest/status.go index ecb60bf26d..249ab64047 100644 --- a/internal/moduletest/status.go +++ b/internal/moduletest/status.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package moduletest // Status represents the status of a test case, and is defined as an iota within diff --git a/internal/moduletest/suite.go b/internal/moduletest/suite.go index 7fdb27cce8..21aeba5216 100644 --- a/internal/moduletest/suite.go +++ b/internal/moduletest/suite.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package moduletest type Suite struct { diff --git a/internal/plans/action.go b/internal/plans/action.go index a27b20fc63..c93cca2720 100644 --- a/internal/plans/action.go +++ b/internal/plans/action.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plans diff --git a/internal/plans/changes.go b/internal/plans/changes.go index 5284326a84..a62bdc5e6a 100644 --- a/internal/plans/changes.go +++ b/internal/plans/changes.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plans diff --git a/internal/plans/changes_src.go b/internal/plans/changes_src.go index 09c891c485..6ce5071fc2 100644 --- a/internal/plans/changes_src.go +++ b/internal/plans/changes_src.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plans diff --git a/internal/plans/changes_state.go b/internal/plans/changes_state.go index e840c6d5ca..2e3bb8fa78 100644 --- a/internal/plans/changes_state.go +++ b/internal/plans/changes_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plans diff --git a/internal/plans/changes_sync.go b/internal/plans/changes_sync.go index f21504f845..ba7beb9d4e 100644 --- a/internal/plans/changes_sync.go +++ b/internal/plans/changes_sync.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plans diff --git a/internal/plans/changes_test.go b/internal/plans/changes_test.go index 46b3ff57af..4ae1e5f7f0 100644 --- a/internal/plans/changes_test.go +++ b/internal/plans/changes_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plans diff --git a/internal/plans/doc.go b/internal/plans/doc.go index 6529d16375..7c55901dc6 100644 --- a/internal/plans/doc.go +++ b/internal/plans/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package plans contains the types that are used to represent OpenTofu plans. diff --git a/internal/plans/dynamic_value.go b/internal/plans/dynamic_value.go index cba38868c1..b02e8e16d0 100644 --- a/internal/plans/dynamic_value.go +++ b/internal/plans/dynamic_value.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plans diff --git a/internal/plans/internal/planproto/doc.go b/internal/plans/internal/planproto/doc.go index 143fa9ea09..b81eb218ab 100644 --- a/internal/plans/internal/planproto/doc.go +++ b/internal/plans/internal/planproto/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package planproto is home to the Go stubs generated from the tfplan protobuf diff --git a/internal/plans/internal/planproto/planfile.pb.go b/internal/plans/internal/planproto/planfile.pb.go index bc943432e6..0176270df3 100644 --- a/internal/plans/internal/planproto/planfile.pb.go +++ b/internal/plans/internal/planproto/planfile.pb.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Code generated by protoc-gen-go. DO NOT EDIT. diff --git a/internal/plans/internal/planproto/planfile.proto b/internal/plans/internal/planproto/planfile.proto index 7b85b2b290..cff2e0b31b 100644 --- a/internal/plans/internal/planproto/planfile.proto +++ b/internal/plans/internal/planproto/planfile.proto @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 syntax = "proto3"; diff --git a/internal/plans/mode.go b/internal/plans/mode.go index d8017caa2c..d9b9273733 100644 --- a/internal/plans/mode.go +++ b/internal/plans/mode.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plans diff --git a/internal/plans/objchange/compatible.go b/internal/plans/objchange/compatible.go index bd66302382..45653fe488 100644 --- a/internal/plans/objchange/compatible.go +++ b/internal/plans/objchange/compatible.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package objchange diff --git a/internal/plans/objchange/compatible_test.go b/internal/plans/objchange/compatible_test.go index d5990ec764..0582f746af 100644 --- a/internal/plans/objchange/compatible_test.go +++ b/internal/plans/objchange/compatible_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package objchange diff --git a/internal/plans/objchange/doc.go b/internal/plans/objchange/doc.go index b3a136ece9..c6f78f95f8 100644 --- a/internal/plans/objchange/doc.go +++ b/internal/plans/objchange/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package objchange deals with the business logic of taking a prior state diff --git a/internal/plans/objchange/lcs.go b/internal/plans/objchange/lcs.go index 4e45c8c550..ef0834b5a0 100644 --- a/internal/plans/objchange/lcs.go +++ b/internal/plans/objchange/lcs.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package objchange diff --git a/internal/plans/objchange/lcs_test.go b/internal/plans/objchange/lcs_test.go index 74e9b3a671..b0c5ea6973 100644 --- a/internal/plans/objchange/lcs_test.go +++ b/internal/plans/objchange/lcs_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package objchange diff --git a/internal/plans/objchange/normalize_obj.go b/internal/plans/objchange/normalize_obj.go index e168b692b2..36ceec2469 100644 --- a/internal/plans/objchange/normalize_obj.go +++ b/internal/plans/objchange/normalize_obj.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package objchange diff --git a/internal/plans/objchange/normalize_obj_test.go b/internal/plans/objchange/normalize_obj_test.go index 5e5530fea9..6bc1996f6a 100644 --- a/internal/plans/objchange/normalize_obj_test.go +++ b/internal/plans/objchange/normalize_obj_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package objchange diff --git a/internal/plans/objchange/objchange.go b/internal/plans/objchange/objchange.go index aeaae16e83..f3f0c7d734 100644 --- a/internal/plans/objchange/objchange.go +++ b/internal/plans/objchange/objchange.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package objchange diff --git a/internal/plans/objchange/objchange_test.go b/internal/plans/objchange/objchange_test.go index e3ad8ac6dc..917a2c33e9 100644 --- a/internal/plans/objchange/objchange_test.go +++ b/internal/plans/objchange/objchange_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package objchange diff --git a/internal/plans/objchange/plan_valid.go b/internal/plans/objchange/plan_valid.go index 4033913f4e..400829b268 100644 --- a/internal/plans/objchange/plan_valid.go +++ b/internal/plans/objchange/plan_valid.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package objchange diff --git a/internal/plans/objchange/plan_valid_test.go b/internal/plans/objchange/plan_valid_test.go index 1e2a11cf91..0654789316 100644 --- a/internal/plans/objchange/plan_valid_test.go +++ b/internal/plans/objchange/plan_valid_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package objchange diff --git a/internal/plans/plan.go b/internal/plans/plan.go index 5bda8f7fba..b619ffc4ef 100644 --- a/internal/plans/plan.go +++ b/internal/plans/plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plans diff --git a/internal/plans/plan_test.go b/internal/plans/plan_test.go index fd71a0739a..b650acc089 100644 --- a/internal/plans/plan_test.go +++ b/internal/plans/plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plans diff --git a/internal/plans/planfile/config_snapshot.go b/internal/plans/planfile/config_snapshot.go index 5f9f266b48..20ad2166e2 100644 --- a/internal/plans/planfile/config_snapshot.go +++ b/internal/plans/planfile/config_snapshot.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package planfile diff --git a/internal/plans/planfile/config_snapshot_test.go b/internal/plans/planfile/config_snapshot_test.go index cd48ed1094..197a19bae3 100644 --- a/internal/plans/planfile/config_snapshot_test.go +++ b/internal/plans/planfile/config_snapshot_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package planfile diff --git a/internal/plans/planfile/doc.go b/internal/plans/planfile/doc.go index 8843baecc5..e714ec8631 100644 --- a/internal/plans/planfile/doc.go +++ b/internal/plans/planfile/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package planfile deals with the file format used to serialize plans to disk diff --git a/internal/plans/planfile/planfile_test.go b/internal/plans/planfile/planfile_test.go index f8854d37a5..f619415c42 100644 --- a/internal/plans/planfile/planfile_test.go +++ b/internal/plans/planfile/planfile_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package planfile diff --git a/internal/plans/planfile/reader.go b/internal/plans/planfile/reader.go index 837eac1057..870f0062d3 100644 --- a/internal/plans/planfile/reader.go +++ b/internal/plans/planfile/reader.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package planfile diff --git a/internal/plans/planfile/tfplan.go b/internal/plans/planfile/tfplan.go index ef332e33a9..21b11576ee 100644 --- a/internal/plans/planfile/tfplan.go +++ b/internal/plans/planfile/tfplan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package planfile diff --git a/internal/plans/planfile/tfplan_test.go b/internal/plans/planfile/tfplan_test.go index aa8878e343..996de27241 100644 --- a/internal/plans/planfile/tfplan_test.go +++ b/internal/plans/planfile/tfplan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package planfile diff --git a/internal/plans/planfile/wrapped.go b/internal/plans/planfile/wrapped.go index 572ab094f1..04e8a459fe 100644 --- a/internal/plans/planfile/wrapped.go +++ b/internal/plans/planfile/wrapped.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package planfile import ( diff --git a/internal/plans/planfile/writer.go b/internal/plans/planfile/writer.go index 8c6d41bb62..6adc31356b 100644 --- a/internal/plans/planfile/writer.go +++ b/internal/plans/planfile/writer.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package planfile diff --git a/internal/plans/quality.go b/internal/plans/quality.go index 95646f369e..85cd907fd8 100644 --- a/internal/plans/quality.go +++ b/internal/plans/quality.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plans diff --git a/internal/plugin/convert/diagnostics.go b/internal/plugin/convert/diagnostics.go index 6fdb817038..de3d10648a 100644 --- a/internal/plugin/convert/diagnostics.go +++ b/internal/plugin/convert/diagnostics.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package convert diff --git a/internal/plugin/convert/diagnostics_test.go b/internal/plugin/convert/diagnostics_test.go index fc508290b3..865786852c 100644 --- a/internal/plugin/convert/diagnostics_test.go +++ b/internal/plugin/convert/diagnostics_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package convert diff --git a/internal/plugin/convert/schema.go b/internal/plugin/convert/schema.go index 13d778857d..c0ec330bbd 100644 --- a/internal/plugin/convert/schema.go +++ b/internal/plugin/convert/schema.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package convert diff --git a/internal/plugin/convert/schema_test.go b/internal/plugin/convert/schema_test.go index a32e189bfc..97cb1f4c75 100644 --- a/internal/plugin/convert/schema_test.go +++ b/internal/plugin/convert/schema_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package convert diff --git a/internal/plugin/discovery/find.go b/internal/plugin/discovery/find.go index 2395c9ed29..7fe18d3409 100644 --- a/internal/plugin/discovery/find.go +++ b/internal/plugin/discovery/find.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/find_test.go b/internal/plugin/discovery/find_test.go index b9a75b09af..18ab04736a 100644 --- a/internal/plugin/discovery/find_test.go +++ b/internal/plugin/discovery/find_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/get_cache.go b/internal/plugin/discovery/get_cache.go index f765ad728f..28e5f41bb8 100644 --- a/internal/plugin/discovery/get_cache.go +++ b/internal/plugin/discovery/get_cache.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/get_cache_test.go b/internal/plugin/discovery/get_cache_test.go index fd49c3f5ef..16f0221eaf 100644 --- a/internal/plugin/discovery/get_cache_test.go +++ b/internal/plugin/discovery/get_cache_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/meta.go b/internal/plugin/discovery/meta.go index fe5c3f5a61..7fbb84fa94 100644 --- a/internal/plugin/discovery/meta.go +++ b/internal/plugin/discovery/meta.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/meta_set.go b/internal/plugin/discovery/meta_set.go index 7c677cb1e9..7073f821d7 100644 --- a/internal/plugin/discovery/meta_set.go +++ b/internal/plugin/discovery/meta_set.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/meta_set_test.go b/internal/plugin/discovery/meta_set_test.go index ea3b7630d3..37f52cb65f 100644 --- a/internal/plugin/discovery/meta_set_test.go +++ b/internal/plugin/discovery/meta_set_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/meta_test.go b/internal/plugin/discovery/meta_test.go index 77fa1e5abe..e712a8b3f6 100644 --- a/internal/plugin/discovery/meta_test.go +++ b/internal/plugin/discovery/meta_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/requirements.go b/internal/plugin/discovery/requirements.go index b58264312a..217d64d186 100644 --- a/internal/plugin/discovery/requirements.go +++ b/internal/plugin/discovery/requirements.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/requirements_test.go b/internal/plugin/discovery/requirements_test.go index eb209eac8f..6425ab2164 100644 --- a/internal/plugin/discovery/requirements_test.go +++ b/internal/plugin/discovery/requirements_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/version.go b/internal/plugin/discovery/version.go index 1cc7a408df..d042cc1907 100644 --- a/internal/plugin/discovery/version.go +++ b/internal/plugin/discovery/version.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/version_set.go b/internal/plugin/discovery/version_set.go index 2876bfedab..c715677c07 100644 --- a/internal/plugin/discovery/version_set.go +++ b/internal/plugin/discovery/version_set.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/version_set_test.go b/internal/plugin/discovery/version_set_test.go index bfda4a5f50..65652e9cb7 100644 --- a/internal/plugin/discovery/version_set_test.go +++ b/internal/plugin/discovery/version_set_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/discovery/version_test.go b/internal/plugin/discovery/version_test.go index 33ba66cf85..29334d1a7e 100644 --- a/internal/plugin/discovery/version_test.go +++ b/internal/plugin/discovery/version_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package discovery diff --git a/internal/plugin/grpc_error.go b/internal/plugin/grpc_error.go index c4e4dab2bd..bcaa9ed47a 100644 --- a/internal/plugin/grpc_error.go +++ b/internal/plugin/grpc_error.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin diff --git a/internal/plugin/grpc_provider.go b/internal/plugin/grpc_provider.go index 1b912fee87..26d6b73a7d 100644 --- a/internal/plugin/grpc_provider.go +++ b/internal/plugin/grpc_provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin diff --git a/internal/plugin/grpc_provider_test.go b/internal/plugin/grpc_provider_test.go index ee51454b52..82971d1b16 100644 --- a/internal/plugin/grpc_provider_test.go +++ b/internal/plugin/grpc_provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin diff --git a/internal/plugin/grpc_provisioner.go b/internal/plugin/grpc_provisioner.go index e703702c49..3a6f21a77d 100644 --- a/internal/plugin/grpc_provisioner.go +++ b/internal/plugin/grpc_provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin diff --git a/internal/plugin/grpc_provisioner_test.go b/internal/plugin/grpc_provisioner_test.go index 009fae7cb6..b5539debb7 100644 --- a/internal/plugin/grpc_provisioner_test.go +++ b/internal/plugin/grpc_provisioner_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin diff --git a/internal/plugin/mock_proto/generate.go b/internal/plugin/mock_proto/generate.go index 3b878f3bb9..67d15fd7d2 100644 --- a/internal/plugin/mock_proto/generate.go +++ b/internal/plugin/mock_proto/generate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:generate go run github.com/golang/mock/mockgen -destination mock.go github.com/opentofu/opentofu/internal/tfplugin5 ProviderClient,ProvisionerClient,Provisioner_ProvisionResourceClient,Provisioner_ProvisionResourceServer diff --git a/internal/plugin/plugin.go b/internal/plugin/plugin.go index de52ceb71b..107595a214 100644 --- a/internal/plugin/plugin.go +++ b/internal/plugin/plugin.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin diff --git a/internal/plugin/serve.go b/internal/plugin/serve.go index e3b0bff4ed..dba33fd36a 100644 --- a/internal/plugin/serve.go +++ b/internal/plugin/serve.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin diff --git a/internal/plugin/ui_input.go b/internal/plugin/ui_input.go index fc565c5ba9..72010cf7f2 100644 --- a/internal/plugin/ui_input.go +++ b/internal/plugin/ui_input.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin diff --git a/internal/plugin/ui_input_test.go b/internal/plugin/ui_input_test.go index a2bbc179ec..6af8484cf6 100644 --- a/internal/plugin/ui_input_test.go +++ b/internal/plugin/ui_input_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin diff --git a/internal/plugin/ui_output.go b/internal/plugin/ui_output.go index 5a4e90d99b..37376b610a 100644 --- a/internal/plugin/ui_output.go +++ b/internal/plugin/ui_output.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin diff --git a/internal/plugin/ui_output_test.go b/internal/plugin/ui_output_test.go index a04f3092d4..58ab753688 100644 --- a/internal/plugin/ui_output_test.go +++ b/internal/plugin/ui_output_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin diff --git a/internal/plugin6/convert/diagnostics.go b/internal/plugin6/convert/diagnostics.go index 819e559cab..c1518d0980 100644 --- a/internal/plugin6/convert/diagnostics.go +++ b/internal/plugin6/convert/diagnostics.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package convert diff --git a/internal/plugin6/convert/diagnostics_test.go b/internal/plugin6/convert/diagnostics_test.go index b9960055fc..74172b16b2 100644 --- a/internal/plugin6/convert/diagnostics_test.go +++ b/internal/plugin6/convert/diagnostics_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package convert diff --git a/internal/plugin6/convert/schema.go b/internal/plugin6/convert/schema.go index ab6e669324..5085ea8f2a 100644 --- a/internal/plugin6/convert/schema.go +++ b/internal/plugin6/convert/schema.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package convert diff --git a/internal/plugin6/convert/schema_test.go b/internal/plugin6/convert/schema_test.go index f867ae0bdd..4746a8a3c0 100644 --- a/internal/plugin6/convert/schema_test.go +++ b/internal/plugin6/convert/schema_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package convert diff --git a/internal/plugin6/doc.go b/internal/plugin6/doc.go index b77b91dc32..6c008f5c71 100644 --- a/internal/plugin6/doc.go +++ b/internal/plugin6/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin6 diff --git a/internal/plugin6/grpc_error.go b/internal/plugin6/grpc_error.go index 13ffb98034..c6d2f1eb93 100644 --- a/internal/plugin6/grpc_error.go +++ b/internal/plugin6/grpc_error.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin6 diff --git a/internal/plugin6/grpc_provider.go b/internal/plugin6/grpc_provider.go index 18177be317..b9ee0cf84d 100644 --- a/internal/plugin6/grpc_provider.go +++ b/internal/plugin6/grpc_provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin6 diff --git a/internal/plugin6/grpc_provider_test.go b/internal/plugin6/grpc_provider_test.go index 902411ad6b..2fceb80500 100644 --- a/internal/plugin6/grpc_provider_test.go +++ b/internal/plugin6/grpc_provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin6 diff --git a/internal/plugin6/mock_proto/generate.go b/internal/plugin6/mock_proto/generate.go index 82e2c2df15..557ff3dc9a 100644 --- a/internal/plugin6/mock_proto/generate.go +++ b/internal/plugin6/mock_proto/generate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:generate go run github.com/golang/mock/mockgen -destination mock.go github.com/opentofu/opentofu/internal/tfplugin6 ProviderClient diff --git a/internal/plugin6/serve.go b/internal/plugin6/serve.go index 01aa25310e..c6fc885b47 100644 --- a/internal/plugin6/serve.go +++ b/internal/plugin6/serve.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package plugin6 diff --git a/internal/provider-simple-v6/main/main.go b/internal/provider-simple-v6/main/main.go index b4447d3e02..1947049d6b 100644 --- a/internal/provider-simple-v6/main/main.go +++ b/internal/provider-simple-v6/main/main.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/provider-simple-v6/provider.go b/internal/provider-simple-v6/provider.go index 12d80580e8..3056eca265 100644 --- a/internal/provider-simple-v6/provider.go +++ b/internal/provider-simple-v6/provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // simple provider a minimal provider implementation for testing diff --git a/internal/provider-simple/main/main.go b/internal/provider-simple/main/main.go index 2fac021f9a..a74f5b7b6c 100644 --- a/internal/provider-simple/main/main.go +++ b/internal/provider-simple/main/main.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/provider-simple/provider.go b/internal/provider-simple/provider.go index 23c6e882d7..5ca7ddd4f3 100644 --- a/internal/provider-simple/provider.go +++ b/internal/provider-simple/provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // simple provider a minimal provider implementation for testing diff --git a/internal/providercache/cached_provider.go b/internal/providercache/cached_provider.go index e9fa6fb544..b13addff56 100644 --- a/internal/providercache/cached_provider.go +++ b/internal/providercache/cached_provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providercache diff --git a/internal/providercache/cached_provider_test.go b/internal/providercache/cached_provider_test.go index 0c8951abbf..1fd21fcfcc 100644 --- a/internal/providercache/cached_provider_test.go +++ b/internal/providercache/cached_provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providercache diff --git a/internal/providercache/dir.go b/internal/providercache/dir.go index ce778b52aa..ac4b50cd60 100644 --- a/internal/providercache/dir.go +++ b/internal/providercache/dir.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providercache diff --git a/internal/providercache/dir_modify.go b/internal/providercache/dir_modify.go index e0d3ba327c..fe6d3e38cf 100644 --- a/internal/providercache/dir_modify.go +++ b/internal/providercache/dir_modify.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providercache diff --git a/internal/providercache/dir_modify_test.go b/internal/providercache/dir_modify_test.go index d8616cd273..a241b88185 100644 --- a/internal/providercache/dir_modify_test.go +++ b/internal/providercache/dir_modify_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providercache diff --git a/internal/providercache/dir_test.go b/internal/providercache/dir_test.go index 12bcee1bff..055c7e16aa 100644 --- a/internal/providercache/dir_test.go +++ b/internal/providercache/dir_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providercache diff --git a/internal/providercache/doc.go b/internal/providercache/doc.go index 4bcc345ed5..a9341c8ed6 100644 --- a/internal/providercache/doc.go +++ b/internal/providercache/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package providercache contains the logic for auto-installing providers from diff --git a/internal/providercache/installer.go b/internal/providercache/installer.go index 27d85011b2..741ec6ec9f 100644 --- a/internal/providercache/installer.go +++ b/internal/providercache/installer.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providercache diff --git a/internal/providercache/installer_events.go b/internal/providercache/installer_events.go index 41e575487d..aac33f9ba0 100644 --- a/internal/providercache/installer_events.go +++ b/internal/providercache/installer_events.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providercache diff --git a/internal/providercache/installer_events_test.go b/internal/providercache/installer_events_test.go index 4992eef8fb..348871ae45 100644 --- a/internal/providercache/installer_events_test.go +++ b/internal/providercache/installer_events_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providercache diff --git a/internal/providercache/installer_test.go b/internal/providercache/installer_test.go index e0811f3b3c..02d610520f 100644 --- a/internal/providercache/installer_test.go +++ b/internal/providercache/installer_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providercache diff --git a/internal/providercache/package_install.go b/internal/providercache/package_install.go index fb79cb955c..61a5f38b63 100644 --- a/internal/providercache/package_install.go +++ b/internal/providercache/package_install.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providercache diff --git a/internal/providers/addressed_types.go b/internal/providers/addressed_types.go index 5f4de6650a..64e1b1f19b 100644 --- a/internal/providers/addressed_types.go +++ b/internal/providers/addressed_types.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providers diff --git a/internal/providers/addressed_types_test.go b/internal/providers/addressed_types_test.go index 5723661131..981d573fe4 100644 --- a/internal/providers/addressed_types_test.go +++ b/internal/providers/addressed_types_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providers diff --git a/internal/providers/doc.go b/internal/providers/doc.go index f840ffadd3..a1b9b0a026 100644 --- a/internal/providers/doc.go +++ b/internal/providers/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package providers contains the interface and primary types required to diff --git a/internal/providers/factory.go b/internal/providers/factory.go index fc436aff01..d116b9013b 100644 --- a/internal/providers/factory.go +++ b/internal/providers/factory.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providers diff --git a/internal/providers/provider.go b/internal/providers/provider.go index bec01be372..d187384dd5 100644 --- a/internal/providers/provider.go +++ b/internal/providers/provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providers diff --git a/internal/providers/schema_cache.go b/internal/providers/schema_cache.go index 927100cfca..7540037e7a 100644 --- a/internal/providers/schema_cache.go +++ b/internal/providers/schema_cache.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providers diff --git a/internal/providers/schemas.go b/internal/providers/schemas.go index eece348043..8b9af95b02 100644 --- a/internal/providers/schemas.go +++ b/internal/providers/schemas.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package providers diff --git a/internal/provisioner-local-exec/main/main.go b/internal/provisioner-local-exec/main/main.go index 935e4f0288..0e7b630af0 100644 --- a/internal/provisioner-local-exec/main/main.go +++ b/internal/provisioner-local-exec/main/main.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package main diff --git a/internal/provisioners/doc.go b/internal/provisioners/doc.go index 94dca371f4..197e86ef7c 100644 --- a/internal/provisioners/doc.go +++ b/internal/provisioners/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package provisioners contains the interface and primary types to implement a diff --git a/internal/provisioners/factory.go b/internal/provisioners/factory.go index e2d6446a3a..f3987df1c0 100644 --- a/internal/provisioners/factory.go +++ b/internal/provisioners/factory.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package provisioners diff --git a/internal/provisioners/provisioner.go b/internal/provisioners/provisioner.go index 59cbee344d..7e17b86a4f 100644 --- a/internal/provisioners/provisioner.go +++ b/internal/provisioners/provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package provisioners diff --git a/internal/refactoring/move_execute.go b/internal/refactoring/move_execute.go index b1c308f047..ca8789a114 100644 --- a/internal/refactoring/move_execute.go +++ b/internal/refactoring/move_execute.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package refactoring diff --git a/internal/refactoring/move_execute_test.go b/internal/refactoring/move_execute_test.go index d2fff41092..8a2e4cd048 100644 --- a/internal/refactoring/move_execute_test.go +++ b/internal/refactoring/move_execute_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package refactoring diff --git a/internal/refactoring/move_statement.go b/internal/refactoring/move_statement.go index 56a5a06b67..a978a054bc 100644 --- a/internal/refactoring/move_statement.go +++ b/internal/refactoring/move_statement.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package refactoring diff --git a/internal/refactoring/move_statement_test.go b/internal/refactoring/move_statement_test.go index 98374df248..fcc4410184 100644 --- a/internal/refactoring/move_statement_test.go +++ b/internal/refactoring/move_statement_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package refactoring diff --git a/internal/refactoring/move_validate.go b/internal/refactoring/move_validate.go index ee3d3b13d1..6bfe9d4f21 100644 --- a/internal/refactoring/move_validate.go +++ b/internal/refactoring/move_validate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package refactoring diff --git a/internal/refactoring/move_validate_test.go b/internal/refactoring/move_validate_test.go index aa40929755..e16adfffa9 100644 --- a/internal/refactoring/move_validate_test.go +++ b/internal/refactoring/move_validate_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package refactoring diff --git a/internal/registry/client.go b/internal/registry/client.go index aec1d3cb1b..e4236bc85e 100644 --- a/internal/registry/client.go +++ b/internal/registry/client.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package registry diff --git a/internal/registry/client_test.go b/internal/registry/client_test.go index c5a4f76376..348a28d3b3 100644 --- a/internal/registry/client_test.go +++ b/internal/registry/client_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package registry diff --git a/internal/registry/errors.go b/internal/registry/errors.go index cc3a5507dc..6489a081c8 100644 --- a/internal/registry/errors.go +++ b/internal/registry/errors.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package registry diff --git a/internal/registry/regsrc/friendly_host.go b/internal/registry/regsrc/friendly_host.go index 715e450cd8..ce1fb44337 100644 --- a/internal/registry/regsrc/friendly_host.go +++ b/internal/registry/regsrc/friendly_host.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package regsrc diff --git a/internal/registry/regsrc/friendly_host_test.go b/internal/registry/regsrc/friendly_host_test.go index f286b8037a..2f35f73cf1 100644 --- a/internal/registry/regsrc/friendly_host_test.go +++ b/internal/registry/regsrc/friendly_host_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package regsrc diff --git a/internal/registry/regsrc/module.go b/internal/registry/regsrc/module.go index 36b9648a3f..ce37736e4a 100644 --- a/internal/registry/regsrc/module.go +++ b/internal/registry/regsrc/module.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package regsrc diff --git a/internal/registry/regsrc/module_test.go b/internal/registry/regsrc/module_test.go index f58af2a544..199b28a1c5 100644 --- a/internal/registry/regsrc/module_test.go +++ b/internal/registry/regsrc/module_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package regsrc diff --git a/internal/registry/regsrc/regsrc.go b/internal/registry/regsrc/regsrc.go index 134c88d462..eefa2f654b 100644 --- a/internal/registry/regsrc/regsrc.go +++ b/internal/registry/regsrc/regsrc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package regsrc provides helpers for working with source strings that identify diff --git a/internal/registry/response/module.go b/internal/registry/response/module.go index 2705a979d4..93907f5724 100644 --- a/internal/registry/response/module.go +++ b/internal/registry/response/module.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package response diff --git a/internal/registry/response/module_list.go b/internal/registry/response/module_list.go index 6a258fcb0c..a7e1103688 100644 --- a/internal/registry/response/module_list.go +++ b/internal/registry/response/module_list.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package response diff --git a/internal/registry/response/module_provider.go b/internal/registry/response/module_provider.go index 88d24d65ed..90d0c651a6 100644 --- a/internal/registry/response/module_provider.go +++ b/internal/registry/response/module_provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package response diff --git a/internal/registry/response/module_versions.go b/internal/registry/response/module_versions.go index 9763cd2c00..1790e25ebe 100644 --- a/internal/registry/response/module_versions.go +++ b/internal/registry/response/module_versions.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package response diff --git a/internal/registry/response/pagination.go b/internal/registry/response/pagination.go index 3e2d7ee8b6..40cf27a128 100644 --- a/internal/registry/response/pagination.go +++ b/internal/registry/response/pagination.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package response diff --git a/internal/registry/response/pagination_test.go b/internal/registry/response/pagination_test.go index f0ea296384..4d1e720a09 100644 --- a/internal/registry/response/pagination_test.go +++ b/internal/registry/response/pagination_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package response diff --git a/internal/registry/response/redirect.go b/internal/registry/response/redirect.go index c320a1f391..49cb0be0d4 100644 --- a/internal/registry/response/redirect.go +++ b/internal/registry/response/redirect.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package response diff --git a/internal/repl/format.go b/internal/repl/format.go index b7740ed22f..840bebeccc 100644 --- a/internal/repl/format.go +++ b/internal/repl/format.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package repl diff --git a/internal/repl/format_test.go b/internal/repl/format_test.go index ddd5609e02..7cc2037acf 100644 --- a/internal/repl/format_test.go +++ b/internal/repl/format_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package repl diff --git a/internal/repl/repl.go b/internal/repl/repl.go index 039b5d7c54..4fcc028d5a 100644 --- a/internal/repl/repl.go +++ b/internal/repl/repl.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package repl provides the structs and functions necessary to run diff --git a/internal/repl/session.go b/internal/repl/session.go index 622f378e70..de567f81be 100644 --- a/internal/repl/session.go +++ b/internal/repl/session.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package repl diff --git a/internal/repl/session_test.go b/internal/repl/session_test.go index 8ccba09d00..8568cd79e6 100644 --- a/internal/repl/session_test.go +++ b/internal/repl/session_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package repl diff --git a/internal/replacefile/doc.go b/internal/replacefile/doc.go index b8818520f3..db7eeeee68 100644 --- a/internal/replacefile/doc.go +++ b/internal/replacefile/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package replacefile is a small helper package focused directly at the diff --git a/internal/replacefile/replacefile_unix.go b/internal/replacefile/replacefile_unix.go index 8a8416cc45..34720e6a84 100644 --- a/internal/replacefile/replacefile_unix.go +++ b/internal/replacefile/replacefile_unix.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build !windows diff --git a/internal/replacefile/replacefile_windows.go b/internal/replacefile/replacefile_windows.go index 08e37d256a..e77c1c17f6 100644 --- a/internal/replacefile/replacefile_windows.go +++ b/internal/replacefile/replacefile_windows.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build windows diff --git a/internal/replacefile/writefile.go b/internal/replacefile/writefile.go index d5a97a93f1..7d47ab4f54 100644 --- a/internal/replacefile/writefile.go +++ b/internal/replacefile/writefile.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package replacefile diff --git a/internal/states/checks.go b/internal/states/checks.go index 6f5076e9e1..d711e7a17f 100644 --- a/internal/states/checks.go +++ b/internal/states/checks.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/doc.go b/internal/states/doc.go index b82ce87fa7..daef408cfa 100644 --- a/internal/states/doc.go +++ b/internal/states/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package states contains the types that are used to represent OpenTofu diff --git a/internal/states/instance_generation.go b/internal/states/instance_generation.go index 6658d64762..775323f218 100644 --- a/internal/states/instance_generation.go +++ b/internal/states/instance_generation.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/instance_object.go b/internal/states/instance_object.go index 4e27149498..cffa0a1e19 100644 --- a/internal/states/instance_object.go +++ b/internal/states/instance_object.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/instance_object_src.go b/internal/states/instance_object_src.go index 8a637fef4e..271dcb8f71 100644 --- a/internal/states/instance_object_src.go +++ b/internal/states/instance_object_src.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/instance_object_test.go b/internal/states/instance_object_test.go index 2b8f125080..43b69fbd4f 100644 --- a/internal/states/instance_object_test.go +++ b/internal/states/instance_object_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/module.go b/internal/states/module.go index ed23b50109..187b5828e2 100644 --- a/internal/states/module.go +++ b/internal/states/module.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/output_value.go b/internal/states/output_value.go index 02c9a62bea..f0fb308723 100644 --- a/internal/states/output_value.go +++ b/internal/states/output_value.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/remote/remote.go b/internal/states/remote/remote.go index 3819113f9a..ae06c0cb82 100644 --- a/internal/states/remote/remote.go +++ b/internal/states/remote/remote.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/states/remote/remote_test.go b/internal/states/remote/remote_test.go index f28b989911..75859eaf3b 100644 --- a/internal/states/remote/remote_test.go +++ b/internal/states/remote/remote_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/states/remote/state.go b/internal/states/remote/state.go index f23f50d8ca..28f64a6bf1 100644 --- a/internal/states/remote/state.go +++ b/internal/states/remote/state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/states/remote/state_test.go b/internal/states/remote/state_test.go index 7a0bbe6458..9ded51b9c3 100644 --- a/internal/states/remote/state_test.go +++ b/internal/states/remote/state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/states/remote/testing.go b/internal/states/remote/testing.go index 2693518f6c..a29ea81af4 100644 --- a/internal/states/remote/testing.go +++ b/internal/states/remote/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package remote diff --git a/internal/states/resource.go b/internal/states/resource.go index 00ba0d65d4..1777b8413b 100644 --- a/internal/states/resource.go +++ b/internal/states/resource.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/resource_test.go b/internal/states/resource_test.go index f2dbd35dda..12f873fe12 100644 --- a/internal/states/resource_test.go +++ b/internal/states/resource_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/state.go b/internal/states/state.go index 840fd8a0b5..42048872ab 100644 --- a/internal/states/state.go +++ b/internal/states/state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/state_deepcopy.go b/internal/states/state_deepcopy.go index b20c729adb..22fe5d62db 100644 --- a/internal/states/state_deepcopy.go +++ b/internal/states/state_deepcopy.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/state_equal.go b/internal/states/state_equal.go index 3404edb4ff..d829dc39d3 100644 --- a/internal/states/state_equal.go +++ b/internal/states/state_equal.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/state_test.go b/internal/states/state_test.go index e9494b32d0..c53388a4c4 100644 --- a/internal/states/state_test.go +++ b/internal/states/state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/states/statefile/diagnostics.go b/internal/states/statefile/diagnostics.go index 02fb93ac4d..3ffc702351 100644 --- a/internal/states/statefile/diagnostics.go +++ b/internal/states/statefile/diagnostics.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/doc.go b/internal/states/statefile/doc.go index 215a0ab764..b38841ed03 100644 --- a/internal/states/statefile/doc.go +++ b/internal/states/statefile/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package statefile deals with the file format used to serialize states for diff --git a/internal/states/statefile/file.go b/internal/states/statefile/file.go index c9abdac423..1f874b56f8 100644 --- a/internal/states/statefile/file.go +++ b/internal/states/statefile/file.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/marshal_equal.go b/internal/states/statefile/marshal_equal.go index fb7815e9d0..6a577804dd 100644 --- a/internal/states/statefile/marshal_equal.go +++ b/internal/states/statefile/marshal_equal.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/read.go b/internal/states/statefile/read.go index c82e250e88..5c47c2347d 100644 --- a/internal/states/statefile/read.go +++ b/internal/states/statefile/read.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/roundtrip_test.go b/internal/states/statefile/roundtrip_test.go index a74e9aba06..cd2cfb40c0 100644 --- a/internal/states/statefile/roundtrip_test.go +++ b/internal/states/statefile/roundtrip_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/version0.go b/internal/states/statefile/version0.go index 165f1ecf12..3c307631aa 100644 --- a/internal/states/statefile/version0.go +++ b/internal/states/statefile/version0.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/version1.go b/internal/states/statefile/version1.go index c5c0988578..c62a827590 100644 --- a/internal/states/statefile/version1.go +++ b/internal/states/statefile/version1.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/version1_upgrade.go b/internal/states/statefile/version1_upgrade.go index ac5bcc4528..7e15ab6e0a 100644 --- a/internal/states/statefile/version1_upgrade.go +++ b/internal/states/statefile/version1_upgrade.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/version2.go b/internal/states/statefile/version2.go index 1889a85449..df86169b02 100644 --- a/internal/states/statefile/version2.go +++ b/internal/states/statefile/version2.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/version2_upgrade.go b/internal/states/statefile/version2_upgrade.go index 3c9e860389..9816738ee9 100644 --- a/internal/states/statefile/version2_upgrade.go +++ b/internal/states/statefile/version2_upgrade.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/version3.go b/internal/states/statefile/version3.go index a52acfec9c..e6695c2e6c 100644 --- a/internal/states/statefile/version3.go +++ b/internal/states/statefile/version3.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/version3_upgrade.go b/internal/states/statefile/version3_upgrade.go index c5b3680ad3..e589457931 100644 --- a/internal/states/statefile/version3_upgrade.go +++ b/internal/states/statefile/version3_upgrade.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/version4.go b/internal/states/statefile/version4.go index 5fe704f75d..23ce2f6d2e 100644 --- a/internal/states/statefile/version4.go +++ b/internal/states/statefile/version4.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/version4_test.go b/internal/states/statefile/version4_test.go index 64485d95e1..9ee8f20f8f 100644 --- a/internal/states/statefile/version4_test.go +++ b/internal/states/statefile/version4_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statefile/write.go b/internal/states/statefile/write.go index 38d96bfe00..709e24c1b8 100644 --- a/internal/states/statefile/write.go +++ b/internal/states/statefile/write.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statefile diff --git a/internal/states/statemgr/doc.go b/internal/states/statemgr/doc.go index a5b036844e..643ef0c130 100644 --- a/internal/states/statemgr/doc.go +++ b/internal/states/statemgr/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package statemgr defines the interfaces and some supporting functionality diff --git a/internal/states/statemgr/filesystem.go b/internal/states/statemgr/filesystem.go index c7c0265678..029478aab0 100644 --- a/internal/states/statemgr/filesystem.go +++ b/internal/states/statemgr/filesystem.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/filesystem_lock_unix.go b/internal/states/statemgr/filesystem_lock_unix.go index 35df87e4a2..59652d6e32 100644 --- a/internal/states/statemgr/filesystem_lock_unix.go +++ b/internal/states/statemgr/filesystem_lock_unix.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build !windows diff --git a/internal/states/statemgr/filesystem_lock_windows.go b/internal/states/statemgr/filesystem_lock_windows.go index da6cab8a98..f04641ddf8 100644 --- a/internal/states/statemgr/filesystem_lock_windows.go +++ b/internal/states/statemgr/filesystem_lock_windows.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build windows diff --git a/internal/states/statemgr/filesystem_test.go b/internal/states/statemgr/filesystem_test.go index 2061a661a1..efc665f572 100644 --- a/internal/states/statemgr/filesystem_test.go +++ b/internal/states/statemgr/filesystem_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/helper.go b/internal/states/statemgr/helper.go index cfad878a98..7943850c1f 100644 --- a/internal/states/statemgr/helper.go +++ b/internal/states/statemgr/helper.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/lineage.go b/internal/states/statemgr/lineage.go index e95e7f446f..de08416967 100644 --- a/internal/states/statemgr/lineage.go +++ b/internal/states/statemgr/lineage.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/lock.go b/internal/states/statemgr/lock.go index 9eca1f04c5..a79a3345f4 100644 --- a/internal/states/statemgr/lock.go +++ b/internal/states/statemgr/lock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/lock_test.go b/internal/states/statemgr/lock_test.go index b085372be7..07262d229c 100644 --- a/internal/states/statemgr/lock_test.go +++ b/internal/states/statemgr/lock_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/locker.go b/internal/states/statemgr/locker.go index 11f9fe4467..597d4d0dfc 100644 --- a/internal/states/statemgr/locker.go +++ b/internal/states/statemgr/locker.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/migrate.go b/internal/states/statemgr/migrate.go index a3efa7f9b0..de3105f131 100644 --- a/internal/states/statemgr/migrate.go +++ b/internal/states/statemgr/migrate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/migrate_test.go b/internal/states/statemgr/migrate_test.go index 2a62fcd4ae..7e791315a1 100644 --- a/internal/states/statemgr/migrate_test.go +++ b/internal/states/statemgr/migrate_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/persistent.go b/internal/states/statemgr/persistent.go index 536c8a8587..6dc84ff1e9 100644 --- a/internal/states/statemgr/persistent.go +++ b/internal/states/statemgr/persistent.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/plan.go b/internal/states/statemgr/plan.go index 4d5e57de1d..c36af07f53 100644 --- a/internal/states/statemgr/plan.go +++ b/internal/states/statemgr/plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/statemgr.go b/internal/states/statemgr/statemgr.go index 1236127eee..034d260b78 100644 --- a/internal/states/statemgr/statemgr.go +++ b/internal/states/statemgr/statemgr.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/statemgr_fake.go b/internal/states/statemgr/statemgr_fake.go index 11f23c837c..1a0ec73064 100644 --- a/internal/states/statemgr/statemgr_fake.go +++ b/internal/states/statemgr/statemgr_fake.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/statemgr_test.go b/internal/states/statemgr/statemgr_test.go index 58205de603..a899270d1d 100644 --- a/internal/states/statemgr/statemgr_test.go +++ b/internal/states/statemgr/statemgr_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/testing.go b/internal/states/statemgr/testing.go index 0cf943f8a3..1ab78a2ea4 100644 --- a/internal/states/statemgr/testing.go +++ b/internal/states/statemgr/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/transient.go b/internal/states/statemgr/transient.go index 8cb0d545f0..a2174c292d 100644 --- a/internal/states/statemgr/transient.go +++ b/internal/states/statemgr/transient.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/statemgr/transient_inmem.go b/internal/states/statemgr/transient_inmem.go index 0c76a53e8a..f74120b7c0 100644 --- a/internal/states/statemgr/transient_inmem.go +++ b/internal/states/statemgr/transient_inmem.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package statemgr diff --git a/internal/states/sync.go b/internal/states/sync.go index f8f0703e0e..703e98966f 100644 --- a/internal/states/sync.go +++ b/internal/states/sync.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package states diff --git a/internal/terminal/impl_others.go b/internal/terminal/impl_others.go index 8522392783..19d8715fa7 100644 --- a/internal/terminal/impl_others.go +++ b/internal/terminal/impl_others.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build !windows diff --git a/internal/terminal/impl_windows.go b/internal/terminal/impl_windows.go index b68147e6df..8a5d167b03 100644 --- a/internal/terminal/impl_windows.go +++ b/internal/terminal/impl_windows.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build windows diff --git a/internal/terminal/stream.go b/internal/terminal/stream.go index afeec73414..2b23b123b2 100644 --- a/internal/terminal/stream.go +++ b/internal/terminal/stream.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package terminal diff --git a/internal/terminal/streams.go b/internal/terminal/streams.go index 9ef55f0dd4..24433b7f05 100644 --- a/internal/terminal/streams.go +++ b/internal/terminal/streams.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package terminal encapsulates some platform-specific logic for detecting diff --git a/internal/terminal/streams_test.go b/internal/terminal/streams_test.go index 47358760e9..12bcf63278 100644 --- a/internal/terminal/streams_test.go +++ b/internal/terminal/streams_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package terminal diff --git a/internal/terminal/testing.go b/internal/terminal/testing.go index c2a4f9eeb5..7188092b6d 100644 --- a/internal/terminal/testing.go +++ b/internal/terminal/testing.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package terminal diff --git a/internal/tfdiags/config_traversals.go b/internal/tfdiags/config_traversals.go index c6c7cecffc..65706db228 100644 --- a/internal/tfdiags/config_traversals.go +++ b/internal/tfdiags/config_traversals.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/consolidate_warnings.go b/internal/tfdiags/consolidate_warnings.go index 86e772fda7..12df90dae1 100644 --- a/internal/tfdiags/consolidate_warnings.go +++ b/internal/tfdiags/consolidate_warnings.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/consolidate_warnings_test.go b/internal/tfdiags/consolidate_warnings_test.go index a2568559e7..a6e8e26728 100644 --- a/internal/tfdiags/consolidate_warnings_test.go +++ b/internal/tfdiags/consolidate_warnings_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/contextual.go b/internal/tfdiags/contextual.go index 8d8c07cd1d..ce99545a39 100644 --- a/internal/tfdiags/contextual.go +++ b/internal/tfdiags/contextual.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/contextual_test.go b/internal/tfdiags/contextual_test.go index 1f1c6ca1f5..5256041836 100644 --- a/internal/tfdiags/contextual_test.go +++ b/internal/tfdiags/contextual_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/diagnostic.go b/internal/tfdiags/diagnostic.go index 2da94df295..47ef35871c 100644 --- a/internal/tfdiags/diagnostic.go +++ b/internal/tfdiags/diagnostic.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/diagnostic_base.go b/internal/tfdiags/diagnostic_base.go index 8c1707eb76..863a1202fb 100644 --- a/internal/tfdiags/diagnostic_base.go +++ b/internal/tfdiags/diagnostic_base.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/diagnostic_extra.go b/internal/tfdiags/diagnostic_extra.go index 3a4c0c9a92..b849b990c4 100644 --- a/internal/tfdiags/diagnostic_extra.go +++ b/internal/tfdiags/diagnostic_extra.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/diagnostics.go b/internal/tfdiags/diagnostics.go index a7fbc54611..ae3da069f7 100644 --- a/internal/tfdiags/diagnostics.go +++ b/internal/tfdiags/diagnostics.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/diagnostics_test.go b/internal/tfdiags/diagnostics_test.go index adadddf99b..d7256de231 100644 --- a/internal/tfdiags/diagnostics_test.go +++ b/internal/tfdiags/diagnostics_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/doc.go b/internal/tfdiags/doc.go index 23be0a8bec..9a4902c0dd 100644 --- a/internal/tfdiags/doc.go +++ b/internal/tfdiags/doc.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Package tfdiags is a utility package for representing errors and diff --git a/internal/tfdiags/error.go b/internal/tfdiags/error.go index f377ddb5f7..796748140f 100644 --- a/internal/tfdiags/error.go +++ b/internal/tfdiags/error.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/hcl.go b/internal/tfdiags/hcl.go index 5822844ca0..8211b23109 100644 --- a/internal/tfdiags/hcl.go +++ b/internal/tfdiags/hcl.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/hcl_test.go b/internal/tfdiags/hcl_test.go index 41a2d9a641..0f8ffe855c 100644 --- a/internal/tfdiags/hcl_test.go +++ b/internal/tfdiags/hcl_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/override.go b/internal/tfdiags/override.go index 174818a431..d1f43838ef 100644 --- a/internal/tfdiags/override.go +++ b/internal/tfdiags/override.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tfdiags // overriddenDiagnostic implements the Diagnostic interface by wrapping another diff --git a/internal/tfdiags/override_test.go b/internal/tfdiags/override_test.go index 3bb4f937e3..f344721af9 100644 --- a/internal/tfdiags/override_test.go +++ b/internal/tfdiags/override_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tfdiags import ( diff --git a/internal/tfdiags/rpc_friendly.go b/internal/tfdiags/rpc_friendly.go index 039781e916..73828624c2 100644 --- a/internal/tfdiags/rpc_friendly.go +++ b/internal/tfdiags/rpc_friendly.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/rpc_friendly_test.go b/internal/tfdiags/rpc_friendly_test.go index 81e31ca4d4..31f1fdc69f 100644 --- a/internal/tfdiags/rpc_friendly_test.go +++ b/internal/tfdiags/rpc_friendly_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/simple_warning.go b/internal/tfdiags/simple_warning.go index 7a6fe38405..62ec31e51e 100644 --- a/internal/tfdiags/simple_warning.go +++ b/internal/tfdiags/simple_warning.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/source_range.go b/internal/tfdiags/source_range.go index 3d0fd9a14d..955efcab4f 100644 --- a/internal/tfdiags/source_range.go +++ b/internal/tfdiags/source_range.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfdiags/sourceless.go b/internal/tfdiags/sourceless.go index a928c94a90..036dbdb349 100644 --- a/internal/tfdiags/sourceless.go +++ b/internal/tfdiags/sourceless.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tfdiags diff --git a/internal/tfplugin5/tfplugin5.pb.go b/internal/tfplugin5/tfplugin5.pb.go index ced62f07e8..26136ba78b 100644 --- a/internal/tfplugin5/tfplugin5.pb.go +++ b/internal/tfplugin5/tfplugin5.pb.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 5.4 diff --git a/internal/tfplugin6/tfplugin6.pb.go b/internal/tfplugin6/tfplugin6.pb.go index 0a96f0eb9c..e15cd75d48 100644 --- a/internal/tfplugin6/tfplugin6.pb.go +++ b/internal/tfplugin6/tfplugin6.pb.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // Terraform Plugin RPC protocol version 6.4 diff --git a/internal/tofu/context.go b/internal/tofu/context.go index b589057916..68b41f2145 100644 --- a/internal/tofu/context.go +++ b/internal/tofu/context.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_apply.go b/internal/tofu/context_apply.go index 0f7eb11457..3ea8479822 100644 --- a/internal/tofu/context_apply.go +++ b/internal/tofu/context_apply.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_apply2_test.go b/internal/tofu/context_apply2_test.go index ec8bcf0e50..a6025c0579 100644 --- a/internal/tofu/context_apply2_test.go +++ b/internal/tofu/context_apply2_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_apply_checks_test.go b/internal/tofu/context_apply_checks_test.go index 515ab8bfc6..e09ab6801b 100644 --- a/internal/tofu/context_apply_checks_test.go +++ b/internal/tofu/context_apply_checks_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_apply_test.go b/internal/tofu/context_apply_test.go index c253ee47db..13de471d02 100644 --- a/internal/tofu/context_apply_test.go +++ b/internal/tofu/context_apply_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_eval.go b/internal/tofu/context_eval.go index 2afd7c8f89..03b1ce131d 100644 --- a/internal/tofu/context_eval.go +++ b/internal/tofu/context_eval.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_eval_test.go b/internal/tofu/context_eval_test.go index 201e147c87..43f86762a3 100644 --- a/internal/tofu/context_eval_test.go +++ b/internal/tofu/context_eval_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_fixtures_test.go b/internal/tofu/context_fixtures_test.go index 9c9ce81644..83f0697bfa 100644 --- a/internal/tofu/context_fixtures_test.go +++ b/internal/tofu/context_fixtures_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_import.go b/internal/tofu/context_import.go index 5992394956..f2e6aa4ae5 100644 --- a/internal/tofu/context_import.go +++ b/internal/tofu/context_import.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_import_test.go b/internal/tofu/context_import_test.go index ea56288fff..c5215b1475 100644 --- a/internal/tofu/context_import_test.go +++ b/internal/tofu/context_import_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_input.go b/internal/tofu/context_input.go index 8fb881ad03..3eac31a6d9 100644 --- a/internal/tofu/context_input.go +++ b/internal/tofu/context_input.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_input_test.go b/internal/tofu/context_input_test.go index 4038aeca1f..ffbc9ab4ae 100644 --- a/internal/tofu/context_input_test.go +++ b/internal/tofu/context_input_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_plan.go b/internal/tofu/context_plan.go index d60b8a257b..5c815e7c43 100644 --- a/internal/tofu/context_plan.go +++ b/internal/tofu/context_plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_plan2_test.go b/internal/tofu/context_plan2_test.go index 07da24e316..7a59dd4eba 100644 --- a/internal/tofu/context_plan2_test.go +++ b/internal/tofu/context_plan2_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_plan_test.go b/internal/tofu/context_plan_test.go index 6dbf64d01e..6ff0c38578 100644 --- a/internal/tofu/context_plan_test.go +++ b/internal/tofu/context_plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_plugins.go b/internal/tofu/context_plugins.go index b188f64e5c..1884859652 100644 --- a/internal/tofu/context_plugins.go +++ b/internal/tofu/context_plugins.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_plugins_test.go b/internal/tofu/context_plugins_test.go index 83563eef24..234461249b 100644 --- a/internal/tofu/context_plugins_test.go +++ b/internal/tofu/context_plugins_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_refresh.go b/internal/tofu/context_refresh.go index fcd6918100..cb7b459139 100644 --- a/internal/tofu/context_refresh.go +++ b/internal/tofu/context_refresh.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_refresh_test.go b/internal/tofu/context_refresh_test.go index adeff2067e..23a5e4f1fc 100644 --- a/internal/tofu/context_refresh_test.go +++ b/internal/tofu/context_refresh_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_test.go b/internal/tofu/context_test.go index 89b2de4e7a..bd1871ad0a 100644 --- a/internal/tofu/context_test.go +++ b/internal/tofu/context_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_validate.go b/internal/tofu/context_validate.go index 9b9d685915..590b9eb250 100644 --- a/internal/tofu/context_validate.go +++ b/internal/tofu/context_validate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_validate_test.go b/internal/tofu/context_validate_test.go index d4350470a8..4e5be65574 100644 --- a/internal/tofu/context_validate_test.go +++ b/internal/tofu/context_validate_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/context_walk.go b/internal/tofu/context_walk.go index 77722062d7..dbcb4891af 100644 --- a/internal/tofu/context_walk.go +++ b/internal/tofu/context_walk.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/diagnostics.go b/internal/tofu/diagnostics.go index c02719264f..455a89414a 100644 --- a/internal/tofu/diagnostics.go +++ b/internal/tofu/diagnostics.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_conditions.go b/internal/tofu/eval_conditions.go index b5eb549c09..70fdcfaf6f 100644 --- a/internal/tofu/eval_conditions.go +++ b/internal/tofu/eval_conditions.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_context.go b/internal/tofu/eval_context.go index ebd9484d39..2c55747764 100644 --- a/internal/tofu/eval_context.go +++ b/internal/tofu/eval_context.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_context_builtin.go b/internal/tofu/eval_context_builtin.go index 591cf78d45..bbd15eb26b 100644 --- a/internal/tofu/eval_context_builtin.go +++ b/internal/tofu/eval_context_builtin.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_context_builtin_test.go b/internal/tofu/eval_context_builtin_test.go index a12ff8219d..98a5f7bc90 100644 --- a/internal/tofu/eval_context_builtin_test.go +++ b/internal/tofu/eval_context_builtin_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_context_mock.go b/internal/tofu/eval_context_mock.go index e633d328d8..737e68def7 100644 --- a/internal/tofu/eval_context_mock.go +++ b/internal/tofu/eval_context_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_count.go b/internal/tofu/eval_count.go index e66130ee50..3121098f8d 100644 --- a/internal/tofu/eval_count.go +++ b/internal/tofu/eval_count.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_count_test.go b/internal/tofu/eval_count_test.go index f9387e7faf..ebb3b93f96 100644 --- a/internal/tofu/eval_count_test.go +++ b/internal/tofu/eval_count_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_for_each.go b/internal/tofu/eval_for_each.go index b81f4cd95d..acc6bb8450 100644 --- a/internal/tofu/eval_for_each.go +++ b/internal/tofu/eval_for_each.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_for_each_test.go b/internal/tofu/eval_for_each_test.go index d7bca404d2..3a4df5d653 100644 --- a/internal/tofu/eval_for_each_test.go +++ b/internal/tofu/eval_for_each_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_import.go b/internal/tofu/eval_import.go index 216175a961..734ff26ab7 100644 --- a/internal/tofu/eval_import.go +++ b/internal/tofu/eval_import.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tofu import ( diff --git a/internal/tofu/eval_import_test.go b/internal/tofu/eval_import_test.go index a0fc1338f3..702178c8c0 100644 --- a/internal/tofu/eval_import_test.go +++ b/internal/tofu/eval_import_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tofu import ( diff --git a/internal/tofu/eval_provider.go b/internal/tofu/eval_provider.go index 6582514976..7b17369bf6 100644 --- a/internal/tofu/eval_provider.go +++ b/internal/tofu/eval_provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_provider_test.go b/internal/tofu/eval_provider_test.go index 92e29894d7..2ce0a40ba4 100644 --- a/internal/tofu/eval_provider_test.go +++ b/internal/tofu/eval_provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_variable.go b/internal/tofu/eval_variable.go index a6fb85555f..198cb36ff9 100644 --- a/internal/tofu/eval_variable.go +++ b/internal/tofu/eval_variable.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/eval_variable_test.go b/internal/tofu/eval_variable_test.go index e514474a33..5f7fd87f29 100644 --- a/internal/tofu/eval_variable_test.go +++ b/internal/tofu/eval_variable_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/evaluate.go b/internal/tofu/evaluate.go index 6d24b0b071..0cc4c6f0fc 100644 --- a/internal/tofu/evaluate.go +++ b/internal/tofu/evaluate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/evaluate_test.go b/internal/tofu/evaluate_test.go index 47336e0491..8a99552829 100644 --- a/internal/tofu/evaluate_test.go +++ b/internal/tofu/evaluate_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/evaluate_triggers.go b/internal/tofu/evaluate_triggers.go index b59447061e..12f938c4d7 100644 --- a/internal/tofu/evaluate_triggers.go +++ b/internal/tofu/evaluate_triggers.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/evaluate_triggers_test.go b/internal/tofu/evaluate_triggers_test.go index 779132c445..29aba36942 100644 --- a/internal/tofu/evaluate_triggers_test.go +++ b/internal/tofu/evaluate_triggers_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/evaluate_valid.go b/internal/tofu/evaluate_valid.go index 5347a593c2..450116c4a3 100644 --- a/internal/tofu/evaluate_valid.go +++ b/internal/tofu/evaluate_valid.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/evaluate_valid_test.go b/internal/tofu/evaluate_valid_test.go index bd3f38f697..aa1c79efc0 100644 --- a/internal/tofu/evaluate_valid_test.go +++ b/internal/tofu/evaluate_valid_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/execute.go b/internal/tofu/execute.go index 3b5ace64a2..b340839d1d 100644 --- a/internal/tofu/execute.go +++ b/internal/tofu/execute.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/features.go b/internal/tofu/features.go index 34599ad9c3..5f3fe1e920 100644 --- a/internal/tofu/features.go +++ b/internal/tofu/features.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph.go b/internal/tofu/graph.go index e90eafe343..c4aaf098f9 100644 --- a/internal/tofu/graph.go +++ b/internal/tofu/graph.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_builder.go b/internal/tofu/graph_builder.go index 75d22f7f2b..9dd986fd0b 100644 --- a/internal/tofu/graph_builder.go +++ b/internal/tofu/graph_builder.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_builder_apply.go b/internal/tofu/graph_builder_apply.go index 90502a8ec6..c720f56909 100644 --- a/internal/tofu/graph_builder_apply.go +++ b/internal/tofu/graph_builder_apply.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_builder_apply_test.go b/internal/tofu/graph_builder_apply_test.go index fe6bbb5db7..72a5394303 100644 --- a/internal/tofu/graph_builder_apply_test.go +++ b/internal/tofu/graph_builder_apply_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_builder_eval.go b/internal/tofu/graph_builder_eval.go index 074df78748..7dcc11d780 100644 --- a/internal/tofu/graph_builder_eval.go +++ b/internal/tofu/graph_builder_eval.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_builder_plan.go b/internal/tofu/graph_builder_plan.go index 620e3356ba..94b65fe1c7 100644 --- a/internal/tofu/graph_builder_plan.go +++ b/internal/tofu/graph_builder_plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_builder_plan_test.go b/internal/tofu/graph_builder_plan_test.go index 6b22817f89..f8e1897fc0 100644 --- a/internal/tofu/graph_builder_plan_test.go +++ b/internal/tofu/graph_builder_plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_builder_test.go b/internal/tofu/graph_builder_test.go index b2b0c8b739..14c5ecf12b 100644 --- a/internal/tofu/graph_builder_test.go +++ b/internal/tofu/graph_builder_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_dot.go b/internal/tofu/graph_dot.go index 14af686755..819241e02b 100644 --- a/internal/tofu/graph_dot.go +++ b/internal/tofu/graph_dot.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_dot_test.go b/internal/tofu/graph_dot_test.go index 1def457741..01cc513a12 100644 --- a/internal/tofu/graph_dot_test.go +++ b/internal/tofu/graph_dot_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_interface_subgraph.go b/internal/tofu/graph_interface_subgraph.go index 13aa8ffdd2..eb480c91e7 100644 --- a/internal/tofu/graph_interface_subgraph.go +++ b/internal/tofu/graph_interface_subgraph.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_test.go b/internal/tofu/graph_test.go index 768125184a..45a3cd0f37 100644 --- a/internal/tofu/graph_test.go +++ b/internal/tofu/graph_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_walk.go b/internal/tofu/graph_walk.go index f7ca6caf4b..223e171d39 100644 --- a/internal/tofu/graph_walk.go +++ b/internal/tofu/graph_walk.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_walk_context.go b/internal/tofu/graph_walk_context.go index 32ebd1de30..37a97aeb33 100644 --- a/internal/tofu/graph_walk_context.go +++ b/internal/tofu/graph_walk_context.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_walk_operation.go b/internal/tofu/graph_walk_operation.go index 4de596553e..14e999220c 100644 --- a/internal/tofu/graph_walk_operation.go +++ b/internal/tofu/graph_walk_operation.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/graph_walk_test.go b/internal/tofu/graph_walk_test.go index 10827b60cb..9588b1831a 100644 --- a/internal/tofu/graph_walk_test.go +++ b/internal/tofu/graph_walk_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/hook.go b/internal/tofu/hook.go index 2f5964399d..708226d8c5 100644 --- a/internal/tofu/hook.go +++ b/internal/tofu/hook.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/hook_mock.go b/internal/tofu/hook_mock.go index 9fb136261c..6130f9df8a 100644 --- a/internal/tofu/hook_mock.go +++ b/internal/tofu/hook_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/hook_stop.go b/internal/tofu/hook_stop.go index 24d9546326..5ca18da765 100644 --- a/internal/tofu/hook_stop.go +++ b/internal/tofu/hook_stop.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/hook_stop_test.go b/internal/tofu/hook_stop_test.go index 26d2ab2dc4..4f667d2580 100644 --- a/internal/tofu/hook_stop_test.go +++ b/internal/tofu/hook_stop_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/hook_test.go b/internal/tofu/hook_test.go index c27107e59b..58922166f4 100644 --- a/internal/tofu/hook_test.go +++ b/internal/tofu/hook_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/instance_expanders.go b/internal/tofu/instance_expanders.go index 99af81391c..e695aefc24 100644 --- a/internal/tofu/instance_expanders.go +++ b/internal/tofu/instance_expanders.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/marks.go b/internal/tofu/marks.go index 3b54bd72ab..2ea320ffe5 100644 --- a/internal/tofu/marks.go +++ b/internal/tofu/marks.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/marks_test.go b/internal/tofu/marks_test.go index 15d00898c5..2d2eaff5b3 100644 --- a/internal/tofu/marks_test.go +++ b/internal/tofu/marks_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_check.go b/internal/tofu/node_check.go index d8c6e76a1f..4adaea5be0 100644 --- a/internal/tofu/node_check.go +++ b/internal/tofu/node_check.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_data_destroy.go b/internal/tofu/node_data_destroy.go index 62fbac7ddf..8150e0632b 100644 --- a/internal/tofu/node_data_destroy.go +++ b/internal/tofu/node_data_destroy.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_data_destroy_test.go b/internal/tofu/node_data_destroy_test.go index fc7252c367..2f12320017 100644 --- a/internal/tofu/node_data_destroy_test.go +++ b/internal/tofu/node_data_destroy_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_external_reference.go b/internal/tofu/node_external_reference.go index 03b2dae481..18586886e0 100644 --- a/internal/tofu/node_external_reference.go +++ b/internal/tofu/node_external_reference.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tofu import "github.com/opentofu/opentofu/internal/addrs" diff --git a/internal/tofu/node_local.go b/internal/tofu/node_local.go index 56b2698b36..2de8693519 100644 --- a/internal/tofu/node_local.go +++ b/internal/tofu/node_local.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_local_test.go b/internal/tofu/node_local_test.go index ab248dc082..4ad7a49d97 100644 --- a/internal/tofu/node_local_test.go +++ b/internal/tofu/node_local_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_module_expand.go b/internal/tofu/node_module_expand.go index 43c5f73311..254bad8be7 100644 --- a/internal/tofu/node_module_expand.go +++ b/internal/tofu/node_module_expand.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_module_expand_test.go b/internal/tofu/node_module_expand_test.go index f68c4ca840..b987fdc1ce 100644 --- a/internal/tofu/node_module_expand_test.go +++ b/internal/tofu/node_module_expand_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_module_variable.go b/internal/tofu/node_module_variable.go index 134f38be6d..8f759e5429 100644 --- a/internal/tofu/node_module_variable.go +++ b/internal/tofu/node_module_variable.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_module_variable_test.go b/internal/tofu/node_module_variable_test.go index 58b6cdce01..f01bbeeeb9 100644 --- a/internal/tofu/node_module_variable_test.go +++ b/internal/tofu/node_module_variable_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_output.go b/internal/tofu/node_output.go index dcc743b74a..34d8644123 100644 --- a/internal/tofu/node_output.go +++ b/internal/tofu/node_output.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_output_test.go b/internal/tofu/node_output_test.go index b6152056b5..eee4469e43 100644 --- a/internal/tofu/node_output_test.go +++ b/internal/tofu/node_output_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_provider.go b/internal/tofu/node_provider.go index 441a6954b6..db59576f2c 100644 --- a/internal/tofu/node_provider.go +++ b/internal/tofu/node_provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_provider_abstract.go b/internal/tofu/node_provider_abstract.go index 31dfcd0a8f..51242f2ba8 100644 --- a/internal/tofu/node_provider_abstract.go +++ b/internal/tofu/node_provider_abstract.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_provider_eval.go b/internal/tofu/node_provider_eval.go index 798e22a1bc..35e6216916 100644 --- a/internal/tofu/node_provider_eval.go +++ b/internal/tofu/node_provider_eval.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_provider_test.go b/internal/tofu/node_provider_test.go index 70a40f3029..719eda6867 100644 --- a/internal/tofu/node_provider_test.go +++ b/internal/tofu/node_provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_abstract.go b/internal/tofu/node_resource_abstract.go index a1ccc0f729..7e65c087a5 100644 --- a/internal/tofu/node_resource_abstract.go +++ b/internal/tofu/node_resource_abstract.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_abstract_instance.go b/internal/tofu/node_resource_abstract_instance.go index 9a067b5e00..9089e215ce 100644 --- a/internal/tofu/node_resource_abstract_instance.go +++ b/internal/tofu/node_resource_abstract_instance.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_abstract_instance_test.go b/internal/tofu/node_resource_abstract_instance_test.go index a062be3175..da882f79c7 100644 --- a/internal/tofu/node_resource_abstract_instance_test.go +++ b/internal/tofu/node_resource_abstract_instance_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_abstract_test.go b/internal/tofu/node_resource_abstract_test.go index 7567d4b1ae..4be548f8ba 100644 --- a/internal/tofu/node_resource_abstract_test.go +++ b/internal/tofu/node_resource_abstract_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_apply.go b/internal/tofu/node_resource_apply.go index 9fb2248941..956e59235c 100644 --- a/internal/tofu/node_resource_apply.go +++ b/internal/tofu/node_resource_apply.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_apply_instance.go b/internal/tofu/node_resource_apply_instance.go index 208821f129..c187e8f969 100644 --- a/internal/tofu/node_resource_apply_instance.go +++ b/internal/tofu/node_resource_apply_instance.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_apply_test.go b/internal/tofu/node_resource_apply_test.go index 3d8e164d0b..9432635b19 100644 --- a/internal/tofu/node_resource_apply_test.go +++ b/internal/tofu/node_resource_apply_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_destroy.go b/internal/tofu/node_resource_destroy.go index 3b43186f56..6d83def327 100644 --- a/internal/tofu/node_resource_destroy.go +++ b/internal/tofu/node_resource_destroy.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_destroy_deposed.go b/internal/tofu/node_resource_destroy_deposed.go index 4c8d43ed54..e77e008906 100644 --- a/internal/tofu/node_resource_destroy_deposed.go +++ b/internal/tofu/node_resource_destroy_deposed.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_destroy_deposed_test.go b/internal/tofu/node_resource_destroy_deposed_test.go index c606542e0e..598736b625 100644 --- a/internal/tofu/node_resource_destroy_deposed_test.go +++ b/internal/tofu/node_resource_destroy_deposed_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_import.go b/internal/tofu/node_resource_import.go index b36ad90563..3343e07e19 100644 --- a/internal/tofu/node_resource_import.go +++ b/internal/tofu/node_resource_import.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_plan.go b/internal/tofu/node_resource_plan.go index e07e943ef4..e952525985 100644 --- a/internal/tofu/node_resource_plan.go +++ b/internal/tofu/node_resource_plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_plan_destroy.go b/internal/tofu/node_resource_plan_destroy.go index 96cf298cf4..0d6a9e7078 100644 --- a/internal/tofu/node_resource_plan_destroy.go +++ b/internal/tofu/node_resource_plan_destroy.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_plan_instance.go b/internal/tofu/node_resource_plan_instance.go index 03aa8c4be5..b865511080 100644 --- a/internal/tofu/node_resource_plan_instance.go +++ b/internal/tofu/node_resource_plan_instance.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_plan_orphan.go b/internal/tofu/node_resource_plan_orphan.go index e71772617c..d8470454ad 100644 --- a/internal/tofu/node_resource_plan_orphan.go +++ b/internal/tofu/node_resource_plan_orphan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_plan_orphan_test.go b/internal/tofu/node_resource_plan_orphan_test.go index 4d63b907cd..3c451e0299 100644 --- a/internal/tofu/node_resource_plan_orphan_test.go +++ b/internal/tofu/node_resource_plan_orphan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_validate.go b/internal/tofu/node_resource_validate.go index 8415a4351f..ca69390eb2 100644 --- a/internal/tofu/node_resource_validate.go +++ b/internal/tofu/node_resource_validate.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_resource_validate_test.go b/internal/tofu/node_resource_validate_test.go index 407b3929ee..0ced3dab37 100644 --- a/internal/tofu/node_resource_validate_test.go +++ b/internal/tofu/node_resource_validate_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_root_variable.go b/internal/tofu/node_root_variable.go index d9c6f4b788..65f66fa0eb 100644 --- a/internal/tofu/node_root_variable.go +++ b/internal/tofu/node_root_variable.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_root_variable_test.go b/internal/tofu/node_root_variable_test.go index 1a679373f9..abdfbe23ec 100644 --- a/internal/tofu/node_root_variable_test.go +++ b/internal/tofu/node_root_variable_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/node_value.go b/internal/tofu/node_value.go index d873e2cf37..55b1fb46e2 100644 --- a/internal/tofu/node_value.go +++ b/internal/tofu/node_value.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/opentf_test.go b/internal/tofu/opentf_test.go index 538f3e7273..46f7b4e613 100644 --- a/internal/tofu/opentf_test.go +++ b/internal/tofu/opentf_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/provider_mock.go b/internal/tofu/provider_mock.go index d1233f1d9e..e0e018d845 100644 --- a/internal/tofu/provider_mock.go +++ b/internal/tofu/provider_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/provisioner_mock.go b/internal/tofu/provisioner_mock.go index c6d7a9ad04..1e2c19f3dc 100644 --- a/internal/tofu/provisioner_mock.go +++ b/internal/tofu/provisioner_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/provisioner_mock_test.go b/internal/tofu/provisioner_mock_test.go index 66b024f012..ca2086ffea 100644 --- a/internal/tofu/provisioner_mock_test.go +++ b/internal/tofu/provisioner_mock_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/reduce_plan.go b/internal/tofu/reduce_plan.go index 27581ef782..ddd5911c52 100644 --- a/internal/tofu/reduce_plan.go +++ b/internal/tofu/reduce_plan.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/reduce_plan_test.go b/internal/tofu/reduce_plan_test.go index 0a26a89e2f..4eb2d40028 100644 --- a/internal/tofu/reduce_plan_test.go +++ b/internal/tofu/reduce_plan_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/resource_provider_mock_test.go b/internal/tofu/resource_provider_mock_test.go index faeacfbd97..adb5fecada 100644 --- a/internal/tofu/resource_provider_mock_test.go +++ b/internal/tofu/resource_provider_mock_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/schemas.go b/internal/tofu/schemas.go index 6a8803d67c..9a6581d852 100644 --- a/internal/tofu/schemas.go +++ b/internal/tofu/schemas.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/schemas_test.go b/internal/tofu/schemas_test.go index a735e06a15..249cce34bd 100644 --- a/internal/tofu/schemas_test.go +++ b/internal/tofu/schemas_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/test_context.go b/internal/tofu/test_context.go index 9fb0c1d90a..49b1fd8de5 100644 --- a/internal/tofu/test_context.go +++ b/internal/tofu/test_context.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tofu import ( diff --git a/internal/tofu/test_context_test.go b/internal/tofu/test_context_test.go index 3c43994c21..ddfb45fe00 100644 --- a/internal/tofu/test_context_test.go +++ b/internal/tofu/test_context_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tofu import ( diff --git a/internal/tofu/transform.go b/internal/tofu/transform.go index 8d7763c224..347e64a415 100644 --- a/internal/tofu/transform.go +++ b/internal/tofu/transform.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_attach_config_provider.go b/internal/tofu/transform_attach_config_provider.go index 31abed20a1..0838dc8167 100644 --- a/internal/tofu/transform_attach_config_provider.go +++ b/internal/tofu/transform_attach_config_provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_attach_config_provider_meta.go b/internal/tofu/transform_attach_config_provider_meta.go index 4a8ddfda2a..522b8edc4f 100644 --- a/internal/tofu/transform_attach_config_provider_meta.go +++ b/internal/tofu/transform_attach_config_provider_meta.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_attach_config_resource.go b/internal/tofu/transform_attach_config_resource.go index b93c65117f..3610bef41c 100644 --- a/internal/tofu/transform_attach_config_resource.go +++ b/internal/tofu/transform_attach_config_resource.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_attach_schema.go b/internal/tofu/transform_attach_schema.go index 2a684faee9..ddc2450cef 100644 --- a/internal/tofu/transform_attach_schema.go +++ b/internal/tofu/transform_attach_schema.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_attach_state.go b/internal/tofu/transform_attach_state.go index e8c435a984..2a2ef3e35d 100644 --- a/internal/tofu/transform_attach_state.go +++ b/internal/tofu/transform_attach_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_check.go b/internal/tofu/transform_check.go index 228d2e8e1b..d0ae0ce296 100644 --- a/internal/tofu/transform_check.go +++ b/internal/tofu/transform_check.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_check_starter.go b/internal/tofu/transform_check_starter.go index d35306fda2..b506f1b315 100644 --- a/internal/tofu/transform_check_starter.go +++ b/internal/tofu/transform_check_starter.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tofu import ( diff --git a/internal/tofu/transform_config.go b/internal/tofu/transform_config.go index 2f681a3477..7bbf6bb4bd 100644 --- a/internal/tofu/transform_config.go +++ b/internal/tofu/transform_config.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_config_test.go b/internal/tofu/transform_config_test.go index 9848b21cda..a9cae79094 100644 --- a/internal/tofu/transform_config_test.go +++ b/internal/tofu/transform_config_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_destroy_cbd.go b/internal/tofu/transform_destroy_cbd.go index e1b14fab11..24880106af 100644 --- a/internal/tofu/transform_destroy_cbd.go +++ b/internal/tofu/transform_destroy_cbd.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_destroy_cbd_test.go b/internal/tofu/transform_destroy_cbd_test.go index 958fd20fa1..2f7fbd6a1a 100644 --- a/internal/tofu/transform_destroy_cbd_test.go +++ b/internal/tofu/transform_destroy_cbd_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_destroy_edge.go b/internal/tofu/transform_destroy_edge.go index a65f6ecd8a..7167f46a89 100644 --- a/internal/tofu/transform_destroy_edge.go +++ b/internal/tofu/transform_destroy_edge.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_destroy_edge_test.go b/internal/tofu/transform_destroy_edge_test.go index d2c76c380a..209d6a6090 100644 --- a/internal/tofu/transform_destroy_edge_test.go +++ b/internal/tofu/transform_destroy_edge_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_diff.go b/internal/tofu/transform_diff.go index 18f437150c..759e827e47 100644 --- a/internal/tofu/transform_diff.go +++ b/internal/tofu/transform_diff.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_diff_test.go b/internal/tofu/transform_diff_test.go index 15634a2c92..d09849d88a 100644 --- a/internal/tofu/transform_diff_test.go +++ b/internal/tofu/transform_diff_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_expand.go b/internal/tofu/transform_expand.go index d8ac6388e0..b13d4720b4 100644 --- a/internal/tofu/transform_expand.go +++ b/internal/tofu/transform_expand.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_external_reference.go b/internal/tofu/transform_external_reference.go index 67c96ed717..a8832402ea 100644 --- a/internal/tofu/transform_external_reference.go +++ b/internal/tofu/transform_external_reference.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tofu import "github.com/opentofu/opentofu/internal/addrs" diff --git a/internal/tofu/transform_import_state_test.go b/internal/tofu/transform_import_state_test.go index ba29ecfbf1..42452809ad 100644 --- a/internal/tofu/transform_import_state_test.go +++ b/internal/tofu/transform_import_state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_local.go b/internal/tofu/transform_local.go index 35b1271127..94eae7fde4 100644 --- a/internal/tofu/transform_local.go +++ b/internal/tofu/transform_local.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_module_expansion.go b/internal/tofu/transform_module_expansion.go index 42a83cb25c..c16eb12fdf 100644 --- a/internal/tofu/transform_module_expansion.go +++ b/internal/tofu/transform_module_expansion.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_module_variable.go b/internal/tofu/transform_module_variable.go index 71081c91d3..aa8ff4ee09 100644 --- a/internal/tofu/transform_module_variable.go +++ b/internal/tofu/transform_module_variable.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_module_variable_test.go b/internal/tofu/transform_module_variable_test.go index 76badf9228..8aaa4c6df8 100644 --- a/internal/tofu/transform_module_variable_test.go +++ b/internal/tofu/transform_module_variable_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_orphan_count.go b/internal/tofu/transform_orphan_count.go index dedcfa5d5c..6da9855ec4 100644 --- a/internal/tofu/transform_orphan_count.go +++ b/internal/tofu/transform_orphan_count.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_orphan_count_test.go b/internal/tofu/transform_orphan_count_test.go index 6f79256e40..72ea15c956 100644 --- a/internal/tofu/transform_orphan_count_test.go +++ b/internal/tofu/transform_orphan_count_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_orphan_output.go b/internal/tofu/transform_orphan_output.go index 5edeaf7395..fd19c5397a 100644 --- a/internal/tofu/transform_orphan_output.go +++ b/internal/tofu/transform_orphan_output.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_orphan_resource.go b/internal/tofu/transform_orphan_resource.go index be1dd58c73..0b377c45a4 100644 --- a/internal/tofu/transform_orphan_resource.go +++ b/internal/tofu/transform_orphan_resource.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_orphan_resource_test.go b/internal/tofu/transform_orphan_resource_test.go index 4d0ed3f90f..1f326b7779 100644 --- a/internal/tofu/transform_orphan_resource_test.go +++ b/internal/tofu/transform_orphan_resource_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_output.go b/internal/tofu/transform_output.go index e0b5ffd8fa..8198956f24 100644 --- a/internal/tofu/transform_output.go +++ b/internal/tofu/transform_output.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_provider.go b/internal/tofu/transform_provider.go index c2ecc38bab..db0669bd19 100644 --- a/internal/tofu/transform_provider.go +++ b/internal/tofu/transform_provider.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_provider_test.go b/internal/tofu/transform_provider_test.go index 051aa27b52..3456ac81d6 100644 --- a/internal/tofu/transform_provider_test.go +++ b/internal/tofu/transform_provider_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_provisioner.go b/internal/tofu/transform_provisioner.go index 566816a451..0202c95eae 100644 --- a/internal/tofu/transform_provisioner.go +++ b/internal/tofu/transform_provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_reference.go b/internal/tofu/transform_reference.go index 2cbc16fdeb..715a9c65d7 100644 --- a/internal/tofu/transform_reference.go +++ b/internal/tofu/transform_reference.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_reference_test.go b/internal/tofu/transform_reference_test.go index d61e4f7282..9ae334c767 100644 --- a/internal/tofu/transform_reference_test.go +++ b/internal/tofu/transform_reference_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_removed_modules.go b/internal/tofu/transform_removed_modules.go index 0ea0112af4..f9405a0cc8 100644 --- a/internal/tofu/transform_removed_modules.go +++ b/internal/tofu/transform_removed_modules.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_resource_count.go b/internal/tofu/transform_resource_count.go index ce7d165e0a..c2d6799e18 100644 --- a/internal/tofu/transform_resource_count.go +++ b/internal/tofu/transform_resource_count.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_root.go b/internal/tofu/transform_root.go index f420254e98..c4e3284f3a 100644 --- a/internal/tofu/transform_root.go +++ b/internal/tofu/transform_root.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_root_test.go b/internal/tofu/transform_root_test.go index dbfe81469b..c69b75d30e 100644 --- a/internal/tofu/transform_root_test.go +++ b/internal/tofu/transform_root_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_state.go b/internal/tofu/transform_state.go index 446ac43b31..a761d7c10d 100644 --- a/internal/tofu/transform_state.go +++ b/internal/tofu/transform_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_targets.go b/internal/tofu/transform_targets.go index 16bf8b1e84..3c744f96bd 100644 --- a/internal/tofu/transform_targets.go +++ b/internal/tofu/transform_targets.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_targets_test.go b/internal/tofu/transform_targets_test.go index 75d7f655d7..1572797a19 100644 --- a/internal/tofu/transform_targets_test.go +++ b/internal/tofu/transform_targets_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_transitive_reduction.go b/internal/tofu/transform_transitive_reduction.go index 43919fddc7..dd5ba6752e 100644 --- a/internal/tofu/transform_transitive_reduction.go +++ b/internal/tofu/transform_transitive_reduction.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_transitive_reduction_test.go b/internal/tofu/transform_transitive_reduction_test.go index 297f1d3a1d..955b0441a3 100644 --- a/internal/tofu/transform_transitive_reduction_test.go +++ b/internal/tofu/transform_transitive_reduction_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_variable.go b/internal/tofu/transform_variable.go index 2da6a4cae3..844cdfa0b1 100644 --- a/internal/tofu/transform_variable.go +++ b/internal/tofu/transform_variable.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_vertex.go b/internal/tofu/transform_vertex.go index 7ee3862317..122ae1a439 100644 --- a/internal/tofu/transform_vertex.go +++ b/internal/tofu/transform_vertex.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/transform_vertex_test.go b/internal/tofu/transform_vertex_test.go index fd0266bad0..0821dccbca 100644 --- a/internal/tofu/transform_vertex_test.go +++ b/internal/tofu/transform_vertex_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/ui_input.go b/internal/tofu/ui_input.go index 2bd06b5187..bc1569cd82 100644 --- a/internal/tofu/ui_input.go +++ b/internal/tofu/ui_input.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/ui_input_mock.go b/internal/tofu/ui_input_mock.go index 7952379ac4..9e2f2891a7 100644 --- a/internal/tofu/ui_input_mock.go +++ b/internal/tofu/ui_input_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/ui_input_prefix.go b/internal/tofu/ui_input_prefix.go index 634a926d76..a755c3319b 100644 --- a/internal/tofu/ui_input_prefix.go +++ b/internal/tofu/ui_input_prefix.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/ui_input_prefix_test.go b/internal/tofu/ui_input_prefix_test.go index 11bdc98d1e..423f97f8f2 100644 --- a/internal/tofu/ui_input_prefix_test.go +++ b/internal/tofu/ui_input_prefix_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/ui_output.go b/internal/tofu/ui_output.go index 1ae3a92c0e..3378a52157 100644 --- a/internal/tofu/ui_output.go +++ b/internal/tofu/ui_output.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/ui_output_callback.go b/internal/tofu/ui_output_callback.go index 82a0bd9c12..02188ba9b8 100644 --- a/internal/tofu/ui_output_callback.go +++ b/internal/tofu/ui_output_callback.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/ui_output_callback_test.go b/internal/tofu/ui_output_callback_test.go index 8e170ef515..1494934d22 100644 --- a/internal/tofu/ui_output_callback_test.go +++ b/internal/tofu/ui_output_callback_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/ui_output_mock.go b/internal/tofu/ui_output_mock.go index 4ecc6c9bc1..3fa45007bf 100644 --- a/internal/tofu/ui_output_mock.go +++ b/internal/tofu/ui_output_mock.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/ui_output_mock_test.go b/internal/tofu/ui_output_mock_test.go index b15372c1a1..7f0ffa5aa7 100644 --- a/internal/tofu/ui_output_mock_test.go +++ b/internal/tofu/ui_output_mock_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/ui_output_provisioner.go b/internal/tofu/ui_output_provisioner.go index 764b500f22..462a99024e 100644 --- a/internal/tofu/ui_output_provisioner.go +++ b/internal/tofu/ui_output_provisioner.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/ui_output_provisioner_test.go b/internal/tofu/ui_output_provisioner_test.go index 80dd501109..34a7b48b5d 100644 --- a/internal/tofu/ui_output_provisioner_test.go +++ b/internal/tofu/ui_output_provisioner_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/update_state_hook.go b/internal/tofu/update_state_hook.go index 182d32e66d..332fc2c198 100644 --- a/internal/tofu/update_state_hook.go +++ b/internal/tofu/update_state_hook.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/update_state_hook_test.go b/internal/tofu/update_state_hook_test.go index 42502fe207..2df891a0bc 100644 --- a/internal/tofu/update_state_hook_test.go +++ b/internal/tofu/update_state_hook_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/upgrade_resource_state.go b/internal/tofu/upgrade_resource_state.go index 2ca9883ac0..02bcf5586d 100644 --- a/internal/tofu/upgrade_resource_state.go +++ b/internal/tofu/upgrade_resource_state.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/upgrade_resource_state_test.go b/internal/tofu/upgrade_resource_state_test.go index 462b3ab279..f0d996cb9a 100644 --- a/internal/tofu/upgrade_resource_state_test.go +++ b/internal/tofu/upgrade_resource_state_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/util.go b/internal/tofu/util.go index 3e8605b767..0a853336d6 100644 --- a/internal/tofu/util.go +++ b/internal/tofu/util.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/util_test.go b/internal/tofu/util_test.go index fd7cd12c26..f27cc0d633 100644 --- a/internal/tofu/util_test.go +++ b/internal/tofu/util_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/validate_selfref.go b/internal/tofu/validate_selfref.go index 6eb8e91bcf..99daf91523 100644 --- a/internal/tofu/validate_selfref.go +++ b/internal/tofu/validate_selfref.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/validate_selfref_test.go b/internal/tofu/validate_selfref_test.go index 034fb61653..68caeeb089 100644 --- a/internal/tofu/validate_selfref_test.go +++ b/internal/tofu/validate_selfref_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/variables.go b/internal/tofu/variables.go index efd7292f96..39fdc71258 100644 --- a/internal/tofu/variables.go +++ b/internal/tofu/variables.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/variables_test.go b/internal/tofu/variables_test.go index e1cadd42b8..02324c3e1b 100644 --- a/internal/tofu/variables_test.go +++ b/internal/tofu/variables_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofu/version_required.go b/internal/tofu/version_required.go index d4a5e36923..c3fbba39d3 100644 --- a/internal/tofu/version_required.go +++ b/internal/tofu/version_required.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package tofu diff --git a/internal/tofumigrate/tofumigrate.go b/internal/tofumigrate/tofumigrate.go index f09ea20959..2d91a4e319 100644 --- a/internal/tofumigrate/tofumigrate.go +++ b/internal/tofumigrate/tofumigrate.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tofumigrate import ( diff --git a/internal/tofumigrate/tofumigrate_test.go b/internal/tofumigrate/tofumigrate_test.go index b7e0a5ba75..451b9d66ec 100644 --- a/internal/tofumigrate/tofumigrate_test.go +++ b/internal/tofumigrate/tofumigrate_test.go @@ -1,3 +1,8 @@ +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tofumigrate import ( diff --git a/scripts/build.sh b/scripts/build.sh index c1ad54569e..e1807d148c 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 # diff --git a/scripts/changelog-links.sh b/scripts/changelog-links.sh index fe1fff7f02..9994d06e5a 100755 --- a/scripts/changelog-links.sh +++ b/scripts/changelog-links.sh @@ -1,5 +1,7 @@ #!/bin/bash -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 diff --git a/scripts/exhaustive.sh b/scripts/exhaustive.sh index eda66db932..3ea4bd4a62 100755 --- a/scripts/exhaustive.sh +++ b/scripts/exhaustive.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 diff --git a/scripts/gofmtcheck.sh b/scripts/gofmtcheck.sh index ccd94969a3..08d0e7c6f7 100755 --- a/scripts/gofmtcheck.sh +++ b/scripts/gofmtcheck.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 diff --git a/scripts/goimportscheck.sh b/scripts/goimportscheck.sh index c9747af8f6..fb958c9493 100755 --- a/scripts/goimportscheck.sh +++ b/scripts/goimportscheck.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 diff --git a/scripts/staticcheck.sh b/scripts/staticcheck.sh index cd07964621..7ba2b1072c 100755 --- a/scripts/staticcheck.sh +++ b/scripts/staticcheck.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 diff --git a/testing/equivalence-tests/tests/basic_json_string_update/.terraform.lock.hcl b/testing/equivalence-tests/tests/basic_json_string_update/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/basic_json_string_update/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/basic_json_string_update/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/basic_multiline_string_update/.terraform.lock.hcl b/testing/equivalence-tests/tests/basic_multiline_string_update/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/basic_multiline_string_update/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/basic_multiline_string_update/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/drift_refresh_only/.terraform.lock.hcl b/testing/equivalence-tests/tests/drift_refresh_only/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/drift_refresh_only/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/drift_refresh_only/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/drift_relevant_attributes/.terraform.lock.hcl b/testing/equivalence-tests/tests/drift_relevant_attributes/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/drift_relevant_attributes/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/drift_relevant_attributes/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/drift_simple/.terraform.lock.hcl b/testing/equivalence-tests/tests/drift_simple/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/drift_simple/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/drift_simple/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/fully_populated_complex_destroy/.terraform.lock.hcl b/testing/equivalence-tests/tests/fully_populated_complex_destroy/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/fully_populated_complex_destroy/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/fully_populated_complex_destroy/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/fully_populated_complex_update/.terraform.lock.hcl b/testing/equivalence-tests/tests/fully_populated_complex_update/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/fully_populated_complex_update/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/fully_populated_complex_update/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/local_provider_delete/.terraform.lock.hcl b/testing/equivalence-tests/tests/local_provider_delete/.terraform.lock.hcl index 896ec8397d..89e25dae6c 100644 --- a/testing/equivalence-tests/tests/local_provider_delete/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/local_provider_delete/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/local_provider_update/.terraform.lock.hcl b/testing/equivalence-tests/tests/local_provider_update/.terraform.lock.hcl index 896ec8397d..89e25dae6c 100644 --- a/testing/equivalence-tests/tests/local_provider_update/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/local_provider_update/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/moved_simple/.terraform.lock.hcl b/testing/equivalence-tests/tests/moved_simple/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/moved_simple/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/moved_simple/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/moved_with_drift/.terraform.lock.hcl b/testing/equivalence-tests/tests/moved_with_drift/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/moved_with_drift/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/moved_with_drift/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/moved_with_refresh_only/.terraform.lock.hcl b/testing/equivalence-tests/tests/moved_with_refresh_only/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/moved_with_refresh_only/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/moved_with_refresh_only/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/moved_with_update/.terraform.lock.hcl b/testing/equivalence-tests/tests/moved_with_update/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/moved_with_update/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/moved_with_update/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/null_provider_delete/.terraform.lock.hcl b/testing/equivalence-tests/tests/null_provider_delete/.terraform.lock.hcl index 9adde3019a..9a8a54fa6d 100644 --- a/testing/equivalence-tests/tests/null_provider_delete/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/null_provider_delete/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/replace_within_list/.terraform.lock.hcl b/testing/equivalence-tests/tests/replace_within_list/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/replace_within_list/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/replace_within_list/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/replace_within_map/.terraform.lock.hcl b/testing/equivalence-tests/tests/replace_within_map/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/replace_within_map/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/replace_within_map/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/replace_within_object/.terraform.lock.hcl b/testing/equivalence-tests/tests/replace_within_object/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/replace_within_object/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/replace_within_object/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/replace_within_set/.terraform.lock.hcl b/testing/equivalence-tests/tests/replace_within_set/.terraform.lock.hcl index 23e84f6fbd..c10c008f5d 100644 --- a/testing/equivalence-tests/tests/replace_within_set/.terraform.lock.hcl +++ b/testing/equivalence-tests/tests/replace_within_set/.terraform.lock.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This file is maintained automatically by "opentf init". # Manual edits may be lost in future updates. diff --git a/testing/equivalence-tests/tests/variables_and_outputs/main.auto.tfvars b/testing/equivalence-tests/tests/variables_and_outputs/main.auto.tfvars index 8a61f1a1c4..60e53d3815 100644 --- a/testing/equivalence-tests/tests/variables_and_outputs/main.auto.tfvars +++ b/testing/equivalence-tests/tests/variables_and_outputs/main.auto.tfvars @@ -1,4 +1,6 @@ -# Copyright (c) HashiCorp, Inc. +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. # SPDX-License-Identifier: MPL-2.0 list_no_default = [ diff --git a/tools.go b/tools.go index fd6513628d..91c8520bb6 100644 --- a/tools.go +++ b/tools.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build tools diff --git a/tools/loggraphdiff/loggraphdiff.go b/tools/loggraphdiff/loggraphdiff.go index eb84c8a2a8..50c513194b 100644 --- a/tools/loggraphdiff/loggraphdiff.go +++ b/tools/loggraphdiff/loggraphdiff.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // loggraphdiff is a tool for interpreting changes to the Terraform graph diff --git a/tools/protobuf-compile/protobuf-compile.go b/tools/protobuf-compile/protobuf-compile.go index 50548b56f9..f71fb48a64 100644 --- a/tools/protobuf-compile/protobuf-compile.go +++ b/tools/protobuf-compile/protobuf-compile.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // protobuf-compile is a helper tool for running protoc against all of the diff --git a/tools/tools.go b/tools/tools.go index 3879481c94..f23fd57e15 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 //go:build tools diff --git a/version/dependencies.go b/version/dependencies.go index c05e228c61..bb22a5c8c3 100644 --- a/version/dependencies.go +++ b/version/dependencies.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package version diff --git a/version/version.go b/version/version.go index 6ebdd6c56a..b6c25ff887 100644 --- a/version/version.go +++ b/version/version.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 // The version package provides a location to set the release versions for all diff --git a/version/version_test.go b/version/version_test.go index cd889b0ac9..5df5526255 100644 --- a/version/version_test.go +++ b/version/version_test.go @@ -1,4 +1,6 @@ -// Copyright (c) HashiCorp, Inc. +// Copyright (c) The OpenTofu Authors +// SPDX-License-Identifier: MPL-2.0 +// Copyright (c) 2023 HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package version diff --git a/website/.eslintrc.js b/website/.eslintrc.js index a65c4cc3d0..add9c4b271 100644 --- a/website/.eslintrc.js +++ b/website/.eslintrc.js @@ -1,3 +1,10 @@ +/** + * Copyright (c) The OpenTofu Authors + * SPDX-License-Identifier: MPL-2.0 + * Copyright (c) 2023 HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + module.exports = { "extends": ["plugin:mdx/recommended"], // optional, if you want to lint code blocks at the same time diff --git a/website/Dockerfile b/website/Dockerfile index 1527a99a6d..8e5c880149 100644 --- a/website/Dockerfile +++ b/website/Dockerfile @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + FROM alpine AS parent RUN apk add git diff --git a/website/docker-compose.build.yml b/website/docker-compose.build.yml index b6736c1082..808beac5af 100644 --- a/website/docker-compose.build.yml +++ b/website/docker-compose.build.yml @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: '3.8' services: website: diff --git a/website/docker-compose.yml b/website/docker-compose.yml index 8005ae5826..afda166c66 100644 --- a/website/docker-compose.yml +++ b/website/docker-compose.yml @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: '3.8' services: website: diff --git a/website/docs/cli/commands/test/examples/expect_failures_resources/main.tftest.hcl b/website/docs/cli/commands/test/examples/expect_failures_resources/main.tftest.hcl index d138571fc4..b782b3c418 100644 --- a/website/docs/cli/commands/test/examples/expect_failures_resources/main.tftest.hcl +++ b/website/docs/cli/commands/test/examples/expect_failures_resources/main.tftest.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + run "test-failure" { variables { # This healthcheck endpoint won't exist: diff --git a/website/docs/cli/commands/test/examples/expect_failures_variables/main.tftest.hcl b/website/docs/cli/commands/test/examples/expect_failures_variables/main.tftest.hcl index c79455fa7c..aefa5c1fa5 100644 --- a/website/docs/cli/commands/test/examples/expect_failures_variables/main.tftest.hcl +++ b/website/docs/cli/commands/test/examples/expect_failures_variables/main.tftest.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + run "main" { command = plan diff --git a/website/docs/cli/commands/test/examples/module/main.tftest.hcl b/website/docs/cli/commands/test/examples/module/main.tftest.hcl index 349209ef4e..f3f03c206a 100644 --- a/website/docs/cli/commands/test/examples/module/main.tftest.hcl +++ b/website/docs/cli/commands/test/examples/module/main.tftest.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + run "http" { # Load the test helper instead of the main module: module { diff --git a/website/docs/cli/commands/test/examples/nested-layout/main.tftest.hcl b/website/docs/cli/commands/test/examples/nested-layout/main.tftest.hcl index 60436e59b3..a3e830ce36 100644 --- a/website/docs/cli/commands/test/examples/nested-layout/main.tftest.hcl +++ b/website/docs/cli/commands/test/examples/nested-layout/main.tftest.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + run "test" { } \ No newline at end of file diff --git a/website/docs/cli/commands/test/examples/nested-layout/module/tests/main.tftest.hcl b/website/docs/cli/commands/test/examples/nested-layout/module/tests/main.tftest.hcl index 9d045b98ab..69d16e875e 100644 --- a/website/docs/cli/commands/test/examples/nested-layout/module/tests/main.tftest.hcl +++ b/website/docs/cli/commands/test/examples/nested-layout/module/tests/main.tftest.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + run "test" { module { source="../" diff --git a/website/docs/cli/commands/test/examples/offline/main.tftest.hcl b/website/docs/cli/commands/test/examples/offline/main.tftest.hcl index b0b244cd63..b2bfbda2bf 100644 --- a/website/docs/cli/commands/test/examples/offline/main.tftest.hcl +++ b/website/docs/cli/commands/test/examples/offline/main.tftest.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + // Configure the AWS provider to run fake credentials and without // any validations. Not all providers support this, but when they // do, you can run fully offline tests. diff --git a/website/docs/cli/commands/test/examples/plan/Dockerfile b/website/docs/cli/commands/test/examples/plan/Dockerfile index 9874636baa..0b25c74b83 100644 --- a/website/docs/cli/commands/test/examples/plan/Dockerfile +++ b/website/docs/cli/commands/test/examples/plan/Dockerfile @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + FROM nginx # It doesn't really matter what we do here, it won't run anyway. \ No newline at end of file diff --git a/website/docs/cli/commands/test/examples/plan/main.tftest.hcl b/website/docs/cli/commands/test/examples/plan/main.tftest.hcl index 76087eaf5e..b1e1360eab 100644 --- a/website/docs/cli/commands/test/examples/plan/main.tftest.hcl +++ b/website/docs/cli/commands/test/examples/plan/main.tftest.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + run "test" { command = plan plan_options { diff --git a/website/docs/cli/commands/test/examples/provider_alias/Dockerfile b/website/docs/cli/commands/test/examples/provider_alias/Dockerfile index 3b0a5d90f5..4c605dd574 100644 --- a/website/docs/cli/commands/test/examples/provider_alias/Dockerfile +++ b/website/docs/cli/commands/test/examples/provider_alias/Dockerfile @@ -1 +1,6 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + FROM nginx diff --git a/website/docs/cli/commands/test/examples/provider_alias/main.tftest.hcl b/website/docs/cli/commands/test/examples/provider_alias/main.tftest.hcl index 81338cd0ad..5ad2c764bd 100644 --- a/website/docs/cli/commands/test/examples/provider_alias/main.tftest.hcl +++ b/website/docs/cli/commands/test/examples/provider_alias/main.tftest.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This is the default "docker" provider for this file: provider "docker" { host = "tcp://0.0.0.0:2376" diff --git a/website/docs/cli/commands/test/examples/simple/main.tftest.hcl b/website/docs/cli/commands/test/examples/simple/main.tftest.hcl index 2d99a8c763..9c0a840859 100644 --- a/website/docs/cli/commands/test/examples/simple/main.tftest.hcl +++ b/website/docs/cli/commands/test/examples/simple/main.tftest.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + run "test" { assert { condition = file(local_file.test.filename) == "Hello world!" diff --git a/website/docs/cli/commands/test/examples/test.sh b/website/docs/cli/commands/test/examples/test.sh index fa244e1fd8..c3883c7e41 100755 --- a/website/docs/cli/commands/test/examples/test.sh +++ b/website/docs/cli/commands/test/examples/test.sh @@ -1,4 +1,9 @@ #!/bin/bash +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + tofu version 2>/dev/null >/dev/null if [ $? -ne 0 ]; then diff --git a/website/docs/cli/commands/test/examples/variables/main.tftest.hcl b/website/docs/cli/commands/test/examples/variables/main.tftest.hcl index 9170ea3f63..d257d0edda 100644 --- a/website/docs/cli/commands/test/examples/variables/main.tftest.hcl +++ b/website/docs/cli/commands/test/examples/variables/main.tftest.hcl @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # First, set the variable here: variables { name = "OpenTofu" diff --git a/website/docs/intro/install/alpine-convenience.sh b/website/docs/intro/install/alpine-convenience.sh index 18411c112a..7dc0147113 100644 --- a/website/docs/intro/install/alpine-convenience.sh +++ b/website/docs/intro/install/alpine-convenience.sh @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Download the installer script: curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh # Alternatively: wget --secure-protocol=TLSv1_2 --https-only https://get.opentofu.org/install-opentofu.sh -O install-opentofu.sh diff --git a/website/docs/intro/install/alpine-manual.sh b/website/docs/intro/install/alpine-manual.sh index 2f4d3e782b..c08a9fa179 100644 --- a/website/docs/intro/install/alpine-manual.sh +++ b/website/docs/intro/install/alpine-manual.sh @@ -1,2 +1,7 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + echo '@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories apk add opentofu@testing \ No newline at end of file diff --git a/website/docs/intro/install/alpine.sh b/website/docs/intro/install/alpine.sh index 1d050e52c7..2b104fb408 100755 --- a/website/docs/intro/install/alpine.sh +++ b/website/docs/intro/install/alpine.sh @@ -1,4 +1,9 @@ #!/bin/sh +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/website/docs/intro/install/brew-install.sh b/website/docs/intro/install/brew-install.sh index 540ac9d075..79c1991d0d 100644 --- a/website/docs/intro/install/brew-install.sh +++ b/website/docs/intro/install/brew-install.sh @@ -1,2 +1,7 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + brew update brew install opentofu \ No newline at end of file diff --git a/website/docs/intro/install/brew.sh b/website/docs/intro/install/brew.sh index 291d8a4f71..4fed7ef325 100755 --- a/website/docs/intro/install/brew.sh +++ b/website/docs/intro/install/brew.sh @@ -1,4 +1,9 @@ #!/bin/bash +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -ex diff --git a/website/docs/intro/install/buildkite.jsx b/website/docs/intro/install/buildkite.jsx index 8ded5bb7a2..659c37045d 100644 --- a/website/docs/intro/install/buildkite.jsx +++ b/website/docs/intro/install/buildkite.jsx @@ -1,3 +1,10 @@ +/** + * Copyright (c) The OpenTofu Authors + * SPDX-License-Identifier: MPL-2.0 + * Copyright (c) 2023 HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + import React from 'react'; import BuildKiteSVG from './buildkite.svg' diff --git a/website/docs/intro/install/deb-convenience.sh b/website/docs/intro/install/deb-convenience.sh index 80ef978ddb..1aae19fdd6 100644 --- a/website/docs/intro/install/deb-convenience.sh +++ b/website/docs/intro/install/deb-convenience.sh @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Download the installer script: curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh # Alternatively: wget --secure-protocol=TLSv1_2 --https-only https://get.opentofu.org/install-opentofu.sh -O install-opentofu.sh diff --git a/website/docs/intro/install/deb-step1.sh b/website/docs/intro/install/deb-step1.sh index b9aaf284a7..f4657e4b26 100644 --- a/website/docs/intro/install/deb-step1.sh +++ b/website/docs/intro/install/deb-step1.sh @@ -1,2 +1,7 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + sudo apt-get update sudo apt-get install -y apt-transport-https ca-certificates curl gnupg \ No newline at end of file diff --git a/website/docs/intro/install/deb-step2.sh b/website/docs/intro/install/deb-step2.sh index cb8ab3b315..d854cf7f05 100644 --- a/website/docs/intro/install/deb-step2.sh +++ b/website/docs/intro/install/deb-step2.sh @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + sudo install -m 0755 -d /etc/apt/keyrings curl -fsSL https://get.opentofu.org/opentofu.gpg | sudo tee /etc/apt/keyrings/opentofu.gpg >/dev/null curl -fsSL https://packages.opentofu.org/opentofu/tofu/gpgkey | sudo gpg --no-tty --batch --dearmor -o /etc/apt/keyrings/opentofu-repo.gpg >/dev/null diff --git a/website/docs/intro/install/deb-step3.sh b/website/docs/intro/install/deb-step3.sh index 10b1f9104c..989fb27f89 100644 --- a/website/docs/intro/install/deb-step3.sh +++ b/website/docs/intro/install/deb-step3.sh @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + echo \ "deb [signed-by=/etc/apt/keyrings/opentofu.gpg,/etc/apt/keyrings/opentofu-repo.gpg] https://packages.opentofu.org/opentofu/tofu/any/ any main deb-src [signed-by=/etc/apt/keyrings/opentofu.gpg,/etc/apt/keyrings/opentofu-repo.gpg] https://packages.opentofu.org/opentofu/tofu/any/ any main" | \ diff --git a/website/docs/intro/install/deb-step4.sh b/website/docs/intro/install/deb-step4.sh index 8297acb836..e84ae8a9a2 100644 --- a/website/docs/intro/install/deb-step4.sh +++ b/website/docs/intro/install/deb-step4.sh @@ -1,2 +1,7 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + sudo apt-get update sudo apt-get install -y tofu \ No newline at end of file diff --git a/website/docs/intro/install/deb.sh b/website/docs/intro/install/deb.sh index cd60764956..8e42bd7858 100755 --- a/website/docs/intro/install/deb.sh +++ b/website/docs/intro/install/deb.sh @@ -1,4 +1,9 @@ #!/bin/bash +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/website/docs/intro/install/docker-compose.yaml b/website/docs/intro/install/docker-compose.yaml index a59cd5d685..1a2913a211 100644 --- a/website/docs/intro/install/docker-compose.yaml +++ b/website/docs/intro/install/docker-compose.yaml @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This docker-compose file tests the installation instructions with all operating systems. See # # test-install-instructions.sh for details. version: '3.2' diff --git a/website/docs/intro/install/install-opentofu.sh b/website/docs/intro/install/install-opentofu.sh index 8e75576c56..9fc5f58c8f 100755 --- a/website/docs/intro/install/install-opentofu.sh +++ b/website/docs/intro/install/install-opentofu.sh @@ -1,4 +1,9 @@ #!/bin/sh +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # OpenTofu Installer # diff --git a/website/docs/intro/install/install-yum.sh b/website/docs/intro/install/install-yum.sh index cf52a88f75..f47dcdef55 100644 --- a/website/docs/intro/install/install-yum.sh +++ b/website/docs/intro/install/install-yum.sh @@ -1 +1,6 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + sudo yum install -y tofu \ No newline at end of file diff --git a/website/docs/intro/install/install-zypper.sh b/website/docs/intro/install/install-zypper.sh index a3803af53c..e12290a225 100644 --- a/website/docs/intro/install/install-zypper.sh +++ b/website/docs/intro/install/install-zypper.sh @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + zypper --gpg-auto-import-keys refresh opentofu zypper --gpg-auto-import-keys refresh opentofu-source zypper install -y tofu \ No newline at end of file diff --git a/website/docs/intro/install/repo-yum.sh b/website/docs/intro/install/repo-yum.sh index 7f2d07ad6a..5d789b2642 100644 --- a/website/docs/intro/install/repo-yum.sh +++ b/website/docs/intro/install/repo-yum.sh @@ -1,3 +1,8 @@ +# Copyright (c) The OpenTofu Authors +# SPDX-License-Identifier: MPL-2.0 +# Copyright (c) 2023 HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + cat >/etc/yum.repos.d/opentofu.repo </etc/zypp/repos.d/opentofu.repo <