diff --git a/.github/release.yml b/.github/release.yml index 7719b043..47288604 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + changelog: exclude: labels: diff --git a/.golangci.yml b/.golangci.yml index c233fdfc..b0e00be4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + issues: # List of regexps of issue texts to exclude, empty list by default. # But independently from this option we use default exclude patterns, diff --git a/.goreleaser.yml b/.goreleaser.yml index b8428ed6..1c48ac23 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This is an example goreleaser.yaml file with some defaults. # Make sure to check the documentation at http://goreleaser.com env: diff --git a/builder/yandex/access_config.go b/builder/yandex/access_config.go index 360b69ad..0326fc97 100644 --- a/builder/yandex/access_config.go +++ b/builder/yandex/access_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc struct-markdown package yandex diff --git a/builder/yandex/artifact.go b/builder/yandex/artifact.go index fe378690..6f1cd171 100644 --- a/builder/yandex/artifact.go +++ b/builder/yandex/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/artifact_test.go b/builder/yandex/artifact_test.go index 8e79184e..bb692699 100644 --- a/builder/yandex/artifact_test.go +++ b/builder/yandex/artifact_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/builder.go b/builder/yandex/builder.go index ead66ccb..7c0e16eb 100644 --- a/builder/yandex/builder.go +++ b/builder/yandex/builder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/builder_acc_test.go b/builder/yandex/builder_acc_test.go index cf9915f3..b8bbac82 100644 --- a/builder/yandex/builder_acc_test.go +++ b/builder/yandex/builder_acc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/builder_test.go b/builder/yandex/builder_test.go index 8ac5d32a..81beff71 100644 --- a/builder/yandex/builder_test.go +++ b/builder/yandex/builder_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/cloud_init.go b/builder/yandex/cloud_init.go index 83133733..7d522c10 100644 --- a/builder/yandex/cloud_init.go +++ b/builder/yandex/cloud_init.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/cloud_init_test.go b/builder/yandex/cloud_init_test.go index aa2d5fcb..0fd9468b 100644 --- a/builder/yandex/cloud_init_test.go +++ b/builder/yandex/cloud_init_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/common_config.go b/builder/yandex/common_config.go index 47746c80..49d31232 100644 --- a/builder/yandex/common_config.go +++ b/builder/yandex/common_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc struct-markdown package yandex diff --git a/builder/yandex/config.go b/builder/yandex/config.go index ec17e424..11782fb8 100644 --- a/builder/yandex/config.go +++ b/builder/yandex/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc struct-markdown //go:generate packer-sdc mapstructure-to-hcl2 -type Config diff --git a/builder/yandex/config_test.go b/builder/yandex/config_test.go index 34d62d72..18d9a6bb 100644 --- a/builder/yandex/config_test.go +++ b/builder/yandex/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/driver.go b/builder/yandex/driver.go index 97b555d4..326d5bfa 100644 --- a/builder/yandex/driver.go +++ b/builder/yandex/driver.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/driver_yc.go b/builder/yandex/driver_yc.go index d80548d6..5e8651ac 100644 --- a/builder/yandex/driver_yc.go +++ b/builder/yandex/driver_yc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/image.go b/builder/yandex/image.go index f3582aa7..906e65ac 100644 --- a/builder/yandex/image.go +++ b/builder/yandex/image.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/ssh.go b/builder/yandex/ssh.go index 14aa2cb1..53c30ca9 100644 --- a/builder/yandex/ssh.go +++ b/builder/yandex/ssh.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/step_create_image.go b/builder/yandex/step_create_image.go index 09dc7dfb..1567177f 100644 --- a/builder/yandex/step_create_image.go +++ b/builder/yandex/step_create_image.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/step_create_instance.go b/builder/yandex/step_create_instance.go index f5a08279..bcb4437c 100644 --- a/builder/yandex/step_create_instance.go +++ b/builder/yandex/step_create_instance.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/step_create_instance_test.go b/builder/yandex/step_create_instance_test.go index 7afa002f..093efcb0 100644 --- a/builder/yandex/step_create_instance_test.go +++ b/builder/yandex/step_create_instance_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/step_instance_info.go b/builder/yandex/step_instance_info.go index 03d32d4d..50caa56e 100644 --- a/builder/yandex/step_instance_info.go +++ b/builder/yandex/step_instance_info.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/step_teardown_instance.go b/builder/yandex/step_teardown_instance.go index 9b477a22..a08c6c69 100644 --- a/builder/yandex/step_teardown_instance.go +++ b/builder/yandex/step_teardown_instance.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/template_func.go b/builder/yandex/template_func.go index 144ed14e..37f4ebb6 100644 --- a/builder/yandex/template_func.go +++ b/builder/yandex/template_func.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/builder/yandex/testdata/terraform/instanceSA.tf b/builder/yandex/testdata/terraform/instanceSA.tf index 7dbcce17..e472540f 100644 --- a/builder/yandex/testdata/terraform/instanceSA.tf +++ b/builder/yandex/testdata/terraform/instanceSA.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + // This terraform code allows you to quickly create an instance with the assigned service account and the necessary rights. // To start, it is required to specify two parameters: oauth token and folder id. // diff --git a/builder/yandex/util.go b/builder/yandex/util.go index 9a373fcf..e8533ed1 100644 --- a/builder/yandex/util.go +++ b/builder/yandex/util.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandex import ( diff --git a/example/build.pkr.hcl b/example/build.pkr.hcl index 76d6a28e..272fe803 100644 --- a/example/build.pkr.hcl +++ b/example/build.pkr.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + packer { required_plugins { scaffolding = { diff --git a/main.go b/main.go index d3111356..265a209b 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/post-processor/yandex-export/artifact.go b/post-processor/yandex-export/artifact.go index 413c1987..255c1459 100644 --- a/post-processor/yandex-export/artifact.go +++ b/post-processor/yandex-export/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandexexport import ( diff --git a/post-processor/yandex-export/config.go b/post-processor/yandex-export/config.go index 5dda9fce..a441bf34 100644 --- a/post-processor/yandex-export/config.go +++ b/post-processor/yandex-export/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc struct-markdown package yandexexport diff --git a/post-processor/yandex-export/post-processor.go b/post-processor/yandex-export/post-processor.go index b3344e58..a862894c 100644 --- a/post-processor/yandex-export/post-processor.go +++ b/post-processor/yandex-export/post-processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc struct-markdown //go:generate packer-sdc mapstructure-to-hcl2 -type Config diff --git a/post-processor/yandex-export/post-processor_test.go b/post-processor/yandex-export/post-processor_test.go index a0f3e65a..51ecbfdd 100644 --- a/post-processor/yandex-export/post-processor_test.go +++ b/post-processor/yandex-export/post-processor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandexexport import ( diff --git a/post-processor/yandex-export/step-attach-disk.go b/post-processor/yandex-export/step-attach-disk.go index 47940ac1..984afb15 100644 --- a/post-processor/yandex-export/step-attach-disk.go +++ b/post-processor/yandex-export/step-attach-disk.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandexexport import ( diff --git a/post-processor/yandex-export/step-create-s3-keys.go b/post-processor/yandex-export/step-create-s3-keys.go index e47cd61e..e8eb752c 100644 --- a/post-processor/yandex-export/step-create-s3-keys.go +++ b/post-processor/yandex-export/step-create-s3-keys.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandexexport import ( diff --git a/post-processor/yandex-export/step-dump.go b/post-processor/yandex-export/step-dump.go index bb2ac386..b12f8396 100644 --- a/post-processor/yandex-export/step-dump.go +++ b/post-processor/yandex-export/step-dump.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandexexport import ( diff --git a/post-processor/yandex-export/step-prepare-tools.go b/post-processor/yandex-export/step-prepare-tools.go index b1112619..8f868d31 100644 --- a/post-processor/yandex-export/step-prepare-tools.go +++ b/post-processor/yandex-export/step-prepare-tools.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandexexport import ( diff --git a/post-processor/yandex-export/step-upload-secrets.go b/post-processor/yandex-export/step-upload-secrets.go index 9205ae2d..3cd8d31f 100644 --- a/post-processor/yandex-export/step-upload-secrets.go +++ b/post-processor/yandex-export/step-upload-secrets.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandexexport import ( diff --git a/post-processor/yandex-export/step-upload-to-s3.go b/post-processor/yandex-export/step-upload-to-s3.go index d683dde7..a12d56f8 100644 --- a/post-processor/yandex-export/step-upload-to-s3.go +++ b/post-processor/yandex-export/step-upload-to-s3.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandexexport import ( diff --git a/post-processor/yandex-import/artifact.go b/post-processor/yandex-import/artifact.go index 6775a119..74c8be2f 100644 --- a/post-processor/yandex-import/artifact.go +++ b/post-processor/yandex-import/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandeximport import ( diff --git a/post-processor/yandex-import/artifact_test.go b/post-processor/yandex-import/artifact_test.go index efc007fc..a2ccf456 100644 --- a/post-processor/yandex-import/artifact_test.go +++ b/post-processor/yandex-import/artifact_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandeximport import ( diff --git a/post-processor/yandex-import/post-processor.go b/post-processor/yandex-import/post-processor.go index d2840fa9..dbc13acf 100644 --- a/post-processor/yandex-import/post-processor.go +++ b/post-processor/yandex-import/post-processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc struct-markdown //go:generate packer-sdc mapstructure-to-hcl2 -type Config diff --git a/post-processor/yandex-import/source.go b/post-processor/yandex-import/source.go index d25e31a6..07ce1f62 100644 --- a/post-processor/yandex-import/source.go +++ b/post-processor/yandex-import/source.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandeximport import "fmt" diff --git a/post-processor/yandex-import/storage.go b/post-processor/yandex-import/storage.go index 5715ed22..f53d031a 100644 --- a/post-processor/yandex-import/storage.go +++ b/post-processor/yandex-import/storage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandeximport import ( diff --git a/post-processor/yandex-import/storage_test.go b/post-processor/yandex-import/storage_test.go index 7cfeed97..26dbe621 100644 --- a/post-processor/yandex-import/storage_test.go +++ b/post-processor/yandex-import/storage_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandeximport import ( diff --git a/post-processor/yandex-import/utils.go b/post-processor/yandex-import/utils.go index 0a9ab0cc..5d455b46 100644 --- a/post-processor/yandex-import/utils.go +++ b/post-processor/yandex-import/utils.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package yandeximport import ( diff --git a/version/version.go b/version/version.go index 33c69fb7..e686ffe9 100644 --- a/version/version.go +++ b/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import "github.com/hashicorp/packer-plugin-sdk/version"