diff --git a/config/microsoft-graph.hcl b/config/microsoft-graph.hcl index 266bade94bf..e1b4eb73b7f 100644 --- a/config/microsoft-graph.hcl +++ b/config/microsoft-graph.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + service "administrativeUnits" { name = "AdministrativeUnits" available = ["beta"] diff --git a/config/resource-manager.hcl b/config/resource-manager.hcl index 2d135147b80..1e12f9bd918 100644 --- a/config/resource-manager.hcl +++ b/config/resource-manager.hcl @@ -1,3 +1,5 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 service "advisor" { name = "Advisor" diff --git a/config/resources/containerservice.hcl b/config/resources/containerservice.hcl index c1e25217d34..4fb708a8f2a 100644 --- a/config/resources/containerservice.hcl +++ b/config/resources/containerservice.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + service "ContainerService" { terraform_package = "containers" diff --git a/config/resources/loadtestservice.hcl b/config/resources/loadtestservice.hcl index 75675598315..6ad50ddb4c6 100644 --- a/config/resources/loadtestservice.hcl +++ b/config/resources/loadtestservice.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + service "LoadTestService" { terraform_package = "loadtestservice" diff --git a/config/resources/managedidentity.hcl b/config/resources/managedidentity.hcl index 87261c11b59..8ce234cd677 100644 --- a/config/resources/managedidentity.hcl +++ b/config/resources/managedidentity.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + service "ManagedIdentity" { terraform_package = "managedidentity" diff --git a/tools/version-bumper/config.go b/tools/version-bumper/config.go index ee231733199..96a22027db3 100644 --- a/tools/version-bumper/config.go +++ b/tools/version-bumper/config.go @@ -18,6 +18,12 @@ func writeToFile(config services.Config, filePath string) error { newFile := hclwrite.NewEmptyFile() gohcl.EncodeIntoBody(&config, newFile.Body()) bytes := hclwrite.Format(newFile.Bytes()) + filePlusHeader := strings.TrimSpace(fmt.Sprintf(` +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 +%s +`, string(bytes))) + bytes = []byte(filePlusHeader) os.Remove(filePath) file, err := os.Create(filePath) if err != nil {