Skip to content

Commit

Permalink
Update copyright headers (#1)
Browse files Browse the repository at this point in the history
Signed-off-by: Ronny Orot <[email protected]>
  • Loading branch information
Evi1Pumpkin authored Dec 25, 2024
1 parent 32f8d65 commit 509e69c
Show file tree
Hide file tree
Showing 159 changed files with 320 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .copywrite.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ schema_version = 1
project {
license = "MPL-2.0"

# (OPTIONAL) Represents the copyright holder used in all statements
# Default: HashiCorp, Inc.
copyright_holder = "The OpenTofu Authors\nSPDX-License-Identifier: MPL-2.0\nCopyright (c) HashiCorp, Inc."

# (OPTIONAL) A list of globs that should not have copyright/license headers.
# Supports doublestar glob patterns for more flexibility in defining which
# files or folders should be ignored
Expand Down
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Copyright (c) The OpenTofu Authors
Copyright (c) 2020 HashiCorp, Inc.

Mozilla Public License, version 2.0
Expand Down
2 changes: 2 additions & 0 deletions backend/backend.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions backend/cloud.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/backend.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/data_source.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/decoder.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/decoder_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/load_module.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/provider_requirements.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/resource.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/schema.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/stacks/decoder.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/stacks/decoder_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/stacks/load_stack.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/stacks/provider_requirements.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions earlydecoder/stacks/schema.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/addr/addr.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_bitbucket.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_bitbucket_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_gcs.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_gcs_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_git.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_git_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_github.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_github_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_s3.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_s3_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_ssh.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/detect_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/get.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/source.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/detect/source_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/funcs/0.12/base_functions.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/funcs/0.12/functions.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/funcs/0.13/functions.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/funcs/0.14/functions.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/funcs/0.15/functions.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/funcs/1.3/functions.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/funcs/generated/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/funcs/generated/gen/gen.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/connection_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/data_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/locals_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/module_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/output_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/provider_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/provisioner_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/provisioners.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/resource_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/terraform_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.12/variable_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.13/module_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.13/provider_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.13/provisioners.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.13/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.13/terraform_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.14/provisioners.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.14/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.14/terraform.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.14/variable_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.15/connection_block.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.15/provisioners.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
2 changes: 2 additions & 0 deletions internal/schema/0.15/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

Expand Down
Loading

0 comments on commit 509e69c

Please sign in to comment.