Skip to content

Commit

Permalink
add missing copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
radditude committed Aug 16, 2023
1 parent c09daa7 commit 98b81d3
Show file tree
Hide file tree
Showing 48 changed files with 144 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/addrs/check_rule_diagnostic.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package addrs

import "github.com/hashicorp/terraform/internal/tfdiags"
Expand Down
3 changes: 3 additions & 0 deletions internal/addrs/check_rule_diagnostic_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package addrs

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/addrs/run.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package addrs

import "fmt"
Expand Down
3 changes: 3 additions & 0 deletions internal/backend/remote-state/s3/backend_complete_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package s3

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/backend/remote-state/s3/diags.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package s3

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/backend/remote-state/s3/testing_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package s3

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/backend/remote-state/s3/validate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package s3

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/backend/remote-state/s3/validate_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package s3

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cloudplugin/cloudplugin1/grpc_client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package cloudplugin1

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cloudplugin/cloudplugin1/grpc_client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package cloudplugin1

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cloudplugin/cloudplugin1/grpc_plugin.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package cloudplugin1

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/cloudplugin/cloudproto1/cloudproto1.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions internal/cloudplugin/cloudproto1/cloudproto1.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

syntax = "proto3";
package cloudproto1;

Expand Down
3 changes: 3 additions & 0 deletions internal/cloudplugin/interface.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package cloudplugin

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/command/arguments/test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package arguments

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/command/arguments/test_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package arguments

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/command/cloud.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package command

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/command/telemetry.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package command

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/command/test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package command

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/command/test_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package command

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/command/testing/test_provider.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package testing

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/command/views/json/test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package json

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/command/views/test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package views

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/command/views/test_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package views

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/configs/configschema/filter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package configschema

type FilterT[T any] func(string, T) bool
Expand Down
3 changes: 3 additions & 0 deletions internal/configs/configschema/filter_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package configschema

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/configs/test_file.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package configs

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/configs/test_file_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package configs

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/genconfig/doc.go
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

// Package genconfig implements config generation from provided state values.
package genconfig
3 changes: 3 additions & 0 deletions internal/genconfig/generate_config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package genconfig

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/genconfig/generate_config_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package genconfig

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/genconfig/generate_config_write.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package genconfig

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/lang/funcs/refinements.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package funcs

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/moduletest/file.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package moduletest

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/moduletest/run.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package moduletest

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/moduletest/run_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package moduletest

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/moduletest/status.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package moduletest

// Status represents the status of a test case, and is defined as an iota within
Expand Down
3 changes: 3 additions & 0 deletions internal/moduletest/suite.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package moduletest

type Suite struct {
Expand Down
3 changes: 3 additions & 0 deletions internal/plans/planfile/wrapped.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package planfile

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/terraform/eval_import.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package terraform

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/terraform/node_external_reference.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package terraform

import "github.com/hashicorp/terraform/internal/addrs"
Expand Down
3 changes: 3 additions & 0 deletions internal/terraform/test_context.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package terraform

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/terraform/test_context_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package terraform

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/terraform/transform_check_starter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package terraform

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/terraform/transform_external_reference.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package terraform

import "github.com/hashicorp/terraform/internal/addrs"
Expand Down
3 changes: 3 additions & 0 deletions internal/tfdiags/override.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package tfdiags

// overriddenDiagnostic implements the Diagnostic interface by wrapping another
Expand Down
3 changes: 3 additions & 0 deletions internal/tfdiags/override_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package tfdiags

import (
Expand Down
3 changes: 3 additions & 0 deletions telemetry.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1

package main

import (
Expand Down

0 comments on commit 98b81d3

Please sign in to comment.