From f9819533db27146468b75ab2fcf09a2ab67d6669 Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Tue, 3 Jan 2023 17:19:20 -0500 Subject: [PATCH] [COMPLIANCE] Add Copyright and License Headers (#312) Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> --- .circleci/config.yml | 3 +++ .github/dependabot.yml | 3 +++ .goreleaser.yml | 3 +++ .release/release-metadata.hcl | 3 +++ Dockerfile | 3 +++ ci/goinstall.sh | 3 +++ examples/provider/provider.tf | 3 +++ examples/resources/boundary_account_password/import.sh | 3 +++ examples/resources/boundary_account_password/resource.tf | 3 +++ examples/resources/boundary_auth_method/import.sh | 3 +++ examples/resources/boundary_auth_method/resource.tf | 3 +++ examples/resources/boundary_credential_json/import.sh | 3 +++ examples/resources/boundary_credential_json/resource.tf | 3 +++ examples/resources/boundary_credential_library_vault/import.sh | 3 +++ .../resources/boundary_credential_library_vault/resource.tf | 3 +++ .../resources/boundary_credential_ssh_private_key/import.sh | 3 +++ .../resources/boundary_credential_ssh_private_key/resource.tf | 3 +++ examples/resources/boundary_credential_store_static/import.sh | 3 +++ .../resources/boundary_credential_store_static/resource.tf | 3 +++ examples/resources/boundary_credential_store_vault/import.sh | 3 +++ examples/resources/boundary_credential_store_vault/resource.tf | 3 +++ .../resources/boundary_credential_username_password/import.sh | 3 +++ .../boundary_credential_username_password/resource.tf | 3 +++ examples/resources/boundary_group/import.sh | 3 +++ examples/resources/boundary_group/project-specific/resource.tf | 3 +++ examples/resources/boundary_group/simple/resource.tf | 3 +++ examples/resources/boundary_host/import.sh | 3 +++ examples/resources/boundary_host/resource.tf | 3 +++ examples/resources/boundary_host_catalog/import.sh | 3 +++ examples/resources/boundary_host_catalog/resource.tf | 3 +++ examples/resources/boundary_host_catalog_plugin/import.sh | 3 +++ examples/resources/boundary_host_catalog_plugin/resource.tf | 3 +++ examples/resources/boundary_host_catalog_static/import.sh | 3 +++ examples/resources/boundary_host_catalog_static/resource.tf | 3 +++ examples/resources/boundary_host_set/import.sh | 3 +++ examples/resources/boundary_host_set/resource.tf | 3 +++ examples/resources/boundary_host_set_plugin/import.sh | 3 +++ examples/resources/boundary_host_set_plugin/resource.tf | 3 +++ examples/resources/boundary_host_set_static/import.sh | 3 +++ examples/resources/boundary_host_set_static/resource.tf | 3 +++ examples/resources/boundary_host_static/import.sh | 3 +++ examples/resources/boundary_host_static/resource.tf | 3 +++ examples/resources/boundary_role/import.sh | 3 +++ examples/resources/boundary_role/project-specific/resource.tf | 3 +++ examples/resources/boundary_role/simple/resource.tf | 3 +++ examples/resources/boundary_role/user-grants/resource.tf | 3 +++ examples/resources/boundary_role/user/resource.tf | 3 +++ examples/resources/boundary_scope/global.tf | 3 +++ examples/resources/boundary_scope/import.sh | 3 +++ examples/resources/boundary_scope/organization.tf | 3 +++ examples/resources/boundary_scope/project.tf | 3 +++ examples/resources/boundary_scope/role.tf | 3 +++ examples/resources/boundary_target/import.sh | 3 +++ examples/resources/boundary_target/resource.tf | 3 +++ examples/resources/boundary_user/import.sh | 3 +++ examples/resources/boundary_user/resource.tf | 3 +++ examples/resources/boundary_worker/import.sh | 3 +++ examples/resources/boundary_worker/main.tf | 3 +++ internal/provider/const.go | 3 +++ internal/provider/pathorcontents.go | 3 +++ internal/provider/provider.go | 3 +++ internal/provider/provider_test.go | 3 +++ internal/provider/resource_account.go | 3 +++ internal/provider/resource_account_oidc.go | 3 +++ internal/provider/resource_account_password.go | 3 +++ internal/provider/resource_account_password_test.go | 3 +++ internal/provider/resource_account_test.go | 3 +++ internal/provider/resource_auth_method.go | 3 +++ internal/provider/resource_auth_method_oidc.go | 3 +++ internal/provider/resource_auth_method_oidc_test.go | 3 +++ internal/provider/resource_auth_method_password.go | 3 +++ internal/provider/resource_auth_method_password_test.go | 3 +++ internal/provider/resource_auth_method_test.go | 3 +++ internal/provider/resource_credential_json.go | 3 +++ internal/provider/resource_credential_json_test.go | 3 +++ internal/provider/resource_credential_library_vault.go | 3 +++ internal/provider/resource_credential_library_vault_test.go | 3 +++ internal/provider/resource_credential_ssh_private_key.go | 3 +++ internal/provider/resource_credential_ssh_private_key_test.go | 3 +++ internal/provider/resource_credential_store_static.go | 3 +++ internal/provider/resource_credential_store_static_test.go | 3 +++ internal/provider/resource_credential_store_vault.go | 3 +++ internal/provider/resource_credential_store_vault_test.go | 3 +++ internal/provider/resource_credential_username_password.go | 3 +++ .../provider/resource_credential_username_password_test.go | 3 +++ internal/provider/resource_group.go | 3 +++ internal/provider/resource_group_test.go | 3 +++ internal/provider/resource_host_catalog_plugin.go | 3 +++ internal/provider/resource_host_catalog_plugin_test.go | 3 +++ internal/provider/resource_host_catalog_static.go | 3 +++ internal/provider/resource_host_catalog_static_test.go | 3 +++ internal/provider/resource_host_set_plugin.go | 3 +++ internal/provider/resource_host_set_plugin_test.go | 3 +++ internal/provider/resource_host_set_static.go | 3 +++ internal/provider/resource_host_set_static_test.go | 3 +++ internal/provider/resource_host_static.go | 3 +++ internal/provider/resource_host_static_test.go | 3 +++ internal/provider/resource_managed_group.go | 3 +++ internal/provider/resource_managed_group_test.go | 3 +++ internal/provider/resource_role.go | 3 +++ internal/provider/resource_role_test.go | 3 +++ internal/provider/resource_scope.go | 3 +++ internal/provider/resource_scope_test.go | 3 +++ internal/provider/resource_target.go | 3 +++ internal/provider/resource_target_test.go | 3 +++ internal/provider/resource_user.go | 3 +++ internal/provider/resource_user_test.go | 3 +++ internal/provider/worker.go | 3 +++ internal/provider/worker_test.go | 3 +++ main.go | 3 +++ plugins/kms/assets.go | 3 +++ plugins/kms/assets_darwin_amd64.go | 3 +++ plugins/kms/assets_darwin_arm64.go | 3 +++ plugins/kms/assets_freebsd_386.go | 3 +++ plugins/kms/assets_freebsd_amd64.go | 3 +++ plugins/kms/assets_freebsd_arm.go | 3 +++ plugins/kms/assets_linux_386.go | 3 +++ plugins/kms/assets_linux_amd64.go | 3 +++ plugins/kms/assets_linux_arm.go | 3 +++ plugins/kms/assets_linux_arm64.go | 3 +++ plugins/kms/assets_windows_386.go | 3 +++ plugins/kms/assets_windows_amd64.go | 3 +++ plugins/kms/builtin.go | 3 +++ plugins/kms/const.go | 3 +++ plugins/kms/mains/alicloudkms/main.go | 3 +++ plugins/kms/mains/awskms/main.go | 3 +++ plugins/kms/mains/azurekeyvault/main.go | 3 +++ plugins/kms/mains/gcpckms/main.go | 3 +++ plugins/kms/mains/ocikms/main.go | 3 +++ plugins/kms/mains/transit/main.go | 3 +++ scripts/changelog-links.sh | 3 +++ scripts/plugins-all.sh | 3 +++ scripts/plugins.sh | 3 +++ tools/tools.go | 3 +++ 134 files changed, 402 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index ad82a20b..2e49feb0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: 2.1 jobs: build: diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 203cd3da..b2e8ee65 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # See GitHub's docs for more information on this file: # https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/configuration-options-for-dependency-updates version: 2 diff --git a/.goreleaser.yml b/.goreleaser.yml index 34b80d96..25791b13 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + archives: - files: # Ensure only built binary is archived diff --git a/.release/release-metadata.hcl b/.release/release-metadata.hcl index 2bdca2df..414e221c 100644 --- a/.release/release-metadata.hcl +++ b/.release/release-metadata.hcl @@ -1,2 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + url_source_repository = "https://github.com/hashicorp/terraform-provider-boundary" url_license = "https://github.com/hashicorp/terraform-provider-boundary/blob/main/LICENSE" diff --git a/Dockerfile b/Dockerfile index 59f93c34..7d4e44f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + FROM golang:1.19 WORKDIR /go/src/terraform-provider-boundary diff --git a/ci/goinstall.sh b/ci/goinstall.sh index 467431a1..ba170ec3 100755 --- a/ci/goinstall.sh +++ b/ci/goinstall.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e VERSION="1.19.1" diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index 88d5afb0..fc0fa14a 100644 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "boundary" { addr = "http://127.0.0.1:9200" auth_method_id = "ampw_1234567890" # changeme diff --git a/examples/resources/boundary_account_password/import.sh b/examples/resources/boundary_account_password/import.sh index 45e1dee5..f24027b5 100644 --- a/examples/resources/boundary_account_password/import.sh +++ b/examples/resources/boundary_account_password/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_account_password.foo \ No newline at end of file diff --git a/examples/resources/boundary_account_password/resource.tf b/examples/resources/boundary_account_password/resource.tf index 45f7a979..848f1d49 100644 --- a/examples/resources/boundary_account_password/resource.tf +++ b/examples/resources/boundary_account_password/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_auth_method/import.sh b/examples/resources/boundary_auth_method/import.sh index 007d91b0..cd61e43b 100644 --- a/examples/resources/boundary_auth_method/import.sh +++ b/examples/resources/boundary_auth_method/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_auth_method.foo \ No newline at end of file diff --git a/examples/resources/boundary_auth_method/resource.tf b/examples/resources/boundary_auth_method/resource.tf index 83573985..f269162b 100644 --- a/examples/resources/boundary_auth_method/resource.tf +++ b/examples/resources/boundary_auth_method/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_credential_json/import.sh b/examples/resources/boundary_credential_json/import.sh index 378610ab..4d5d81dd 100644 --- a/examples/resources/boundary_credential_json/import.sh +++ b/examples/resources/boundary_credential_json/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_credential_json.example_json \ No newline at end of file diff --git a/examples/resources/boundary_credential_json/resource.tf b/examples/resources/boundary_credential_json/resource.tf index 1a33e2cf..b81bfe69 100644 --- a/examples/resources/boundary_credential_json/resource.tf +++ b/examples/resources/boundary_credential_json/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "global scope" diff --git a/examples/resources/boundary_credential_library_vault/import.sh b/examples/resources/boundary_credential_library_vault/import.sh index f169aa70..475d0e7d 100644 --- a/examples/resources/boundary_credential_library_vault/import.sh +++ b/examples/resources/boundary_credential_library_vault/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_credential_library_vault.foo diff --git a/examples/resources/boundary_credential_library_vault/resource.tf b/examples/resources/boundary_credential_library_vault/resource.tf index 0d5af81f..b72a9ba7 100644 --- a/examples/resources/boundary_credential_library_vault/resource.tf +++ b/examples/resources/boundary_credential_library_vault/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_credential_ssh_private_key/import.sh b/examples/resources/boundary_credential_ssh_private_key/import.sh index 75da570a..9d76a85f 100644 --- a/examples/resources/boundary_credential_ssh_private_key/import.sh +++ b/examples/resources/boundary_credential_ssh_private_key/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_credential_ssh_private_key.example_ssh_private_key diff --git a/examples/resources/boundary_credential_ssh_private_key/resource.tf b/examples/resources/boundary_credential_ssh_private_key/resource.tf index ba6e80d8..b38dc0aa 100644 --- a/examples/resources/boundary_credential_ssh_private_key/resource.tf +++ b/examples/resources/boundary_credential_ssh_private_key/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "global scope" diff --git a/examples/resources/boundary_credential_store_static/import.sh b/examples/resources/boundary_credential_store_static/import.sh index a5c4c7e2..de1c4b01 100644 --- a/examples/resources/boundary_credential_store_static/import.sh +++ b/examples/resources/boundary_credential_store_static/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_credential_store_static.example_static_credential_store diff --git a/examples/resources/boundary_credential_store_static/resource.tf b/examples/resources/boundary_credential_store_static/resource.tf index ff8468ac..b28d13e0 100644 --- a/examples/resources/boundary_credential_store_static/resource.tf +++ b/examples/resources/boundary_credential_store_static/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "global scope" diff --git a/examples/resources/boundary_credential_store_vault/import.sh b/examples/resources/boundary_credential_store_vault/import.sh index 5784c8ad..f7ef7007 100644 --- a/examples/resources/boundary_credential_store_vault/import.sh +++ b/examples/resources/boundary_credential_store_vault/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_credential_store_vault.foo diff --git a/examples/resources/boundary_credential_store_vault/resource.tf b/examples/resources/boundary_credential_store_vault/resource.tf index 3fd3e9e5..24fa67b6 100644 --- a/examples/resources/boundary_credential_store_vault/resource.tf +++ b/examples/resources/boundary_credential_store_vault/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_credential_username_password/import.sh b/examples/resources/boundary_credential_username_password/import.sh index fab7ba9b..c74e122d 100644 --- a/examples/resources/boundary_credential_username_password/import.sh +++ b/examples/resources/boundary_credential_username_password/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_credential_username_password.example_username_password diff --git a/examples/resources/boundary_credential_username_password/resource.tf b/examples/resources/boundary_credential_username_password/resource.tf index 33502b3b..94b67c69 100644 --- a/examples/resources/boundary_credential_username_password/resource.tf +++ b/examples/resources/boundary_credential_username_password/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "global scope" diff --git a/examples/resources/boundary_group/import.sh b/examples/resources/boundary_group/import.sh index b42d3bd5..2f730e4c 100644 --- a/examples/resources/boundary_group/import.sh +++ b/examples/resources/boundary_group/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_group.foo \ No newline at end of file diff --git a/examples/resources/boundary_group/project-specific/resource.tf b/examples/resources/boundary_group/project-specific/resource.tf index f535556e..ba7d96f9 100644 --- a/examples/resources/boundary_group/project-specific/resource.tf +++ b/examples/resources/boundary_group/project-specific/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_group/simple/resource.tf b/examples/resources/boundary_group/simple/resource.tf index b18951fa..e5426fc6 100644 --- a/examples/resources/boundary_group/simple/resource.tf +++ b/examples/resources/boundary_group/simple/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_host/import.sh b/examples/resources/boundary_host/import.sh index 82b82b18..1058c3ef 100644 --- a/examples/resources/boundary_host/import.sh +++ b/examples/resources/boundary_host/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_host.foo \ No newline at end of file diff --git a/examples/resources/boundary_host/resource.tf b/examples/resources/boundary_host/resource.tf index bdd5ed66..eda6f21f 100644 --- a/examples/resources/boundary_host/resource.tf +++ b/examples/resources/boundary_host/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_host_catalog/import.sh b/examples/resources/boundary_host_catalog/import.sh index cda5f1ea..604c4b00 100644 --- a/examples/resources/boundary_host_catalog/import.sh +++ b/examples/resources/boundary_host_catalog/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_host_catalog.foo \ No newline at end of file diff --git a/examples/resources/boundary_host_catalog/resource.tf b/examples/resources/boundary_host_catalog/resource.tf index 10e539ad..29a7dd50 100644 --- a/examples/resources/boundary_host_catalog/resource.tf +++ b/examples/resources/boundary_host_catalog/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_host_catalog_plugin/import.sh b/examples/resources/boundary_host_catalog_plugin/import.sh index eb989f60..bd4acce4 100644 --- a/examples/resources/boundary_host_catalog_plugin/import.sh +++ b/examples/resources/boundary_host_catalog_plugin/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_host_catalog_plugin.foo \ No newline at end of file diff --git a/examples/resources/boundary_host_catalog_plugin/resource.tf b/examples/resources/boundary_host_catalog_plugin/resource.tf index 0d930672..73c8524a 100644 --- a/examples/resources/boundary_host_catalog_plugin/resource.tf +++ b/examples/resources/boundary_host_catalog_plugin/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_host_catalog_static/import.sh b/examples/resources/boundary_host_catalog_static/import.sh index fa3c334b..61824877 100644 --- a/examples/resources/boundary_host_catalog_static/import.sh +++ b/examples/resources/boundary_host_catalog_static/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_host_catalog_static.foo \ No newline at end of file diff --git a/examples/resources/boundary_host_catalog_static/resource.tf b/examples/resources/boundary_host_catalog_static/resource.tf index 13405137..e36d0e13 100644 --- a/examples/resources/boundary_host_catalog_static/resource.tf +++ b/examples/resources/boundary_host_catalog_static/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_host_set/import.sh b/examples/resources/boundary_host_set/import.sh index 52a53c53..d2d4a2e9 100644 --- a/examples/resources/boundary_host_set/import.sh +++ b/examples/resources/boundary_host_set/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_host_set.foo \ No newline at end of file diff --git a/examples/resources/boundary_host_set/resource.tf b/examples/resources/boundary_host_set/resource.tf index 11345c31..91d93851 100644 --- a/examples/resources/boundary_host_set/resource.tf +++ b/examples/resources/boundary_host_set/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_host_set_plugin/import.sh b/examples/resources/boundary_host_set_plugin/import.sh index c46b8d79..0e3fa9d7 100644 --- a/examples/resources/boundary_host_set_plugin/import.sh +++ b/examples/resources/boundary_host_set_plugin/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_host_set_plugin.foo \ No newline at end of file diff --git a/examples/resources/boundary_host_set_plugin/resource.tf b/examples/resources/boundary_host_set_plugin/resource.tf index aef9f6ef..379a2bc9 100644 --- a/examples/resources/boundary_host_set_plugin/resource.tf +++ b/examples/resources/boundary_host_set_plugin/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_host_set_static/import.sh b/examples/resources/boundary_host_set_static/import.sh index 0b559236..525993d3 100644 --- a/examples/resources/boundary_host_set_static/import.sh +++ b/examples/resources/boundary_host_set_static/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_host_set_static.foo \ No newline at end of file diff --git a/examples/resources/boundary_host_set_static/resource.tf b/examples/resources/boundary_host_set_static/resource.tf index 00cb442d..dbfa45ae 100644 --- a/examples/resources/boundary_host_set_static/resource.tf +++ b/examples/resources/boundary_host_set_static/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_host_static/import.sh b/examples/resources/boundary_host_static/import.sh index 9cb14ed8..08c137ad 100644 --- a/examples/resources/boundary_host_static/import.sh +++ b/examples/resources/boundary_host_static/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_host_static.foo \ No newline at end of file diff --git a/examples/resources/boundary_host_static/resource.tf b/examples/resources/boundary_host_static/resource.tf index aae7bfce..056db49a 100644 --- a/examples/resources/boundary_host_static/resource.tf +++ b/examples/resources/boundary_host_static/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_role/import.sh b/examples/resources/boundary_role/import.sh index 7913201a..8d32a66d 100644 --- a/examples/resources/boundary_role/import.sh +++ b/examples/resources/boundary_role/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_role.foo \ No newline at end of file diff --git a/examples/resources/boundary_role/project-specific/resource.tf b/examples/resources/boundary_role/project-specific/resource.tf index d43781b7..8f4daa6a 100644 --- a/examples/resources/boundary_role/project-specific/resource.tf +++ b/examples/resources/boundary_role/project-specific/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_role/simple/resource.tf b/examples/resources/boundary_role/simple/resource.tf index da4e1357..b0f8f3a2 100644 --- a/examples/resources/boundary_role/simple/resource.tf +++ b/examples/resources/boundary_role/simple/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_role/user-grants/resource.tf b/examples/resources/boundary_role/user-grants/resource.tf index 63d93293..3d2b2a7e 100644 --- a/examples/resources/boundary_role/user-grants/resource.tf +++ b/examples/resources/boundary_role/user-grants/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_role/user/resource.tf b/examples/resources/boundary_role/user/resource.tf index 4d1d84cd..6712bed2 100644 --- a/examples/resources/boundary_role/user/resource.tf +++ b/examples/resources/boundary_role/user/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_scope/global.tf b/examples/resources/boundary_scope/global.tf index f900af28..87793989 100644 --- a/examples/resources/boundary_scope/global.tf +++ b/examples/resources/boundary_scope/global.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "global" { global_scope = true scope_id = "global" diff --git a/examples/resources/boundary_scope/import.sh b/examples/resources/boundary_scope/import.sh index 9e66dc8b..dcf756a5 100644 --- a/examples/resources/boundary_scope/import.sh +++ b/examples/resources/boundary_scope/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_scope.foo \ No newline at end of file diff --git a/examples/resources/boundary_scope/organization.tf b/examples/resources/boundary_scope/organization.tf index f1608184..9407a7ac 100644 --- a/examples/resources/boundary_scope/organization.tf +++ b/examples/resources/boundary_scope/organization.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_scope/project.tf b/examples/resources/boundary_scope/project.tf index 02480a2c..6affad63 100644 --- a/examples/resources/boundary_scope/project.tf +++ b/examples/resources/boundary_scope/project.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "project" { name = "project_one" description = "My first scope!" diff --git a/examples/resources/boundary_scope/role.tf b/examples/resources/boundary_scope/role.tf index f6a2cbbb..b5c9ac8b 100644 --- a/examples/resources/boundary_scope/role.tf +++ b/examples/resources/boundary_scope/role.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_target/import.sh b/examples/resources/boundary_target/import.sh index 34b63b9c..a3844e81 100644 --- a/examples/resources/boundary_target/import.sh +++ b/examples/resources/boundary_target/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_target.foo \ No newline at end of file diff --git a/examples/resources/boundary_target/resource.tf b/examples/resources/boundary_target/resource.tf index e22bd7f9..b0f9666c 100644 --- a/examples/resources/boundary_target/resource.tf +++ b/examples/resources/boundary_target/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "global" { global_scope = true scope_id = "global" diff --git a/examples/resources/boundary_user/import.sh b/examples/resources/boundary_user/import.sh index ca7d33d9..7a953e37 100644 --- a/examples/resources/boundary_user/import.sh +++ b/examples/resources/boundary_user/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_user.foo \ No newline at end of file diff --git a/examples/resources/boundary_user/resource.tf b/examples/resources/boundary_user/resource.tf index b1eb5dcd..01480c99 100644 --- a/examples/resources/boundary_user/resource.tf +++ b/examples/resources/boundary_user/resource.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_scope" "org" { name = "organization_one" description = "My first scope!" diff --git a/examples/resources/boundary_worker/import.sh b/examples/resources/boundary_worker/import.sh index 28c41614..05a58068 100644 --- a/examples/resources/boundary_worker/import.sh +++ b/examples/resources/boundary_worker/import.sh @@ -1 +1,4 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform import boundary_worker.foo \ No newline at end of file diff --git a/examples/resources/boundary_worker/main.tf b/examples/resources/boundary_worker/main.tf index 378ed9e0..8e5fd363 100644 --- a/examples/resources/boundary_worker/main.tf +++ b/examples/resources/boundary_worker/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "boundary_worker" "controller_led" { scope_id = "global" name = "worker 1" diff --git a/internal/provider/const.go b/internal/provider/const.go index b00322c2..1a95d6a0 100644 --- a/internal/provider/const.go +++ b/internal/provider/const.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider const ( diff --git a/internal/provider/pathorcontents.go b/internal/provider/pathorcontents.go index 754b3119..a783fc6d 100644 --- a/internal/provider/pathorcontents.go +++ b/internal/provider/pathorcontents.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Helpers for dealing with file paths and their contents // // Originally from Terraform; see diff --git a/internal/provider/provider.go b/internal/provider/provider.go index b784a7aa..2256d62f 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/provider_test.go b/internal/provider/provider_test.go index 9f9e6360..ff82d696 100644 --- a/internal/provider/provider_test.go +++ b/internal/provider/provider_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_account.go b/internal/provider/resource_account.go index 4c53d2a4..3c6f12b9 100644 --- a/internal/provider/resource_account.go +++ b/internal/provider/resource_account.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_account_oidc.go b/internal/provider/resource_account_oidc.go index a672ab43..2b2b3b9a 100644 --- a/internal/provider/resource_account_oidc.go +++ b/internal/provider/resource_account_oidc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_account_password.go b/internal/provider/resource_account_password.go index 0e88fa92..75f7ce9d 100644 --- a/internal/provider/resource_account_password.go +++ b/internal/provider/resource_account_password.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_account_password_test.go b/internal/provider/resource_account_password_test.go index 699fa67f..d1b64b4f 100644 --- a/internal/provider/resource_account_password_test.go +++ b/internal/provider/resource_account_password_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_account_test.go b/internal/provider/resource_account_test.go index d929101a..aa4a495a 100644 --- a/internal/provider/resource_account_test.go +++ b/internal/provider/resource_account_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_auth_method.go b/internal/provider/resource_auth_method.go index ec832ac7..4337bf2d 100644 --- a/internal/provider/resource_auth_method.go +++ b/internal/provider/resource_auth_method.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_auth_method_oidc.go b/internal/provider/resource_auth_method_oidc.go index d7abc476..b777993a 100644 --- a/internal/provider/resource_auth_method_oidc.go +++ b/internal/provider/resource_auth_method_oidc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_auth_method_oidc_test.go b/internal/provider/resource_auth_method_oidc_test.go index c243b32c..6a9f4ad5 100644 --- a/internal/provider/resource_auth_method_oidc_test.go +++ b/internal/provider/resource_auth_method_oidc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_auth_method_password.go b/internal/provider/resource_auth_method_password.go index 5ddc9621..3ab7bd83 100644 --- a/internal/provider/resource_auth_method_password.go +++ b/internal/provider/resource_auth_method_password.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_auth_method_password_test.go b/internal/provider/resource_auth_method_password_test.go index 12ec240b..fba2e487 100644 --- a/internal/provider/resource_auth_method_password_test.go +++ b/internal/provider/resource_auth_method_password_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_auth_method_test.go b/internal/provider/resource_auth_method_test.go index eed38cb8..6a2cc4a8 100644 --- a/internal/provider/resource_auth_method_test.go +++ b/internal/provider/resource_auth_method_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_json.go b/internal/provider/resource_credential_json.go index 8988ec49..ce7fcfff 100644 --- a/internal/provider/resource_credential_json.go +++ b/internal/provider/resource_credential_json.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_json_test.go b/internal/provider/resource_credential_json_test.go index e0bf11c3..ed5b3a6c 100644 --- a/internal/provider/resource_credential_json_test.go +++ b/internal/provider/resource_credential_json_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_library_vault.go b/internal/provider/resource_credential_library_vault.go index 12886f35..003b6d29 100644 --- a/internal/provider/resource_credential_library_vault.go +++ b/internal/provider/resource_credential_library_vault.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_library_vault_test.go b/internal/provider/resource_credential_library_vault_test.go index 879655b6..bb92db3f 100644 --- a/internal/provider/resource_credential_library_vault_test.go +++ b/internal/provider/resource_credential_library_vault_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_ssh_private_key.go b/internal/provider/resource_credential_ssh_private_key.go index f55786b2..c8c42edf 100644 --- a/internal/provider/resource_credential_ssh_private_key.go +++ b/internal/provider/resource_credential_ssh_private_key.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_ssh_private_key_test.go b/internal/provider/resource_credential_ssh_private_key_test.go index dd810d80..8927d20b 100644 --- a/internal/provider/resource_credential_ssh_private_key_test.go +++ b/internal/provider/resource_credential_ssh_private_key_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_store_static.go b/internal/provider/resource_credential_store_static.go index a4842e1c..6b381783 100644 --- a/internal/provider/resource_credential_store_static.go +++ b/internal/provider/resource_credential_store_static.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_store_static_test.go b/internal/provider/resource_credential_store_static_test.go index d72e22f2..c470d37b 100644 --- a/internal/provider/resource_credential_store_static_test.go +++ b/internal/provider/resource_credential_store_static_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_store_vault.go b/internal/provider/resource_credential_store_vault.go index 90c99d06..874bf261 100644 --- a/internal/provider/resource_credential_store_vault.go +++ b/internal/provider/resource_credential_store_vault.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_store_vault_test.go b/internal/provider/resource_credential_store_vault_test.go index 3ebfd7aa..10472834 100644 --- a/internal/provider/resource_credential_store_vault_test.go +++ b/internal/provider/resource_credential_store_vault_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_username_password.go b/internal/provider/resource_credential_username_password.go index 7a17c672..19426b38 100644 --- a/internal/provider/resource_credential_username_password.go +++ b/internal/provider/resource_credential_username_password.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_credential_username_password_test.go b/internal/provider/resource_credential_username_password_test.go index c4fb65e7..59d625cb 100644 --- a/internal/provider/resource_credential_username_password_test.go +++ b/internal/provider/resource_credential_username_password_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_group.go b/internal/provider/resource_group.go index 051d1ed1..68db6b08 100644 --- a/internal/provider/resource_group.go +++ b/internal/provider/resource_group.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_group_test.go b/internal/provider/resource_group_test.go index d102c00e..b8d2c418 100644 --- a/internal/provider/resource_group_test.go +++ b/internal/provider/resource_group_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_host_catalog_plugin.go b/internal/provider/resource_host_catalog_plugin.go index 46d2c405..0a3be078 100644 --- a/internal/provider/resource_host_catalog_plugin.go +++ b/internal/provider/resource_host_catalog_plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_host_catalog_plugin_test.go b/internal/provider/resource_host_catalog_plugin_test.go index 8751f223..b526563b 100644 --- a/internal/provider/resource_host_catalog_plugin_test.go +++ b/internal/provider/resource_host_catalog_plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_host_catalog_static.go b/internal/provider/resource_host_catalog_static.go index 2e1cde72..73af3850 100644 --- a/internal/provider/resource_host_catalog_static.go +++ b/internal/provider/resource_host_catalog_static.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_host_catalog_static_test.go b/internal/provider/resource_host_catalog_static_test.go index c83a9b61..f8650e25 100644 --- a/internal/provider/resource_host_catalog_static_test.go +++ b/internal/provider/resource_host_catalog_static_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_host_set_plugin.go b/internal/provider/resource_host_set_plugin.go index e9eb6969..a6f8f3cc 100644 --- a/internal/provider/resource_host_set_plugin.go +++ b/internal/provider/resource_host_set_plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_host_set_plugin_test.go b/internal/provider/resource_host_set_plugin_test.go index 627078e7..e86ea6f3 100644 --- a/internal/provider/resource_host_set_plugin_test.go +++ b/internal/provider/resource_host_set_plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_host_set_static.go b/internal/provider/resource_host_set_static.go index be4da02a..9f777683 100644 --- a/internal/provider/resource_host_set_static.go +++ b/internal/provider/resource_host_set_static.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_host_set_static_test.go b/internal/provider/resource_host_set_static_test.go index 6ad6811a..583a7287 100644 --- a/internal/provider/resource_host_set_static_test.go +++ b/internal/provider/resource_host_set_static_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_host_static.go b/internal/provider/resource_host_static.go index 4e66fcf4..aeb23fba 100644 --- a/internal/provider/resource_host_static.go +++ b/internal/provider/resource_host_static.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_host_static_test.go b/internal/provider/resource_host_static_test.go index 8aef4380..9b7c7058 100644 --- a/internal/provider/resource_host_static_test.go +++ b/internal/provider/resource_host_static_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_managed_group.go b/internal/provider/resource_managed_group.go index e9227a1f..5fd3e26a 100644 --- a/internal/provider/resource_managed_group.go +++ b/internal/provider/resource_managed_group.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_managed_group_test.go b/internal/provider/resource_managed_group_test.go index 2f5ff9eb..0b1f0017 100644 --- a/internal/provider/resource_managed_group_test.go +++ b/internal/provider/resource_managed_group_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_role.go b/internal/provider/resource_role.go index ce659cc4..b2500726 100644 --- a/internal/provider/resource_role.go +++ b/internal/provider/resource_role.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_role_test.go b/internal/provider/resource_role_test.go index b697719d..071a8d39 100644 --- a/internal/provider/resource_role_test.go +++ b/internal/provider/resource_role_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_scope.go b/internal/provider/resource_scope.go index 4620a156..ace3aeb8 100644 --- a/internal/provider/resource_scope.go +++ b/internal/provider/resource_scope.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_scope_test.go b/internal/provider/resource_scope_test.go index 16456074..71f1d0cd 100644 --- a/internal/provider/resource_scope_test.go +++ b/internal/provider/resource_scope_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_target.go b/internal/provider/resource_target.go index 08996d70..becbd253 100644 --- a/internal/provider/resource_target.go +++ b/internal/provider/resource_target.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_target_test.go b/internal/provider/resource_target_test.go index 77e755db..07372223 100644 --- a/internal/provider/resource_target_test.go +++ b/internal/provider/resource_target_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_user.go b/internal/provider/resource_user.go index 9cb9ce4c..2caf8349 100644 --- a/internal/provider/resource_user.go +++ b/internal/provider/resource_user.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/resource_user_test.go b/internal/provider/resource_user_test.go index c6229bf2..41ac4cc1 100644 --- a/internal/provider/resource_user_test.go +++ b/internal/provider/resource_user_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/worker.go b/internal/provider/worker.go index b7925c9b..b3f05018 100644 --- a/internal/provider/worker.go +++ b/internal/provider/worker.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/worker_test.go b/internal/provider/worker_test.go index 78bb03fb..7d94cc4b 100644 --- a/internal/provider/worker_test.go +++ b/internal/provider/worker_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/main.go b/main.go index 9565d349..54255d24 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/assets.go b/plugins/kms/assets.go index 1dd81d26..6ed80f06 100644 --- a/plugins/kms/assets.go +++ b/plugins/kms/assets.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/assets_darwin_amd64.go b/plugins/kms/assets_darwin_amd64.go index 5cc6013b..fabe74d2 100644 --- a/plugins/kms/assets_darwin_amd64.go +++ b/plugins/kms/assets_darwin_amd64.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/assets_darwin_arm64.go b/plugins/kms/assets_darwin_arm64.go index 3a72e191..16e12d27 100644 --- a/plugins/kms/assets_darwin_arm64.go +++ b/plugins/kms/assets_darwin_arm64.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/assets_freebsd_386.go b/plugins/kms/assets_freebsd_386.go index b20ede2b..6c39036d 100644 --- a/plugins/kms/assets_freebsd_386.go +++ b/plugins/kms/assets_freebsd_386.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/assets_freebsd_amd64.go b/plugins/kms/assets_freebsd_amd64.go index 3a6eb0aa..945e9630 100644 --- a/plugins/kms/assets_freebsd_amd64.go +++ b/plugins/kms/assets_freebsd_amd64.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/assets_freebsd_arm.go b/plugins/kms/assets_freebsd_arm.go index 85ae7551..b2052f7e 100644 --- a/plugins/kms/assets_freebsd_arm.go +++ b/plugins/kms/assets_freebsd_arm.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/assets_linux_386.go b/plugins/kms/assets_linux_386.go index 55774a02..f8110d35 100644 --- a/plugins/kms/assets_linux_386.go +++ b/plugins/kms/assets_linux_386.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/assets_linux_amd64.go b/plugins/kms/assets_linux_amd64.go index b19ec117..2a8f3b5f 100644 --- a/plugins/kms/assets_linux_amd64.go +++ b/plugins/kms/assets_linux_amd64.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/assets_linux_arm.go b/plugins/kms/assets_linux_arm.go index 7594f9f4..dcbf9e09 100644 --- a/plugins/kms/assets_linux_arm.go +++ b/plugins/kms/assets_linux_arm.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/assets_linux_arm64.go b/plugins/kms/assets_linux_arm64.go index d212d277..1af38527 100644 --- a/plugins/kms/assets_linux_arm64.go +++ b/plugins/kms/assets_linux_arm64.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/assets_windows_386.go b/plugins/kms/assets_windows_386.go index 950f6f10..bc2bc165 100644 --- a/plugins/kms/assets_windows_386.go +++ b/plugins/kms/assets_windows_386.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/assets_windows_amd64.go b/plugins/kms/assets_windows_amd64.go index 861ebb8d..a6d59eeb 100644 --- a/plugins/kms/assets_windows_amd64.go +++ b/plugins/kms/assets_windows_amd64.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/builtin.go b/plugins/kms/builtin.go index 7ea97ad4..3fd68c85 100644 --- a/plugins/kms/builtin.go +++ b/plugins/kms/builtin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets import ( diff --git a/plugins/kms/const.go b/plugins/kms/const.go index 162de8eb..04338b09 100644 --- a/plugins/kms/const.go +++ b/plugins/kms/const.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kms_plugin_assets const KmsPluginPrefix = "boundary-plugin-kms-" diff --git a/plugins/kms/mains/alicloudkms/main.go b/plugins/kms/mains/alicloudkms/main.go index 76dbe1a4..7a6f88ea 100644 --- a/plugins/kms/mains/alicloudkms/main.go +++ b/plugins/kms/mains/alicloudkms/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/mains/awskms/main.go b/plugins/kms/mains/awskms/main.go index 5650efcb..686eecc7 100644 --- a/plugins/kms/mains/awskms/main.go +++ b/plugins/kms/mains/awskms/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/mains/azurekeyvault/main.go b/plugins/kms/mains/azurekeyvault/main.go index 37b45c95..dc0d1ae5 100644 --- a/plugins/kms/mains/azurekeyvault/main.go +++ b/plugins/kms/mains/azurekeyvault/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/mains/gcpckms/main.go b/plugins/kms/mains/gcpckms/main.go index 8313a869..d94348da 100644 --- a/plugins/kms/mains/gcpckms/main.go +++ b/plugins/kms/mains/gcpckms/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/mains/ocikms/main.go b/plugins/kms/mains/ocikms/main.go index 8d184f9b..cb90e019 100644 --- a/plugins/kms/mains/ocikms/main.go +++ b/plugins/kms/mains/ocikms/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/plugins/kms/mains/transit/main.go b/plugins/kms/mains/transit/main.go index be97a856..26679954 100644 --- a/plugins/kms/mains/transit/main.go +++ b/plugins/kms/mains/transit/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/scripts/changelog-links.sh b/scripts/changelog-links.sh index ce9ff476..a9cd6962 100755 --- a/scripts/changelog-links.sh +++ b/scripts/changelog-links.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This script rewrites [GH-nnnn]-style references in the CHANGELOG.md file to # be Markdown links to the given github issues. diff --git a/scripts/plugins-all.sh b/scripts/plugins-all.sh index 82d8cb24..7d97df5d 100755 --- a/scripts/plugins-all.sh +++ b/scripts/plugins-all.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # # This script builds the required plugins for all supported distributions. set -e diff --git a/scripts/plugins.sh b/scripts/plugins.sh index 6d779dcc..7be615f0 100755 --- a/scripts/plugins.sh +++ b/scripts/plugins.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # # This script builds the required plugins. set -e diff --git a/tools/tools.go b/tools/tools.go index b6d704fe..f066ef60 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build tools // +build tools