From 6d061c3cc805bd1d3a6243f9a720f5f99a4b894a Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Thu, 9 Nov 2023 15:34:54 -0500 Subject: [PATCH] [COMPLIANCE] Add Copyright and License Headers (#665) Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> --- internal/clients/iam.go | 3 +++ internal/clients/iampolicy/doc.go | 3 +++ internal/clients/iampolicy/iam.go | 3 +++ internal/clients/iampolicy/iam_binding_batcher.go | 3 +++ internal/clients/iampolicy/policy_type.go | 3 +++ internal/clients/iampolicy/resource_iam_binding.go | 3 +++ internal/clients/iampolicy/resource_iam_policy.go | 3 +++ internal/provider/resourcemanager/data_source_iam_policy.go | 3 +++ .../provider/resourcemanager/data_source_iam_policy_test.go | 3 +++ .../resourcemanager/resource_organization_iam_policy.go | 3 +++ .../resourcemanager/resource_organization_iam_policy_test.go | 3 +++ .../provider/resourcemanager/resource_project_iam_policy.go | 3 +++ .../resourcemanager/resource_project_iam_policy_test.go | 3 +++ 13 files changed, 39 insertions(+) diff --git a/internal/clients/iam.go b/internal/clients/iam.go index 384dcceb8..23fce6efc 100644 --- a/internal/clients/iam.go +++ b/internal/clients/iam.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package clients import ( diff --git a/internal/clients/iampolicy/doc.go b/internal/clients/iampolicy/doc.go index ba6a23c94..63572c64f 100644 --- a/internal/clients/iampolicy/doc.go +++ b/internal/clients/iampolicy/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // iampolicy is a helper package for creating Terraform resources that modify an // HCP Resource's IAM Policy. By implementing a single interface, a resource can // provide an authoratative Policy resource and a Binding resource. Using this diff --git a/internal/clients/iampolicy/iam.go b/internal/clients/iampolicy/iam.go index e3ff6f7b8..90d69a204 100644 --- a/internal/clients/iampolicy/iam.go +++ b/internal/clients/iampolicy/iam.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iampolicy import ( diff --git a/internal/clients/iampolicy/iam_binding_batcher.go b/internal/clients/iampolicy/iam_binding_batcher.go index c216ced66..ba7d79d9d 100644 --- a/internal/clients/iampolicy/iam_binding_batcher.go +++ b/internal/clients/iampolicy/iam_binding_batcher.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iampolicy import ( diff --git a/internal/clients/iampolicy/policy_type.go b/internal/clients/iampolicy/policy_type.go index 37275e178..279b93584 100644 --- a/internal/clients/iampolicy/policy_type.go +++ b/internal/clients/iampolicy/policy_type.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iampolicy import ( diff --git a/internal/clients/iampolicy/resource_iam_binding.go b/internal/clients/iampolicy/resource_iam_binding.go index 565a1b344..149254195 100644 --- a/internal/clients/iampolicy/resource_iam_binding.go +++ b/internal/clients/iampolicy/resource_iam_binding.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iampolicy import ( diff --git a/internal/clients/iampolicy/resource_iam_policy.go b/internal/clients/iampolicy/resource_iam_policy.go index 588723a13..9708cdd47 100644 --- a/internal/clients/iampolicy/resource_iam_policy.go +++ b/internal/clients/iampolicy/resource_iam_policy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package iampolicy import ( diff --git a/internal/provider/resourcemanager/data_source_iam_policy.go b/internal/provider/resourcemanager/data_source_iam_policy.go index df313c3f6..a5e764f80 100644 --- a/internal/provider/resourcemanager/data_source_iam_policy.go +++ b/internal/provider/resourcemanager/data_source_iam_policy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourcemanager import ( diff --git a/internal/provider/resourcemanager/data_source_iam_policy_test.go b/internal/provider/resourcemanager/data_source_iam_policy_test.go index d551bd5cc..fddd74d4b 100644 --- a/internal/provider/resourcemanager/data_source_iam_policy_test.go +++ b/internal/provider/resourcemanager/data_source_iam_policy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourcemanager_test import ( diff --git a/internal/provider/resourcemanager/resource_organization_iam_policy.go b/internal/provider/resourcemanager/resource_organization_iam_policy.go index f49566d0d..e9dc07032 100644 --- a/internal/provider/resourcemanager/resource_organization_iam_policy.go +++ b/internal/provider/resourcemanager/resource_organization_iam_policy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourcemanager import ( diff --git a/internal/provider/resourcemanager/resource_organization_iam_policy_test.go b/internal/provider/resourcemanager/resource_organization_iam_policy_test.go index baf0d4f20..ac688d6bb 100644 --- a/internal/provider/resourcemanager/resource_organization_iam_policy_test.go +++ b/internal/provider/resourcemanager/resource_organization_iam_policy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourcemanager_test import ( diff --git a/internal/provider/resourcemanager/resource_project_iam_policy.go b/internal/provider/resourcemanager/resource_project_iam_policy.go index fda876ad6..c8fc9789f 100644 --- a/internal/provider/resourcemanager/resource_project_iam_policy.go +++ b/internal/provider/resourcemanager/resource_project_iam_policy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourcemanager import ( diff --git a/internal/provider/resourcemanager/resource_project_iam_policy_test.go b/internal/provider/resourcemanager/resource_project_iam_policy_test.go index 9af5db113..1ce27b9f1 100644 --- a/internal/provider/resourcemanager/resource_project_iam_policy_test.go +++ b/internal/provider/resourcemanager/resource_project_iam_policy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourcemanager_test import (