diff --git a/.github/ISSUE_TEMPLATE/Bug_Report.yml b/.github/ISSUE_TEMPLATE/Bug_Report.yml index eeb23de585e4..f4f2c370f199 100644 --- a/.github/ISSUE_TEMPLATE/Bug_Report.yml +++ b/.github/ISSUE_TEMPLATE/Bug_Report.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + name: Bug Report description: If something isn't working as expected. body: diff --git a/.github/ISSUE_TEMPLATE/Feature_Request.yml b/.github/ISSUE_TEMPLATE/Feature_Request.yml index 9682e55dd6d6..c8ab5b372403 100644 --- a/.github/ISSUE_TEMPLATE/Feature_Request.yml +++ b/.github/ISSUE_TEMPLATE/Feature_Request.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + name: Feature Request description: I have a suggestion (and might want to implement myself)! title: "Support for [thing]" diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 74112009bfde..a2703bb85ad9 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + blank_issues_enabled: false contact_links: - name: Azure Provider Configuration/Usage Questions diff --git a/.github/labeler-issue-triage.yml b/.github/labeler-issue-triage.yml index d1a51fda447f..02f7055d2567 100644 --- a/.github/labeler-issue-triage.yml +++ b/.github/labeler-issue-triage.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bug: - 'panic:' crash: diff --git a/.golangci.yml b/.golangci.yml index 23d93685d83d..e7cb71651621 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + run: timeout: 60m go: 1.19 diff --git a/.goreleaser.yml b/.goreleaser.yml index 9cb291dfffd7..5aa22004ceee 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 0af6ce363acd..36209d7ff904 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-azurerm" url_license = "https://github.com/hashicorp/terraform-provider-azurerm/blob/main/LICENSE" diff --git a/.teamcity/components/settings.kt b/.teamcity/components/settings.kt index 68b9244e1402..045406c8b071 100644 --- a/.teamcity/components/settings.kt +++ b/.teamcity/components/settings.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + // specifies the default hour (UTC) at which tests should be triggered, if enabled var defaultStartHour = 0 diff --git a/.teamcity/pom.xml b/.teamcity/pom.xml index 172ffccdd299..b7cb46dbce8f 100644 --- a/.teamcity/pom.xml +++ b/.teamcity/pom.xml @@ -1,4 +1,9 @@ + + 4.0.0 Terraform-Provider-Azurerm Config DSL Script diff --git a/.teamcity/tests/configuration.kt b/.teamcity/tests/configuration.kt index ba72e5fce585..10859d381d50 100644 --- a/.teamcity/tests/configuration.kt +++ b/.teamcity/tests/configuration.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + package tests import AzureRM diff --git a/.teamcity/tests/helpers.kt b/.teamcity/tests/helpers.kt index 3fb52df77416..a3f31cf37f66 100644 --- a/.teamcity/tests/helpers.kt +++ b/.teamcity/tests/helpers.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + package tests import ClientConfiguration diff --git a/.teamcity/tests/services.kt b/.teamcity/tests/services.kt index c331a28f0ad1..e000a1cc21a2 100644 --- a/.teamcity/tests/services.kt +++ b/.teamcity/tests/services.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + package tests import serviceTestConfigurationOverrides diff --git a/.teamcity/tests/vcs_roots.kt b/.teamcity/tests/vcs_roots.kt index c8f43013088a..9cb719df896f 100644 --- a/.teamcity/tests/vcs_roots.kt +++ b/.teamcity/tests/vcs_roots.kt @@ -1,3 +1,8 @@ +/* + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + package tests import AzureRM diff --git a/contributing/extra.css b/contributing/extra.css index 5499fe3f0732..1f666ea4d756 100755 --- a/contributing/extra.css +++ b/contributing/extra.css @@ -1,3 +1,8 @@ +/** + * Copyright (c) HashiCorp, Inc. + * SPDX-License-Identifier: MPL-2.0 + */ + .md-footer__inner:not([hidden]) { display: none } \ No newline at end of file diff --git a/examples/api-management/main.tf b/examples/api-management/main.tf index 153ae66cdd69..330888ce23fd 100644 --- a/examples/api-management/main.tf +++ b/examples/api-management/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/api-management/outputs.tf b/examples/api-management/outputs.tf index 3f752a27305b..d0c569af158c 100644 --- a/examples/api-management/outputs.tf +++ b/examples/api-management/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "service_id" { description = "The ID of the API Management Service created" value = azurerm_api_management.apim_service.id diff --git a/examples/api-management/variables.tf b/examples/api-management/variables.tf index 0d7983f80e21..8f61a6084d20 100644 --- a/examples/api-management/variables.tf +++ b/examples/api-management/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/app-service-certificate-order/standard/main.tf b/examples/app-service-certificate-order/standard/main.tf index 668f48a0d1ef..0eb6b585d224 100644 --- a/examples/app-service-certificate-order/standard/main.tf +++ b/examples/app-service-certificate-order/standard/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service-certificate-order/standard/outputs.tf b/examples/app-service-certificate-order/standard/outputs.tf index e4a1241205c8..4311b63d14c3 100644 --- a/examples/app-service-certificate-order/standard/outputs.tf +++ b/examples/app-service-certificate-order/standard/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "csr" { value = azurerm_app_service_certificate_order.test.csr } diff --git a/examples/app-service-certificate-order/standard/variables.tf b/examples/app-service-certificate-order/standard/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/app-service-certificate-order/standard/variables.tf +++ b/examples/app-service-certificate-order/standard/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/app-service-certificate-order/wildcard/main.tf b/examples/app-service-certificate-order/wildcard/main.tf index 87a8858a3049..8523b5b8ad35 100644 --- a/examples/app-service-certificate-order/wildcard/main.tf +++ b/examples/app-service-certificate-order/wildcard/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service-certificate-order/wildcard/outputs.tf b/examples/app-service-certificate-order/wildcard/outputs.tf index e4a1241205c8..4311b63d14c3 100644 --- a/examples/app-service-certificate-order/wildcard/outputs.tf +++ b/examples/app-service-certificate-order/wildcard/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "csr" { value = azurerm_app_service_certificate_order.test.csr } diff --git a/examples/app-service-certificate-order/wildcard/variables.tf b/examples/app-service-certificate-order/wildcard/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/app-service-certificate-order/wildcard/variables.tf +++ b/examples/app-service-certificate-order/wildcard/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/app-service-certificate/stored-in-keyvault/main.tf b/examples/app-service-certificate/stored-in-keyvault/main.tf index 6ef696ffa444..05ca21c1961f 100644 --- a/examples/app-service-certificate/stored-in-keyvault/main.tf +++ b/examples/app-service-certificate/stored-in-keyvault/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service-certificate/stored-in-keyvault/variables.tf b/examples/app-service-certificate/stored-in-keyvault/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/app-service-certificate/stored-in-keyvault/variables.tf +++ b/examples/app-service-certificate/stored-in-keyvault/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/app-service-environment-v3/main.tf b/examples/app-service-environment-v3/main.tf index 4bc9a19d9c18..693d005049c1 100644 --- a/examples/app-service-environment-v3/main.tf +++ b/examples/app-service-environment-v3/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { azurerm = { diff --git a/examples/app-service/backup/main.tf b/examples/app-service/backup/main.tf index 003ad562cd5c..ecfe903a4572 100644 --- a/examples/app-service/backup/main.tf +++ b/examples/app-service/backup/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/backup/output.tf b/examples/app-service/backup/output.tf index ed09b821bfe4..f96e4244b7b6 100644 --- a/examples/app-service/backup/output.tf +++ b/examples/app-service/backup/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_name" { value = azurerm_windows_web_app.example.default_hostname } diff --git a/examples/app-service/backup/variables.tf b/examples/app-service/backup/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/backup/variables.tf +++ b/examples/app-service/backup/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/docker-authentication/main.tf b/examples/app-service/docker-authentication/main.tf index 3c7a3a335924..87097fb67c33 100644 --- a/examples/app-service/docker-authentication/main.tf +++ b/examples/app-service/docker-authentication/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/docker-authentication/outputs.tf b/examples/app-service/docker-authentication/outputs.tf index b80a524933c5..87e2aea4092d 100644 --- a/examples/app-service/docker-authentication/outputs.tf +++ b/examples/app-service/docker-authentication/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "linux_web_app_name" { value = azurerm_linux_web_app.example.name } diff --git a/examples/app-service/docker-authentication/variables.tf b/examples/app-service/docker-authentication/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/docker-authentication/variables.tf +++ b/examples/app-service/docker-authentication/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/docker-basic/main.tf b/examples/app-service/docker-basic/main.tf index 6bc0c7e06122..33c73effbf48 100644 --- a/examples/app-service/docker-basic/main.tf +++ b/examples/app-service/docker-basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/docker-basic/outputs.tf b/examples/app-service/docker-basic/outputs.tf index b80a524933c5..87e2aea4092d 100644 --- a/examples/app-service/docker-basic/outputs.tf +++ b/examples/app-service/docker-basic/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "linux_web_app_name" { value = azurerm_linux_web_app.example.name } diff --git a/examples/app-service/docker-basic/variables.tf b/examples/app-service/docker-basic/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/docker-basic/variables.tf +++ b/examples/app-service/docker-basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/docker-compose/docker-compose.yml b/examples/app-service/docker-compose/docker-compose.yml index 6962f3d80eb3..955bb91219ce 100644 --- a/examples/app-service/docker-compose/docker-compose.yml +++ b/examples/app-service/docker-compose/docker-compose.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + version: '3.3' services: diff --git a/examples/app-service/docker-compose/main.tf b/examples/app-service/docker-compose/main.tf index aaf82be74a34..0f5a3bf69563 100644 --- a/examples/app-service/docker-compose/main.tf +++ b/examples/app-service/docker-compose/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/docker-compose/outputs.tf b/examples/app-service/docker-compose/outputs.tf index d5dfbb9dee69..4d743856c121 100644 --- a/examples/app-service/docker-compose/outputs.tf +++ b/examples/app-service/docker-compose/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_service_name" { value = azurerm_app_service.main.name } diff --git a/examples/app-service/docker-compose/variables.tf b/examples/app-service/docker-compose/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/app-service/docker-compose/variables.tf +++ b/examples/app-service/docker-compose/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/app-service/docker-kubernetes/kubernetes.yml b/examples/app-service/docker-kubernetes/kubernetes.yml index 87f4bb8bbcca..366ef81462b4 100644 --- a/examples/app-service/docker-kubernetes/kubernetes.yml +++ b/examples/app-service/docker-kubernetes/kubernetes.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + apiVersion: v1 kind: Pod metadata: diff --git a/examples/app-service/docker-kubernetes/main.tf b/examples/app-service/docker-kubernetes/main.tf index 4a6fc0c8466c..e103c3ecb149 100644 --- a/examples/app-service/docker-kubernetes/main.tf +++ b/examples/app-service/docker-kubernetes/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/docker-kubernetes/outputs.tf b/examples/app-service/docker-kubernetes/outputs.tf index d5dfbb9dee69..4d743856c121 100644 --- a/examples/app-service/docker-kubernetes/outputs.tf +++ b/examples/app-service/docker-kubernetes/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_service_name" { value = azurerm_app_service.main.name } diff --git a/examples/app-service/docker-kubernetes/variables.tf b/examples/app-service/docker-kubernetes/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/app-service/docker-kubernetes/variables.tf +++ b/examples/app-service/docker-kubernetes/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/app-service/function-azure-RBAC-role-assignment/main.tf b/examples/app-service/function-azure-RBAC-role-assignment/main.tf index f25d464ed16a..8eb7dafee4ac 100644 --- a/examples/app-service/function-azure-RBAC-role-assignment/main.tf +++ b/examples/app-service/function-azure-RBAC-role-assignment/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/function-azure-RBAC-role-assignment/outputs.tf b/examples/app-service/function-azure-RBAC-role-assignment/outputs.tf index 07dc205f8971..4ac262561d12 100644 --- a/examples/app-service/function-azure-RBAC-role-assignment/outputs.tf +++ b/examples/app-service/function-azure-RBAC-role-assignment/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "account_id" { value = azurerm_linux_function_app.example.identity.0.principal_id } \ No newline at end of file diff --git a/examples/app-service/function-azure-RBAC-role-assignment/variables.tf b/examples/app-service/function-azure-RBAC-role-assignment/variables.tf index 6a61d4466da2..31b0e7f956f4 100644 --- a/examples/app-service/function-azure-RBAC-role-assignment/variables.tf +++ b/examples/app-service/function-azure-RBAC-role-assignment/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/function-basic/main.tf b/examples/app-service/function-basic/main.tf index 730745a8459c..e310b6245c75 100644 --- a/examples/app-service/function-basic/main.tf +++ b/examples/app-service/function-basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/function-basic/outputs.tf b/examples/app-service/function-basic/outputs.tf index 607f6546778b..4fde88560cb6 100644 --- a/examples/app-service/function-basic/outputs.tf +++ b/examples/app-service/function-basic/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_name" { value = azurerm_linux_function_app.example.name } diff --git a/examples/app-service/function-basic/variables.tf b/examples/app-service/function-basic/variables.tf index 13dc22956d54..acc33a3ebacd 100644 --- a/examples/app-service/function-basic/variables.tf +++ b/examples/app-service/function-basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/function-python/SampleApp/PythonSampleApp/__init__.py b/examples/app-service/function-python/SampleApp/PythonSampleApp/__init__.py index 2a01653ccbb7..709d424d3dd2 100644 --- a/examples/app-service/function-python/SampleApp/PythonSampleApp/__init__.py +++ b/examples/app-service/function-python/SampleApp/PythonSampleApp/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + import logging import azure.functions as func diff --git a/examples/app-service/function-python/main.tf b/examples/app-service/function-python/main.tf index b1d182127945..93c1fe40618d 100644 --- a/examples/app-service/function-python/main.tf +++ b/examples/app-service/function-python/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/function-python/outputs.tf b/examples/app-service/function-python/outputs.tf index 2e4152fba06f..c10af95b12db 100644 --- a/examples/app-service/function-python/outputs.tf +++ b/examples/app-service/function-python/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_name" { value = azurerm_linux_function_app.example.name } diff --git a/examples/app-service/function-python/vars.tf b/examples/app-service/function-python/vars.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/function-python/vars.tf +++ b/examples/app-service/function-python/vars.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/linux-authentication/main.tf b/examples/app-service/linux-authentication/main.tf index 99f7d835c940..a31013aeb54e 100644 --- a/examples/app-service/linux-authentication/main.tf +++ b/examples/app-service/linux-authentication/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/linux-authentication/outputs.tf b/examples/app-service/linux-authentication/outputs.tf index 0fb4d68148f2..fb0cde7f9b1b 100644 --- a/examples/app-service/linux-authentication/outputs.tf +++ b/examples/app-service/linux-authentication/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_name" { value = azurerm_linux_web_app.example.name } diff --git a/examples/app-service/linux-authentication/variables.tf b/examples/app-service/linux-authentication/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/linux-authentication/variables.tf +++ b/examples/app-service/linux-authentication/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/linux-basic/main.tf b/examples/app-service/linux-basic/main.tf index 1bed1cd82cc2..eec9608db4da 100644 --- a/examples/app-service/linux-basic/main.tf +++ b/examples/app-service/linux-basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/linux-basic/outputs.tf b/examples/app-service/linux-basic/outputs.tf index 0fb4d68148f2..fb0cde7f9b1b 100644 --- a/examples/app-service/linux-basic/outputs.tf +++ b/examples/app-service/linux-basic/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_name" { value = azurerm_linux_web_app.example.name } diff --git a/examples/app-service/linux-basic/variables.tf b/examples/app-service/linux-basic/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/linux-basic/variables.tf +++ b/examples/app-service/linux-basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/linux-nodejs/main.tf b/examples/app-service/linux-nodejs/main.tf index edc75e870ab1..f94f3a9a7972 100644 --- a/examples/app-service/linux-nodejs/main.tf +++ b/examples/app-service/linux-nodejs/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/linux-nodejs/outputs.tf b/examples/app-service/linux-nodejs/outputs.tf index 0fb4d68148f2..fb0cde7f9b1b 100644 --- a/examples/app-service/linux-nodejs/outputs.tf +++ b/examples/app-service/linux-nodejs/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_name" { value = azurerm_linux_web_app.example.name } diff --git a/examples/app-service/linux-nodejs/variables.tf b/examples/app-service/linux-nodejs/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/linux-nodejs/variables.tf +++ b/examples/app-service/linux-nodejs/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/linux-php/main.tf b/examples/app-service/linux-php/main.tf index 0b9cebf8ae90..981c29dabce4 100644 --- a/examples/app-service/linux-php/main.tf +++ b/examples/app-service/linux-php/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/linux-php/outputs.tf b/examples/app-service/linux-php/outputs.tf index 2f8dd82fe3be..eee86bdb990a 100644 --- a/examples/app-service/linux-php/outputs.tf +++ b/examples/app-service/linux-php/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { scm_username = azurerm_linux_web_app.example.site_credential.0.name scm_password = azurerm_linux_web_app.example.site_credential.0.password diff --git a/examples/app-service/linux-php/variables.tf b/examples/app-service/linux-php/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/linux-php/variables.tf +++ b/examples/app-service/linux-php/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/linux-web-app-zip-deploy/main.tf b/examples/app-service/linux-web-app-zip-deploy/main.tf index 69d4132830e5..9d2e8abe38cc 100644 --- a/examples/app-service/linux-web-app-zip-deploy/main.tf +++ b/examples/app-service/linux-web-app-zip-deploy/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/linux-web-app-zip-deploy/outputs.tf b/examples/app-service/linux-web-app-zip-deploy/outputs.tf index d88861270023..797001cf9d4e 100644 --- a/examples/app-service/linux-web-app-zip-deploy/outputs.tf +++ b/examples/app-service/linux-web-app-zip-deploy/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_name" { value = azurerm_linux_web_app.example.name } diff --git a/examples/app-service/linux-web-app-zip-deploy/variables.tf b/examples/app-service/linux-web-app-zip-deploy/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/linux-web-app-zip-deploy/variables.tf +++ b/examples/app-service/linux-web-app-zip-deploy/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/windows-authentication/main.tf b/examples/app-service/windows-authentication/main.tf index 676e4f8a4e9a..31d267047c7b 100644 --- a/examples/app-service/windows-authentication/main.tf +++ b/examples/app-service/windows-authentication/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/windows-authentication/outputs.tf b/examples/app-service/windows-authentication/outputs.tf index 79ca4b61c154..aa87806b1a33 100644 --- a/examples/app-service/windows-authentication/outputs.tf +++ b/examples/app-service/windows-authentication/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_name" { value = azurerm_windows_web_app.example.name } diff --git a/examples/app-service/windows-authentication/variables.tf b/examples/app-service/windows-authentication/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/windows-authentication/variables.tf +++ b/examples/app-service/windows-authentication/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/windows-basic/main.tf b/examples/app-service/windows-basic/main.tf index 679dde7c1edd..af53b99c4a23 100644 --- a/examples/app-service/windows-basic/main.tf +++ b/examples/app-service/windows-basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/windows-basic/outputs.tf b/examples/app-service/windows-basic/outputs.tf index 79ca4b61c154..aa87806b1a33 100644 --- a/examples/app-service/windows-basic/outputs.tf +++ b/examples/app-service/windows-basic/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_name" { value = azurerm_windows_web_app.example.name } diff --git a/examples/app-service/windows-basic/variables.tf b/examples/app-service/windows-basic/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/windows-basic/variables.tf +++ b/examples/app-service/windows-basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/windows-container/main.tf b/examples/app-service/windows-container/main.tf index 2de11f8cbd14..51b7c8085dad 100644 --- a/examples/app-service/windows-container/main.tf +++ b/examples/app-service/windows-container/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/windows-container/outputs.tf b/examples/app-service/windows-container/outputs.tf index 79ca4b61c154..aa87806b1a33 100644 --- a/examples/app-service/windows-container/outputs.tf +++ b/examples/app-service/windows-container/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_name" { value = azurerm_windows_web_app.example.name } diff --git a/examples/app-service/windows-container/variables.tf b/examples/app-service/windows-container/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/windows-container/variables.tf +++ b/examples/app-service/windows-container/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/app-service/windows-java/main.tf b/examples/app-service/windows-java/main.tf index 9d9f445613b9..c9be5c5a63c0 100644 --- a/examples/app-service/windows-java/main.tf +++ b/examples/app-service/windows-java/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/app-service/windows-java/outputs.tf b/examples/app-service/windows-java/outputs.tf index 79ca4b61c154..aa87806b1a33 100644 --- a/examples/app-service/windows-java/outputs.tf +++ b/examples/app-service/windows-java/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "app_name" { value = azurerm_windows_web_app.example.name } diff --git a/examples/app-service/windows-java/variables.tf b/examples/app-service/windows-java/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/app-service/windows-java/variables.tf +++ b/examples/app-service/windows-java/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/arckubernetes/main.tf b/examples/arckubernetes/main.tf index 289fa1e7f36f..d030ad2bd24a 100644 --- a/examples/arckubernetes/main.tf +++ b/examples/arckubernetes/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features { resource_group { diff --git a/examples/arckubernetes/testdata/install_agent.py b/examples/arckubernetes/testdata/install_agent.py index c4623d8b2e25..feb2dccc40e7 100644 --- a/examples/arckubernetes/testdata/install_agent.py +++ b/examples/arckubernetes/testdata/install_agent.py @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + import argparse import json import logging as logger diff --git a/examples/arckubernetes/testdata/kind.yaml b/examples/arckubernetes/testdata/kind.yaml index fe336a44025d..04b3342955c7 100644 --- a/examples/arckubernetes/testdata/kind.yaml +++ b/examples/arckubernetes/testdata/kind.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: diff --git a/examples/arckubernetes/variables.tf b/examples/arckubernetes/variables.tf index 908fb80ad802..bada20a5a093 100644 --- a/examples/arckubernetes/variables.tf +++ b/examples/arckubernetes/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/automation-account/main.tf b/examples/automation-account/main.tf index 84accde8f579..89ff79d38159 100644 --- a/examples/automation-account/main.tf +++ b/examples/automation-account/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/automation-account/outputs.tf b/examples/automation-account/outputs.tf index 27a6792449b0..0d7bcae6a237 100644 --- a/examples/automation-account/outputs.tf +++ b/examples/automation-account/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "automation_schedule_start_time" { value = "${azurerm_automation_schedule.one-time.start_time}" } diff --git a/examples/automation-account/variables.tf b/examples/automation-account/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/automation-account/variables.tf +++ b/examples/automation-account/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/azure-monitoring/data-collection-rule/main.tf b/examples/azure-monitoring/data-collection-rule/main.tf index a50767173782..cfc5af95324b 100644 --- a/examples/azure-monitoring/data-collection-rule/main.tf +++ b/examples/azure-monitoring/data-collection-rule/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/azure-monitoring/data-collection-rule/variables.tf b/examples/azure-monitoring/data-collection-rule/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/azure-monitoring/data-collection-rule/variables.tf +++ b/examples/azure-monitoring/data-collection-rule/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/azure-monitoring/eventhub_integration/main.tf b/examples/azure-monitoring/eventhub_integration/main.tf index 9a8ab92e3318..2c4de161a6e3 100644 --- a/examples/azure-monitoring/eventhub_integration/main.tf +++ b/examples/azure-monitoring/eventhub_integration/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_resource_group" "example" { name = "example_rg_eventhub" location = "West Europe" diff --git a/examples/azure-monitoring/redis-cache-monitor/main.tf b/examples/azure-monitoring/redis-cache-monitor/main.tf index 181f29a09c7e..4102a3d47e17 100644 --- a/examples/azure-monitoring/redis-cache-monitor/main.tf +++ b/examples/azure-monitoring/redis-cache-monitor/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ## This code demonstrate how to setup Azure Redis Cache monitors provider "azurerm" { diff --git a/examples/azure-monitoring/redis-cache-monitor/variables.tf b/examples/azure-monitoring/redis-cache-monitor/variables.tf index 2df72689cf75..456dc8e14c1d 100644 --- a/examples/azure-monitoring/redis-cache-monitor/variables.tf +++ b/examples/azure-monitoring/redis-cache-monitor/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "cache" { description = "The Azure Redis Cache alerts" diff --git a/examples/batch/basic/main.tf b/examples/batch/basic/main.tf index 8ee85bb6f4f6..2040b9a6708b 100644 --- a/examples/batch/basic/main.tf +++ b/examples/batch/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/batch/basic/variables.tf b/examples/batch/basic/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/batch/basic/variables.tf +++ b/examples/batch/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/batch/custom-image/main.tf b/examples/batch/custom-image/main.tf index a4d61d7a2679..c7085b32402f 100644 --- a/examples/batch/custom-image/main.tf +++ b/examples/batch/custom-image/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/batch/custom-image/variables.tf b/examples/batch/custom-image/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/batch/custom-image/variables.tf +++ b/examples/batch/custom-image/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/bot-channel/main.tf b/examples/bot-channel/main.tf index e95b840baa04..d780091969f0 100644 --- a/examples/bot-channel/main.tf +++ b/examples/bot-channel/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/bot-channel/variables.tf b/examples/bot-channel/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/bot-channel/variables.tf +++ b/examples/bot-channel/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/cdn/frontdoor/frontdoor-cmk-byoc-custom-domain/main.tf b/examples/cdn/frontdoor/frontdoor-cmk-byoc-custom-domain/main.tf index ac2ecf2e098e..626b31485f2c 100644 --- a/examples/cdn/frontdoor/frontdoor-cmk-byoc-custom-domain/main.tf +++ b/examples/cdn/frontdoor/frontdoor-cmk-byoc-custom-domain/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/cdn/frontdoor/frontdoor-cmk-byoc-custom-domain/variables.tf b/examples/cdn/frontdoor/frontdoor-cmk-byoc-custom-domain/variables.tf index 015050edde06..46c671f58208 100644 --- a/examples/cdn/frontdoor/frontdoor-cmk-byoc-custom-domain/variables.tf +++ b/examples/cdn/frontdoor/frontdoor-cmk-byoc-custom-domain/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/cdn/frontdoor/frontdoor-managed-ssl-certificate-with-multiple-custom-domains/main.tf b/examples/cdn/frontdoor/frontdoor-managed-ssl-certificate-with-multiple-custom-domains/main.tf index 2f4142ebe9b1..8399089da7b9 100644 --- a/examples/cdn/frontdoor/frontdoor-managed-ssl-certificate-with-multiple-custom-domains/main.tf +++ b/examples/cdn/frontdoor/frontdoor-managed-ssl-certificate-with-multiple-custom-domains/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/cdn/frontdoor/frontdoor-managed-ssl-certificate-with-multiple-custom-domains/variables.tf b/examples/cdn/frontdoor/frontdoor-managed-ssl-certificate-with-multiple-custom-domains/variables.tf index 015050edde06..46c671f58208 100644 --- a/examples/cdn/frontdoor/frontdoor-managed-ssl-certificate-with-multiple-custom-domains/variables.tf +++ b/examples/cdn/frontdoor/frontdoor-managed-ssl-certificate-with-multiple-custom-domains/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/cdn/main.tf b/examples/cdn/main.tf index 2ffe5629eb63..d8d3dfa2fb6c 100644 --- a/examples/cdn/main.tf +++ b/examples/cdn/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/cdn/outputs.tf b/examples/cdn/outputs.tf index ae9046377335..b52c7ade5c4d 100644 --- a/examples/cdn/outputs.tf +++ b/examples/cdn/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "cdn_endpoint_id" { value = "${azurerm_cdn_endpoint.cdnendpt.name}.azureedge.net" } diff --git a/examples/cdn/variables.tf b/examples/cdn/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/cdn/variables.tf +++ b/examples/cdn/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/confidential-ledger/main.tf b/examples/confidential-ledger/main.tf index a86dfd647c62..8a086e71a3ce 100644 --- a/examples/confidential-ledger/main.tf +++ b/examples/confidential-ledger/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/container-instance/image-registry-credentials/main.tf b/examples/container-instance/image-registry-credentials/main.tf index ed52c5ce24a0..bfd93af0c690 100644 --- a/examples/container-instance/image-registry-credentials/main.tf +++ b/examples/container-instance/image-registry-credentials/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/container-instance/image-registry-credentials/variables.tf b/examples/container-instance/image-registry-credentials/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/container-instance/image-registry-credentials/variables.tf +++ b/examples/container-instance/image-registry-credentials/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/container-instance/multiple-containers/main.tf b/examples/container-instance/multiple-containers/main.tf index ce90483cd146..f4215c72cd87 100644 --- a/examples/container-instance/multiple-containers/main.tf +++ b/examples/container-instance/multiple-containers/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/container-instance/multiple-containers/outputs.tf b/examples/container-instance/multiple-containers/outputs.tf index cc8c602b234e..41a72ecb643e 100644 --- a/examples/container-instance/multiple-containers/outputs.tf +++ b/examples/container-instance/multiple-containers/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "ip_address" { value = azurerm_container_group.example.ip_address } diff --git a/examples/container-instance/multiple-containers/variables.tf b/examples/container-instance/multiple-containers/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/container-instance/multiple-containers/variables.tf +++ b/examples/container-instance/multiple-containers/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/container-instance/subnet/main.tf b/examples/container-instance/subnet/main.tf index 9b1e68ac3f5b..26429784ead2 100644 --- a/examples/container-instance/subnet/main.tf +++ b/examples/container-instance/subnet/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/container-instance/subnet/variables.tf b/examples/container-instance/subnet/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/container-instance/subnet/variables.tf +++ b/examples/container-instance/subnet/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/container-instance/volume-mount/main.tf b/examples/container-instance/volume-mount/main.tf index 0b0cff68c555..73fb0b359b87 100644 --- a/examples/container-instance/volume-mount/main.tf +++ b/examples/container-instance/volume-mount/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/container-instance/volume-mount/outputs.tf b/examples/container-instance/volume-mount/outputs.tf index cc8c602b234e..41a72ecb643e 100644 --- a/examples/container-instance/volume-mount/outputs.tf +++ b/examples/container-instance/volume-mount/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "ip_address" { value = azurerm_container_group.example.ip_address } diff --git a/examples/container-instance/volume-mount/variables.tf b/examples/container-instance/volume-mount/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/container-instance/volume-mount/variables.tf +++ b/examples/container-instance/volume-mount/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/container-registry/main.tf b/examples/container-registry/main.tf index 50033798c560..cc5130fb9577 100644 --- a/examples/container-registry/main.tf +++ b/examples/container-registry/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/container-registry/outputs.tf b/examples/container-registry/outputs.tf index 2a6dae2ff6a7..253954995ff1 100644 --- a/examples/container-registry/outputs.tf +++ b/examples/container-registry/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "login_server" { value = "${azurerm_container_registry.example.login_server}" } diff --git a/examples/container-registry/variables.tf b/examples/container-registry/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/container-registry/variables.tf +++ b/examples/container-registry/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/cosmos-db/basic/main.tf b/examples/cosmos-db/basic/main.tf index 005d2aeeadf5..45310f274b4f 100644 --- a/examples/cosmos-db/basic/main.tf +++ b/examples/cosmos-db/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/cosmos-db/basic/outputs.tf b/examples/cosmos-db/basic/outputs.tf index ae5ba03ae543..26d0ad8fc915 100644 --- a/examples/cosmos-db/basic/outputs.tf +++ b/examples/cosmos-db/basic/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "cosmos-db-id" { value = azurerm_cosmosdb_account.example.id } diff --git a/examples/cosmos-db/basic/variables.tf b/examples/cosmos-db/basic/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/cosmos-db/basic/variables.tf +++ b/examples/cosmos-db/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/cosmos-db/customer-managed-key/main.tf b/examples/cosmos-db/customer-managed-key/main.tf index 8330e7d9ea63..7c2ddc0fd201 100644 --- a/examples/cosmos-db/customer-managed-key/main.tf +++ b/examples/cosmos-db/customer-managed-key/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/cosmos-db/customer-managed-key/outputs.tf b/examples/cosmos-db/customer-managed-key/outputs.tf index ae5ba03ae543..26d0ad8fc915 100644 --- a/examples/cosmos-db/customer-managed-key/outputs.tf +++ b/examples/cosmos-db/customer-managed-key/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "cosmos-db-id" { value = azurerm_cosmosdb_account.example.id } diff --git a/examples/cosmos-db/customer-managed-key/variables.tf b/examples/cosmos-db/customer-managed-key/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/cosmos-db/customer-managed-key/variables.tf +++ b/examples/cosmos-db/customer-managed-key/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/cosmos-db/failover/main.tf b/examples/cosmos-db/failover/main.tf index 06e49a5873ef..33ee23a70215 100644 --- a/examples/cosmos-db/failover/main.tf +++ b/examples/cosmos-db/failover/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/cosmos-db/failover/outputs.tf b/examples/cosmos-db/failover/outputs.tf index ae5ba03ae543..26d0ad8fc915 100644 --- a/examples/cosmos-db/failover/outputs.tf +++ b/examples/cosmos-db/failover/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "cosmos-db-id" { value = azurerm_cosmosdb_account.example.id } diff --git a/examples/cosmos-db/failover/variables.tf b/examples/cosmos-db/failover/variables.tf index efe505606157..042006ad79c4 100644 --- a/examples/cosmos-db/failover/variables.tf +++ b/examples/cosmos-db/failover/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/data-factory/shared-self-hosted/main.tf b/examples/data-factory/shared-self-hosted/main.tf index cb4463aa01a8..c55b75ee930d 100644 --- a/examples/data-factory/shared-self-hosted/main.tf +++ b/examples/data-factory/shared-self-hosted/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/data-factory/shared-self-hosted/variables.tf b/examples/data-factory/shared-self-hosted/variables.tf index 3579de3cb72c..0a7254b9a8c2 100644 --- a/examples/data-factory/shared-self-hosted/variables.tf +++ b/examples/data-factory/shared-self-hosted/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where all resources in this example should be created." } diff --git a/examples/databricks/customer-managed-key/dbfs/main.tf b/examples/databricks/customer-managed-key/dbfs/main.tf index 75147e429691..febdc6f0d9e3 100644 --- a/examples/databricks/customer-managed-key/dbfs/main.tf +++ b/examples/databricks/customer-managed-key/dbfs/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/databricks/customer-managed-key/dbfs/variables.tf b/examples/databricks/customer-managed-key/dbfs/variables.tf index 6783f66e08b3..d48592b4e9a1 100644 --- a/examples/databricks/customer-managed-key/dbfs/variables.tf +++ b/examples/databricks/customer-managed-key/dbfs/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/databricks/customer-managed-key/managed-services/main.tf b/examples/databricks/customer-managed-key/managed-services/main.tf index dcbfa7431fa1..b0c0cc5efb73 100644 --- a/examples/databricks/customer-managed-key/managed-services/main.tf +++ b/examples/databricks/customer-managed-key/managed-services/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/databricks/customer-managed-key/managed-services/variables.tf b/examples/databricks/customer-managed-key/managed-services/variables.tf index 6783f66e08b3..d48592b4e9a1 100644 --- a/examples/databricks/customer-managed-key/managed-services/variables.tf +++ b/examples/databricks/customer-managed-key/managed-services/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/databricks/secure-connectivity-cluster/with-load-balancer/main.tf b/examples/databricks/secure-connectivity-cluster/with-load-balancer/main.tf index 6ed64fd0b95d..ccfe5dfb1da0 100644 --- a/examples/databricks/secure-connectivity-cluster/with-load-balancer/main.tf +++ b/examples/databricks/secure-connectivity-cluster/with-load-balancer/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/databricks/secure-connectivity-cluster/with-load-balancer/variables.tf b/examples/databricks/secure-connectivity-cluster/with-load-balancer/variables.tf index 7a46c23c1485..1da9fc1a8e74 100644 --- a/examples/databricks/secure-connectivity-cluster/with-load-balancer/variables.tf +++ b/examples/databricks/secure-connectivity-cluster/with-load-balancer/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/databricks/secure-connectivity-cluster/without-load-balancer/main.tf b/examples/databricks/secure-connectivity-cluster/without-load-balancer/main.tf index 5f52a75d5245..512cf8269859 100644 --- a/examples/databricks/secure-connectivity-cluster/without-load-balancer/main.tf +++ b/examples/databricks/secure-connectivity-cluster/without-load-balancer/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/databricks/secure-connectivity-cluster/without-load-balancer/variables.tf b/examples/databricks/secure-connectivity-cluster/without-load-balancer/variables.tf index 7a46c23c1485..1da9fc1a8e74 100644 --- a/examples/databricks/secure-connectivity-cluster/without-load-balancer/variables.tf +++ b/examples/databricks/secure-connectivity-cluster/without-load-balancer/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/datalake/main.tf b/examples/datalake/main.tf index efc6a3851cf6..8247500f1175 100644 --- a/examples/datalake/main.tf +++ b/examples/datalake/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/datalake/variables.tf b/examples/datalake/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/datalake/variables.tf +++ b/examples/datalake/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/desktopvirtualization/main.tf b/examples/desktopvirtualization/main.tf index 0ca9c1f0c07f..63e19011a1bc 100644 --- a/examples/desktopvirtualization/main.tf +++ b/examples/desktopvirtualization/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/desktopvirtualization/variables.tf b/examples/desktopvirtualization/variables.tf index e12cfc5ba181..42845111f3a4 100644 --- a/examples/desktopvirtualization/variables.tf +++ b/examples/desktopvirtualization/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/eventgrid/event-subscription/main.tf b/examples/eventgrid/event-subscription/main.tf index da8341dfd2fe..6a478fd1ea59 100644 --- a/examples/eventgrid/event-subscription/main.tf +++ b/examples/eventgrid/event-subscription/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/eventgrid/event-subscription/variables.tf b/examples/eventgrid/event-subscription/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/eventgrid/event-subscription/variables.tf +++ b/examples/eventgrid/event-subscription/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/eventhub/dedicated-eventhubs-cluster/main.tf b/examples/eventhub/dedicated-eventhubs-cluster/main.tf index 79ca84f7878d..4811111cc5ef 100644 --- a/examples/eventhub/dedicated-eventhubs-cluster/main.tf +++ b/examples/eventhub/dedicated-eventhubs-cluster/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/eventhub/dedicated-eventhubs-cluster/variables.tf b/examples/eventhub/dedicated-eventhubs-cluster/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/eventhub/dedicated-eventhubs-cluster/variables.tf +++ b/examples/eventhub/dedicated-eventhubs-cluster/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/eventhub/namespace-networkrulesets/main.tf b/examples/eventhub/namespace-networkrulesets/main.tf index aa457ee4fc27..8223b85c6b85 100644 --- a/examples/eventhub/namespace-networkrulesets/main.tf +++ b/examples/eventhub/namespace-networkrulesets/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/eventhub/namespace-networkrulesets/variables.tf b/examples/eventhub/namespace-networkrulesets/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/eventhub/namespace-networkrulesets/variables.tf +++ b/examples/eventhub/namespace-networkrulesets/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/eventhub/shared-parent-eventhub-namespace/main.tf b/examples/eventhub/shared-parent-eventhub-namespace/main.tf index 7a7aceb31e52..162431fba1b1 100644 --- a/examples/eventhub/shared-parent-eventhub-namespace/main.tf +++ b/examples/eventhub/shared-parent-eventhub-namespace/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/eventhub/shared-parent-eventhub-namespace/variables.tf b/examples/eventhub/shared-parent-eventhub-namespace/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/eventhub/shared-parent-eventhub-namespace/variables.tf +++ b/examples/eventhub/shared-parent-eventhub-namespace/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/hdinsight/enterprise-security-package/main.tf b/examples/hdinsight/enterprise-security-package/main.tf index 1bc49891d027..df449e2d4970 100644 --- a/examples/hdinsight/enterprise-security-package/main.tf +++ b/examples/hdinsight/enterprise-security-package/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/hdinsight/enterprise-security-package/providers.tf b/examples/hdinsight/enterprise-security-package/providers.tf index b8d77a14a21e..e6f210b850f1 100644 --- a/examples/hdinsight/enterprise-security-package/providers.tf +++ b/examples/hdinsight/enterprise-security-package/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + terraform { required_providers { azurerm = { diff --git a/examples/hdinsight/enterprise-security-package/variables.tf b/examples/hdinsight/enterprise-security-package/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/hdinsight/enterprise-security-package/variables.tf +++ b/examples/hdinsight/enterprise-security-package/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/hdinsight/private-link/hadoop-interactive-spark-hbase-cluster/main.tf b/examples/hdinsight/private-link/hadoop-interactive-spark-hbase-cluster/main.tf index 20ba25064789..11d9dc0208b2 100644 --- a/examples/hdinsight/private-link/hadoop-interactive-spark-hbase-cluster/main.tf +++ b/examples/hdinsight/private-link/hadoop-interactive-spark-hbase-cluster/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/hdinsight/private-link/hadoop-interactive-spark-hbase-cluster/variables.tf b/examples/hdinsight/private-link/hadoop-interactive-spark-hbase-cluster/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/hdinsight/private-link/hadoop-interactive-spark-hbase-cluster/variables.tf +++ b/examples/hdinsight/private-link/hadoop-interactive-spark-hbase-cluster/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/kubernetes/aci_connector_linux/main.tf b/examples/kubernetes/aci_connector_linux/main.tf index 7bb8bf6631c9..4df278280a6f 100644 --- a/examples/kubernetes/aci_connector_linux/main.tf +++ b/examples/kubernetes/aci_connector_linux/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/aci_connector_linux/outputs.tf b/examples/kubernetes/aci_connector_linux/outputs.tf index ba0668a0496c..1c07d88201c4 100644 --- a/examples/kubernetes/aci_connector_linux/outputs.tf +++ b/examples/kubernetes/aci_connector_linux/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = azurerm_kubernetes_cluster.example.id } diff --git a/examples/kubernetes/aci_connector_linux/vars.tf b/examples/kubernetes/aci_connector_linux/vars.tf index 5ce2024206ba..f77fecd6d1cd 100644 --- a/examples/kubernetes/aci_connector_linux/vars.tf +++ b/examples/kubernetes/aci_connector_linux/vars.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" default = "acisampleaks" diff --git a/examples/kubernetes/aci_connector_linux/virtual-node.yaml b/examples/kubernetes/aci_connector_linux/virtual-node.yaml index cb53b33f9ec9..79a447d349dd 100644 --- a/examples/kubernetes/aci_connector_linux/virtual-node.yaml +++ b/examples/kubernetes/aci_connector_linux/virtual-node.yaml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + apiVersion: apps/v1 kind: Deployment metadata: diff --git a/examples/kubernetes/basic-cluster/main.tf b/examples/kubernetes/basic-cluster/main.tf index 8047d06a6694..9ce14da43179 100644 --- a/examples/kubernetes/basic-cluster/main.tf +++ b/examples/kubernetes/basic-cluster/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/basic-cluster/outputs.tf b/examples/kubernetes/basic-cluster/outputs.tf index fbddf7271d52..d544646f6a87 100644 --- a/examples/kubernetes/basic-cluster/outputs.tf +++ b/examples/kubernetes/basic-cluster/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = azurerm_kubernetes_cluster.example.id } diff --git a/examples/kubernetes/basic-cluster/variables.tf b/examples/kubernetes/basic-cluster/variables.tf index 3a9207e49069..3f837e32daa7 100644 --- a/examples/kubernetes/basic-cluster/variables.tf +++ b/examples/kubernetes/basic-cluster/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/kubernetes/egress-with-udr-azure-cni/main.tf b/examples/kubernetes/egress-with-udr-azure-cni/main.tf index 4d8de2cf4f3d..d96a5f7524bc 100644 --- a/examples/kubernetes/egress-with-udr-azure-cni/main.tf +++ b/examples/kubernetes/egress-with-udr-azure-cni/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/egress-with-udr-azure-cni/outputs.tf b/examples/kubernetes/egress-with-udr-azure-cni/outputs.tf index fbddf7271d52..d544646f6a87 100644 --- a/examples/kubernetes/egress-with-udr-azure-cni/outputs.tf +++ b/examples/kubernetes/egress-with-udr-azure-cni/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = azurerm_kubernetes_cluster.example.id } diff --git a/examples/kubernetes/egress-with-udr-azure-cni/variables.tf b/examples/kubernetes/egress-with-udr-azure-cni/variables.tf index 5e8cfdd337a6..eb54a258c3ee 100644 --- a/examples/kubernetes/egress-with-udr-azure-cni/variables.tf +++ b/examples/kubernetes/egress-with-udr-azure-cni/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/kubernetes/egress-with-udr-kubenet/main.tf b/examples/kubernetes/egress-with-udr-kubenet/main.tf index 788397495ada..a286f81562e7 100644 --- a/examples/kubernetes/egress-with-udr-kubenet/main.tf +++ b/examples/kubernetes/egress-with-udr-kubenet/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/egress-with-udr-kubenet/outputs.tf b/examples/kubernetes/egress-with-udr-kubenet/outputs.tf index fbddf7271d52..d544646f6a87 100644 --- a/examples/kubernetes/egress-with-udr-kubenet/outputs.tf +++ b/examples/kubernetes/egress-with-udr-kubenet/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = azurerm_kubernetes_cluster.example.id } diff --git a/examples/kubernetes/egress-with-udr-kubenet/variables.tf b/examples/kubernetes/egress-with-udr-kubenet/variables.tf index 1be06cdc107f..8a08bc454e93 100644 --- a/examples/kubernetes/egress-with-udr-kubenet/variables.tf +++ b/examples/kubernetes/egress-with-udr-kubenet/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/kubernetes/monitoring-log-analytics/main.tf b/examples/kubernetes/monitoring-log-analytics/main.tf index 740d9225a68d..6e43273fda6a 100644 --- a/examples/kubernetes/monitoring-log-analytics/main.tf +++ b/examples/kubernetes/monitoring-log-analytics/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/monitoring-log-analytics/outputs.tf b/examples/kubernetes/monitoring-log-analytics/outputs.tf index fbddf7271d52..d544646f6a87 100644 --- a/examples/kubernetes/monitoring-log-analytics/outputs.tf +++ b/examples/kubernetes/monitoring-log-analytics/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = azurerm_kubernetes_cluster.example.id } diff --git a/examples/kubernetes/monitoring-log-analytics/variables.tf b/examples/kubernetes/monitoring-log-analytics/variables.tf index 3a9207e49069..3f837e32daa7 100644 --- a/examples/kubernetes/monitoring-log-analytics/variables.tf +++ b/examples/kubernetes/monitoring-log-analytics/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/kubernetes/network-policy-calico/main.tf b/examples/kubernetes/network-policy-calico/main.tf index 4e9488e2b730..e24549115d0c 100644 --- a/examples/kubernetes/network-policy-calico/main.tf +++ b/examples/kubernetes/network-policy-calico/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/network-policy-calico/outputs.tf b/examples/kubernetes/network-policy-calico/outputs.tf index fbddf7271d52..d544646f6a87 100644 --- a/examples/kubernetes/network-policy-calico/outputs.tf +++ b/examples/kubernetes/network-policy-calico/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = azurerm_kubernetes_cluster.example.id } diff --git a/examples/kubernetes/network-policy-calico/variables.tf b/examples/kubernetes/network-policy-calico/variables.tf index 2cfbd538785b..e222daf82e5c 100644 --- a/examples/kubernetes/network-policy-calico/variables.tf +++ b/examples/kubernetes/network-policy-calico/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" default = "akscalico" diff --git a/examples/kubernetes/nodes-on-internal-network/main.tf b/examples/kubernetes/nodes-on-internal-network/main.tf index 38c8e3553bfd..566bb7529a52 100644 --- a/examples/kubernetes/nodes-on-internal-network/main.tf +++ b/examples/kubernetes/nodes-on-internal-network/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/nodes-on-internal-network/outputs.tf b/examples/kubernetes/nodes-on-internal-network/outputs.tf index fbddf7271d52..d544646f6a87 100644 --- a/examples/kubernetes/nodes-on-internal-network/outputs.tf +++ b/examples/kubernetes/nodes-on-internal-network/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = azurerm_kubernetes_cluster.example.id } diff --git a/examples/kubernetes/nodes-on-internal-network/variables.tf b/examples/kubernetes/nodes-on-internal-network/variables.tf index 3a9207e49069..3f837e32daa7 100644 --- a/examples/kubernetes/nodes-on-internal-network/variables.tf +++ b/examples/kubernetes/nodes-on-internal-network/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/kubernetes/old/advanced-networking-calico-policy/main.tf b/examples/kubernetes/old/advanced-networking-calico-policy/main.tf index 9c9529b134a5..8a774ab08380 100644 --- a/examples/kubernetes/old/advanced-networking-calico-policy/main.tf +++ b/examples/kubernetes/old/advanced-networking-calico-policy/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/old/advanced-networking-calico-policy/outputs.tf b/examples/kubernetes/old/advanced-networking-calico-policy/outputs.tf index e0723f431917..f8decda9f1c6 100644 --- a/examples/kubernetes/old/advanced-networking-calico-policy/outputs.tf +++ b/examples/kubernetes/old/advanced-networking-calico-policy/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "subnet_id" { value = "${azurerm_kubernetes_cluster.test.agent_pool_profile.0.vnet_subnet_id}" } diff --git a/examples/kubernetes/old/advanced-networking-calico-policy/variables.tf b/examples/kubernetes/old/advanced-networking-calico-policy/variables.tf index a2588b4845e1..f71583866efd 100644 --- a/examples/kubernetes/old/advanced-networking-calico-policy/variables.tf +++ b/examples/kubernetes/old/advanced-networking-calico-policy/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/kubernetes/old/advanced-networking/main.tf b/examples/kubernetes/old/advanced-networking/main.tf index a89ab3e6d33c..bea51a1db973 100644 --- a/examples/kubernetes/old/advanced-networking/main.tf +++ b/examples/kubernetes/old/advanced-networking/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/old/advanced-networking/outputs.tf b/examples/kubernetes/old/advanced-networking/outputs.tf index a26cb3aac182..7899a332da86 100644 --- a/examples/kubernetes/old/advanced-networking/outputs.tf +++ b/examples/kubernetes/old/advanced-networking/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "subnet_id" { value = "${azurerm_kubernetes_cluster.example.agent_pool_profile.0.vnet_subnet_id}" } diff --git a/examples/kubernetes/old/advanced-networking/variables.tf b/examples/kubernetes/old/advanced-networking/variables.tf index ed6926169906..19a14ee40b51 100644 --- a/examples/kubernetes/old/advanced-networking/variables.tf +++ b/examples/kubernetes/old/advanced-networking/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/kubernetes/old/role-based-access-control-azuread/main.tf b/examples/kubernetes/old/role-based-access-control-azuread/main.tf index c96e0203e14b..658c537b6979 100644 --- a/examples/kubernetes/old/role-based-access-control-azuread/main.tf +++ b/examples/kubernetes/old/role-based-access-control-azuread/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/old/role-based-access-control-azuread/outputs.tf b/examples/kubernetes/old/role-based-access-control-azuread/outputs.tf index 808ce2f71322..1eaccade06cb 100644 --- a/examples/kubernetes/old/role-based-access-control-azuread/outputs.tf +++ b/examples/kubernetes/old/role-based-access-control-azuread/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = "${azurerm_kubernetes_cluster.example.id}" } diff --git a/examples/kubernetes/old/role-based-access-control-azuread/variables.tf b/examples/kubernetes/old/role-based-access-control-azuread/variables.tf index 31d40a0e9675..4a5622379c07 100644 --- a/examples/kubernetes/old/role-based-access-control-azuread/variables.tf +++ b/examples/kubernetes/old/role-based-access-control-azuread/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/kubernetes/old/role-based-access-control/main.tf b/examples/kubernetes/old/role-based-access-control/main.tf index e282308318a7..2ca81540b850 100644 --- a/examples/kubernetes/old/role-based-access-control/main.tf +++ b/examples/kubernetes/old/role-based-access-control/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/old/role-based-access-control/outputs.tf b/examples/kubernetes/old/role-based-access-control/outputs.tf index 808ce2f71322..1eaccade06cb 100644 --- a/examples/kubernetes/old/role-based-access-control/outputs.tf +++ b/examples/kubernetes/old/role-based-access-control/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = "${azurerm_kubernetes_cluster.example.id}" } diff --git a/examples/kubernetes/old/role-based-access-control/variables.tf b/examples/kubernetes/old/role-based-access-control/variables.tf index 31d40a0e9675..4a5622379c07 100644 --- a/examples/kubernetes/old/role-based-access-control/variables.tf +++ b/examples/kubernetes/old/role-based-access-control/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/kubernetes/private-api-server/main.tf b/examples/kubernetes/private-api-server/main.tf index 08810c2eb385..2831385ba3bb 100644 --- a/examples/kubernetes/private-api-server/main.tf +++ b/examples/kubernetes/private-api-server/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/private-api-server/outputs.tf b/examples/kubernetes/private-api-server/outputs.tf index b7a2ed7aa6d4..9070647bfd8e 100644 --- a/examples/kubernetes/private-api-server/outputs.tf +++ b/examples/kubernetes/private-api-server/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = azurerm_kubernetes_cluster.example.id } diff --git a/examples/kubernetes/private-api-server/variables.tf b/examples/kubernetes/private-api-server/variables.tf index 3a9207e49069..3f837e32daa7 100644 --- a/examples/kubernetes/private-api-server/variables.tf +++ b/examples/kubernetes/private-api-server/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/kubernetes/public-ip/main.tf b/examples/kubernetes/public-ip/main.tf index 55dfa7f58ddd..c1a782bf53e0 100644 --- a/examples/kubernetes/public-ip/main.tf +++ b/examples/kubernetes/public-ip/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/public-ip/outputs.tf b/examples/kubernetes/public-ip/outputs.tf index 2e086049b778..05ed28a1f717 100644 --- a/examples/kubernetes/public-ip/outputs.tf +++ b/examples/kubernetes/public-ip/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "cluster_egress_ip" { value = data.azurerm_public_ip.example.ip_address } diff --git a/examples/kubernetes/public-ip/variables.tf b/examples/kubernetes/public-ip/variables.tf index 3a9207e49069..3f837e32daa7 100644 --- a/examples/kubernetes/public-ip/variables.tf +++ b/examples/kubernetes/public-ip/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/kubernetes/spot-node-pool/main.tf b/examples/kubernetes/spot-node-pool/main.tf index 6beea6eed495..218cca983522 100644 --- a/examples/kubernetes/spot-node-pool/main.tf +++ b/examples/kubernetes/spot-node-pool/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/kubernetes/spot-node-pool/outputs.tf b/examples/kubernetes/spot-node-pool/outputs.tf index fbddf7271d52..d544646f6a87 100644 --- a/examples/kubernetes/spot-node-pool/outputs.tf +++ b/examples/kubernetes/spot-node-pool/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = azurerm_kubernetes_cluster.example.id } diff --git a/examples/kubernetes/spot-node-pool/variables.tf b/examples/kubernetes/spot-node-pool/variables.tf index 3a9207e49069..3f837e32daa7 100644 --- a/examples/kubernetes/spot-node-pool/variables.tf +++ b/examples/kubernetes/spot-node-pool/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "A prefix used for all resources in this example" } diff --git a/examples/log-analytics/basic/main.tf b/examples/log-analytics/basic/main.tf index 7e65706eb9cb..0d4c9c12bc0d 100644 --- a/examples/log-analytics/basic/main.tf +++ b/examples/log-analytics/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/log-analytics/basic/variables.tf b/examples/log-analytics/basic/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/log-analytics/basic/variables.tf +++ b/examples/log-analytics/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/log-analytics/solution/main.tf b/examples/log-analytics/solution/main.tf index 1e17cd9971b9..42224d6cce2e 100644 --- a/examples/log-analytics/solution/main.tf +++ b/examples/log-analytics/solution/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/log-analytics/solution/variables.tf b/examples/log-analytics/solution/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/log-analytics/solution/variables.tf +++ b/examples/log-analytics/solution/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/logic-app/main.tf b/examples/logic-app/main.tf index a98aaa58ab53..07f4632efeac 100644 --- a/examples/logic-app/main.tf +++ b/examples/logic-app/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/logic-app/variables.tf b/examples/logic-app/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/logic-app/variables.tf +++ b/examples/logic-app/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/managed-application/application-definition/main.tf b/examples/managed-application/application-definition/main.tf index f8677bf224e5..52a416c34c0c 100644 --- a/examples/managed-application/application-definition/main.tf +++ b/examples/managed-application/application-definition/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/managed-application/application-definition/variables.tf b/examples/managed-application/application-definition/variables.tf index 4b1cc6bcfc8d..4871f3553dbd 100644 --- a/examples/managed-application/application-definition/variables.tf +++ b/examples/managed-application/application-definition/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where all resources in this example should be created." } diff --git a/examples/managed-disks/encrypted/1-dependencies.tf b/examples/managed-disks/encrypted/1-dependencies.tf index 5acfeb874319..249bdbe800c5 100644 --- a/examples/managed-disks/encrypted/1-dependencies.tf +++ b/examples/managed-disks/encrypted/1-dependencies.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/managed-disks/encrypted/2-soft-delete.tf b/examples/managed-disks/encrypted/2-soft-delete.tf index 449cd99b5a2f..2d6638c7c932 100644 --- a/examples/managed-disks/encrypted/2-soft-delete.tf +++ b/examples/managed-disks/encrypted/2-soft-delete.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "null_resource" "enable-soft-delete-and-purge-protection" { # Soft Delete and Purge Protection aren't available in the Azure Provider at this time # as such we'll use the Azure CLI to enable them for the moment diff --git a/examples/managed-disks/encrypted/main.tf b/examples/managed-disks/encrypted/main.tf index 0ebe56378d56..8844bf576ff7 100644 --- a/examples/managed-disks/encrypted/main.tf +++ b/examples/managed-disks/encrypted/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # grant the service principal/user access to the key vault to be able to create the key resource "azurerm_key_vault_access_policy" "service-principal" { key_vault_id = azurerm_key_vault.test.id diff --git a/examples/managed-disks/encrypted/variables.tf b/examples/managed-disks/encrypted/variables.tf index 1c6bd939e523..d259e66aa903 100644 --- a/examples/managed-disks/encrypted/variables.tf +++ b/examples/managed-disks/encrypted/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/media-services/basic-with-assets/main.tf b/examples/media-services/basic-with-assets/main.tf index d35d4f42fc45..f2ff9d5a71f2 100644 --- a/examples/media-services/basic-with-assets/main.tf +++ b/examples/media-services/basic-with-assets/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/media-services/basic-with-assets/variables.tf b/examples/media-services/basic-with-assets/variables.tf index 0e016916b2be..3d161bddd568 100644 --- a/examples/media-services/basic-with-assets/variables.tf +++ b/examples/media-services/basic-with-assets/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example." } diff --git a/examples/media-services/basic/main.tf b/examples/media-services/basic/main.tf index 8f5123d5a61b..19d0c249f0a1 100644 --- a/examples/media-services/basic/main.tf +++ b/examples/media-services/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/media-services/basic/variables.tf b/examples/media-services/basic/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/media-services/basic/variables.tf +++ b/examples/media-services/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/media-services/multiple-storage-accounts/main.tf b/examples/media-services/multiple-storage-accounts/main.tf index 01c24b5e18c6..0d9eb3a43ca9 100644 --- a/examples/media-services/multiple-storage-accounts/main.tf +++ b/examples/media-services/multiple-storage-accounts/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/media-services/multiple-storage-accounts/variables.tf b/examples/media-services/multiple-storage-accounts/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/media-services/multiple-storage-accounts/variables.tf +++ b/examples/media-services/multiple-storage-accounts/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/mssql/mssqlvm/main.tf b/examples/mssql/mssqlvm/main.tf index 232aa9003811..0c88beee4dc9 100644 --- a/examples/mssql/mssqlvm/main.tf +++ b/examples/mssql/mssqlvm/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/mssql/mssqlvm/variables.tf b/examples/mssql/mssqlvm/variables.tf index 3579de3cb72c..0a7254b9a8c2 100644 --- a/examples/mssql/mssqlvm/variables.tf +++ b/examples/mssql/mssqlvm/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where all resources in this example should be created." } diff --git a/examples/netapp/account/main.tf b/examples/netapp/account/main.tf index 03519ead1121..d1e2eb977516 100644 --- a/examples/netapp/account/main.tf +++ b/examples/netapp/account/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/netapp/account/variables.tf b/examples/netapp/account/variables.tf index a8410358737f..44b9bae61662 100644 --- a/examples/netapp/account/variables.tf +++ b/examples/netapp/account/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where all resources in this example should be created." } diff --git a/examples/netapp/nfsv3_volume_with_snapshot_policy/main.tf b/examples/netapp/nfsv3_volume_with_snapshot_policy/main.tf index 9f3df63d46a3..dd059dd17c21 100755 --- a/examples/netapp/nfsv3_volume_with_snapshot_policy/main.tf +++ b/examples/netapp/nfsv3_volume_with_snapshot_policy/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/netapp/nfsv3_volume_with_snapshot_policy/variables.tf b/examples/netapp/nfsv3_volume_with_snapshot_policy/variables.tf index 31dcff302353..a768358e2406 100755 --- a/examples/netapp/nfsv3_volume_with_snapshot_policy/variables.tf +++ b/examples/netapp/nfsv3_volume_with_snapshot_policy/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where all resources in this example should be created." } diff --git a/examples/netapp/pool/main.tf b/examples/netapp/pool/main.tf index e854ebe9b6b9..2a47a97ab45b 100644 --- a/examples/netapp/pool/main.tf +++ b/examples/netapp/pool/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/netapp/pool/variables.tf b/examples/netapp/pool/variables.tf index b0d24e8e825f..e8e0e0a54557 100644 --- a/examples/netapp/pool/variables.tf +++ b/examples/netapp/pool/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where all resources in this example should be created." } diff --git a/examples/netapp/snapshot/main.tf b/examples/netapp/snapshot/main.tf index 5ab715053c64..aa9828aead1d 100644 --- a/examples/netapp/snapshot/main.tf +++ b/examples/netapp/snapshot/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/netapp/snapshot/variables.tf b/examples/netapp/snapshot/variables.tf index f6ace0ff7d0a..cc577a81ed04 100644 --- a/examples/netapp/snapshot/variables.tf +++ b/examples/netapp/snapshot/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where all resources in this example should be created." } diff --git a/examples/netapp/volume/main.tf b/examples/netapp/volume/main.tf index 0b099bb22331..2a741505aa69 100644 --- a/examples/netapp/volume/main.tf +++ b/examples/netapp/volume/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/netapp/volume/variables.tf b/examples/netapp/volume/variables.tf index 31dcff302353..a768358e2406 100644 --- a/examples/netapp/volume/variables.tf +++ b/examples/netapp/volume/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where all resources in this example should be created." } diff --git a/examples/netapp/volume_crr/main.tf b/examples/netapp/volume_crr/main.tf index a63a8960d63c..b1ed77eb2fed 100644 --- a/examples/netapp/volume_crr/main.tf +++ b/examples/netapp/volume_crr/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/netapp/volume_crr/variables.tf b/examples/netapp/volume_crr/variables.tf index 7d1362c73886..51482e3b5ec3 100644 --- a/examples/netapp/volume_crr/variables.tf +++ b/examples/netapp/volume_crr/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where all resources in this example should be created." } diff --git a/examples/netapp/volume_from_snapshot/main.tf b/examples/netapp/volume_from_snapshot/main.tf index 82c559706d80..1121fd178aea 100644 --- a/examples/netapp/volume_from_snapshot/main.tf +++ b/examples/netapp/volume_from_snapshot/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/netapp/volume_from_snapshot/variables.tf b/examples/netapp/volume_from_snapshot/variables.tf index d20d1b0ec47a..c64e51ec051c 100644 --- a/examples/netapp/volume_from_snapshot/variables.tf +++ b/examples/netapp/volume_from_snapshot/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where all resources in this example should be created." } diff --git a/examples/orchestrated-vm-scale-set/automatic-vm-guest-patching/main.tf b/examples/orchestrated-vm-scale-set/automatic-vm-guest-patching/main.tf index 8d2cf934818a..f1f31a5f98c4 100644 --- a/examples/orchestrated-vm-scale-set/automatic-vm-guest-patching/main.tf +++ b/examples/orchestrated-vm-scale-set/automatic-vm-guest-patching/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/orchestrated-vm-scale-set/automatic-vm-guest-patching/variables.tf b/examples/orchestrated-vm-scale-set/automatic-vm-guest-patching/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/orchestrated-vm-scale-set/automatic-vm-guest-patching/variables.tf +++ b/examples/orchestrated-vm-scale-set/automatic-vm-guest-patching/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/orchestrated-vm-scale-set/hotpatching-enabled/main.tf b/examples/orchestrated-vm-scale-set/hotpatching-enabled/main.tf index a70a3abf9c0a..b24826411862 100644 --- a/examples/orchestrated-vm-scale-set/hotpatching-enabled/main.tf +++ b/examples/orchestrated-vm-scale-set/hotpatching-enabled/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/orchestrated-vm-scale-set/hotpatching-enabled/variables.tf b/examples/orchestrated-vm-scale-set/hotpatching-enabled/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/orchestrated-vm-scale-set/hotpatching-enabled/variables.tf +++ b/examples/orchestrated-vm-scale-set/hotpatching-enabled/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/policy-definition/main.tf b/examples/policy-definition/main.tf index 0a5d01312ad3..0ef59c045d72 100644 --- a/examples/policy-definition/main.tf +++ b/examples/policy-definition/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/policy-definition/variables.tf b/examples/policy-definition/variables.tf index 015050edde06..46c671f58208 100644 --- a/examples/policy-definition/variables.tf +++ b/examples/policy-definition/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/private-endpoint/application-gateway/main.tf b/examples/private-endpoint/application-gateway/main.tf index ba931172762d..903f8a052dd0 100644 --- a/examples/private-endpoint/application-gateway/main.tf +++ b/examples/private-endpoint/application-gateway/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/application-gateway/variables.tf b/examples/private-endpoint/application-gateway/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/private-endpoint/application-gateway/variables.tf +++ b/examples/private-endpoint/application-gateway/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/private-endpoint/cdn-frontdoor/linux-web-app/main.tf b/examples/private-endpoint/cdn-frontdoor/linux-web-app/main.tf index b734be44d010..15cf6b7a6e4b 100644 --- a/examples/private-endpoint/cdn-frontdoor/linux-web-app/main.tf +++ b/examples/private-endpoint/cdn-frontdoor/linux-web-app/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/cdn-frontdoor/linux-web-app/variables.tf b/examples/private-endpoint/cdn-frontdoor/linux-web-app/variables.tf index 015050edde06..46c671f58208 100644 --- a/examples/private-endpoint/cdn-frontdoor/linux-web-app/variables.tf +++ b/examples/private-endpoint/cdn-frontdoor/linux-web-app/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/private-endpoint/cdn-frontdoor/storage-account-blob/main.tf b/examples/private-endpoint/cdn-frontdoor/storage-account-blob/main.tf index 17ce873b476a..6a0a2b2c646a 100644 --- a/examples/private-endpoint/cdn-frontdoor/storage-account-blob/main.tf +++ b/examples/private-endpoint/cdn-frontdoor/storage-account-blob/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/cdn-frontdoor/storage-account-blob/variables.tf b/examples/private-endpoint/cdn-frontdoor/storage-account-blob/variables.tf index 015050edde06..46c671f58208 100644 --- a/examples/private-endpoint/cdn-frontdoor/storage-account-blob/variables.tf +++ b/examples/private-endpoint/cdn-frontdoor/storage-account-blob/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/private-endpoint/cdn-frontdoor/storage-account-static-site/main.tf b/examples/private-endpoint/cdn-frontdoor/storage-account-static-site/main.tf index 11b7dff31c27..23d84482f433 100644 --- a/examples/private-endpoint/cdn-frontdoor/storage-account-static-site/main.tf +++ b/examples/private-endpoint/cdn-frontdoor/storage-account-static-site/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/cdn-frontdoor/storage-account-static-site/variables.tf b/examples/private-endpoint/cdn-frontdoor/storage-account-static-site/variables.tf index 015050edde06..46c671f58208 100644 --- a/examples/private-endpoint/cdn-frontdoor/storage-account-static-site/variables.tf +++ b/examples/private-endpoint/cdn-frontdoor/storage-account-static-site/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/private-endpoint/cosmos-db/mongodb/main.tf b/examples/private-endpoint/cosmos-db/mongodb/main.tf index eb8867cccef8..7e15a86b0b49 100644 --- a/examples/private-endpoint/cosmos-db/mongodb/main.tf +++ b/examples/private-endpoint/cosmos-db/mongodb/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/cosmos-db/mongodb/variables.tf b/examples/private-endpoint/cosmos-db/mongodb/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/private-endpoint/cosmos-db/mongodb/variables.tf +++ b/examples/private-endpoint/cosmos-db/mongodb/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/private-endpoint/cosmos-db/postgresql/main.tf b/examples/private-endpoint/cosmos-db/postgresql/main.tf index f563101034d1..6a89a3602d40 100644 --- a/examples/private-endpoint/cosmos-db/postgresql/main.tf +++ b/examples/private-endpoint/cosmos-db/postgresql/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/cosmos-db/postgresql/variables.tf b/examples/private-endpoint/cosmos-db/postgresql/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/private-endpoint/cosmos-db/postgresql/variables.tf +++ b/examples/private-endpoint/cosmos-db/postgresql/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/private-endpoint/databricks/managed-services/main.tf b/examples/private-endpoint/databricks/managed-services/main.tf index 39fa3a1d1392..44f1ad2fdeb8 100644 --- a/examples/private-endpoint/databricks/managed-services/main.tf +++ b/examples/private-endpoint/databricks/managed-services/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/databricks/managed-services/variables.tf b/examples/private-endpoint/databricks/managed-services/variables.tf index 7a46c23c1485..1da9fc1a8e74 100644 --- a/examples/private-endpoint/databricks/managed-services/variables.tf +++ b/examples/private-endpoint/databricks/managed-services/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/private-endpoint/databricks/private-endpoint/main.tf b/examples/private-endpoint/databricks/private-endpoint/main.tf index b18a345fe78a..6c2b6448cc53 100644 --- a/examples/private-endpoint/databricks/private-endpoint/main.tf +++ b/examples/private-endpoint/databricks/private-endpoint/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/databricks/private-endpoint/variables.tf b/examples/private-endpoint/databricks/private-endpoint/variables.tf index 7a46c23c1485..1da9fc1a8e74 100644 --- a/examples/private-endpoint/databricks/private-endpoint/variables.tf +++ b/examples/private-endpoint/databricks/private-endpoint/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/private-endpoint/postgresql/main.tf b/examples/private-endpoint/postgresql/main.tf index 4433c851c7a9..d05d27dd56dc 100644 --- a/examples/private-endpoint/postgresql/main.tf +++ b/examples/private-endpoint/postgresql/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/postgresql/variables.tf b/examples/private-endpoint/postgresql/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/private-endpoint/postgresql/variables.tf +++ b/examples/private-endpoint/postgresql/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/private-endpoint/private-dns-group/main.tf b/examples/private-endpoint/private-dns-group/main.tf index 8f6c4e73cbb0..c4b59df7d0a3 100644 --- a/examples/private-endpoint/private-dns-group/main.tf +++ b/examples/private-endpoint/private-dns-group/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/private-dns-group/variables.tf b/examples/private-endpoint/private-dns-group/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/private-endpoint/private-dns-group/variables.tf +++ b/examples/private-endpoint/private-dns-group/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/private-endpoint/private-link-scope/main.tf b/examples/private-endpoint/private-link-scope/main.tf index 80de352310dd..fb3e99ba9d38 100644 --- a/examples/private-endpoint/private-link-scope/main.tf +++ b/examples/private-endpoint/private-link-scope/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/private-link-scope/variables.tf b/examples/private-endpoint/private-link-scope/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/private-endpoint/private-link-scope/variables.tf +++ b/examples/private-endpoint/private-link-scope/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/private-endpoint/private-link-service/cdn-frontdoor/load-balancer/main.tf b/examples/private-endpoint/private-link-service/cdn-frontdoor/load-balancer/main.tf index ee7db87aad71..6e09d6b887da 100644 --- a/examples/private-endpoint/private-link-service/cdn-frontdoor/load-balancer/main.tf +++ b/examples/private-endpoint/private-link-service/cdn-frontdoor/load-balancer/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/private-link-service/cdn-frontdoor/load-balancer/variables.tf b/examples/private-endpoint/private-link-service/cdn-frontdoor/load-balancer/variables.tf index 015050edde06..46c671f58208 100644 --- a/examples/private-endpoint/private-link-service/cdn-frontdoor/load-balancer/variables.tf +++ b/examples/private-endpoint/private-link-service/cdn-frontdoor/load-balancer/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/private-endpoint/private-link-service/main.tf b/examples/private-endpoint/private-link-service/main.tf index 2ec3023e1352..327cfb51d426 100644 --- a/examples/private-endpoint/private-link-service/main.tf +++ b/examples/private-endpoint/private-link-service/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/private-endpoint/private-link-service/variables.tf b/examples/private-endpoint/private-link-service/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/private-endpoint/private-link-service/variables.tf +++ b/examples/private-endpoint/private-link-service/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/recovery-services/advanced-policy/main.tf b/examples/recovery-services/advanced-policy/main.tf index c7a24a77ada5..cb751626ac3b 100644 --- a/examples/recovery-services/advanced-policy/main.tf +++ b/examples/recovery-services/advanced-policy/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/recovery-services/advanced-policy/variables.tf b/examples/recovery-services/advanced-policy/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/recovery-services/advanced-policy/variables.tf +++ b/examples/recovery-services/advanced-policy/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/recovery-services/basic/main.tf b/examples/recovery-services/basic/main.tf index f798b80417f2..8f7e346947fa 100644 --- a/examples/recovery-services/basic/main.tf +++ b/examples/recovery-services/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/recovery-services/basic/variables.tf b/examples/recovery-services/basic/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/recovery-services/basic/variables.tf +++ b/examples/recovery-services/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/recovery-services/site-recovery-zone-zone/main.tf b/examples/recovery-services/site-recovery-zone-zone/main.tf index 2f6acbb963d8..a0861767724c 100644 --- a/examples/recovery-services/site-recovery-zone-zone/main.tf +++ b/examples/recovery-services/site-recovery-zone-zone/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/recovery-services/site-recovery-zone-zone/variables.tf b/examples/recovery-services/site-recovery-zone-zone/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/recovery-services/site-recovery-zone-zone/variables.tf +++ b/examples/recovery-services/site-recovery-zone-zone/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/recovery-services/virtual-machine/main.tf b/examples/recovery-services/virtual-machine/main.tf index 1ebdde99b5ff..5699faa44189 100644 --- a/examples/recovery-services/virtual-machine/main.tf +++ b/examples/recovery-services/virtual-machine/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/recovery-services/virtual-machine/modules/virtual-machine/inputs.tf b/examples/recovery-services/virtual-machine/modules/virtual-machine/inputs.tf index 85f6b6458ddb..1c55fc246c61 100644 --- a/examples/recovery-services/virtual-machine/modules/virtual-machine/inputs.tf +++ b/examples/recovery-services/virtual-machine/modules/virtual-machine/inputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group_name" { description = "The name of the Resource Group in which this Virtual Machine should be created." } diff --git a/examples/recovery-services/virtual-machine/modules/virtual-machine/main.tf b/examples/recovery-services/virtual-machine/modules/virtual-machine/main.tf index 3c2d6c40dcad..922c48c46024 100644 --- a/examples/recovery-services/virtual-machine/modules/virtual-machine/main.tf +++ b/examples/recovery-services/virtual-machine/modules/virtual-machine/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + data "azurerm_resource_group" "example" { name = "${var.resource_group_name}" } diff --git a/examples/recovery-services/virtual-machine/modules/virtual-machine/outputs.tf b/examples/recovery-services/virtual-machine/modules/virtual-machine/outputs.tf index 9d1d0b5f57de..2c49d789cf75 100644 --- a/examples/recovery-services/virtual-machine/modules/virtual-machine/outputs.tf +++ b/examples/recovery-services/virtual-machine/modules/virtual-machine/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = "${azurerm_virtual_machine.example.id}" } diff --git a/examples/recovery-services/virtual-machine/modules/virtual-network/inputs.tf b/examples/recovery-services/virtual-machine/modules/virtual-network/inputs.tf index ef3eb21dead7..6fc5e2f9ff0c 100644 --- a/examples/recovery-services/virtual-machine/modules/virtual-network/inputs.tf +++ b/examples/recovery-services/virtual-machine/modules/virtual-network/inputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group_name" { description = "The name of the Resource Group in which this Virtual Machine should be created." } diff --git a/examples/recovery-services/virtual-machine/modules/virtual-network/main.tf b/examples/recovery-services/virtual-machine/modules/virtual-network/main.tf index 960afc445766..7b7b6abd8f5b 100644 --- a/examples/recovery-services/virtual-machine/modules/virtual-network/main.tf +++ b/examples/recovery-services/virtual-machine/modules/virtual-network/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + data "azurerm_resource_group" "example" { name = "${var.resource_group_name}" } diff --git a/examples/recovery-services/virtual-machine/modules/virtual-network/outputs.tf b/examples/recovery-services/virtual-machine/modules/virtual-network/outputs.tf index ef7f88ef786a..d55ccd80e945 100644 --- a/examples/recovery-services/virtual-machine/modules/virtual-network/outputs.tf +++ b/examples/recovery-services/virtual-machine/modules/virtual-network/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "subnet_id" { value = "${azurerm_subnet.example.id}" } diff --git a/examples/recovery-services/virtual-machine/variables.tf b/examples/recovery-services/virtual-machine/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/recovery-services/virtual-machine/variables.tf +++ b/examples/recovery-services/virtual-machine/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/redis-cache/basic/main.tf b/examples/redis-cache/basic/main.tf index 4465c5e64d28..f50fe40a1369 100644 --- a/examples/redis-cache/basic/main.tf +++ b/examples/redis-cache/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/redis-cache/basic/variables.tf b/examples/redis-cache/basic/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/redis-cache/basic/variables.tf +++ b/examples/redis-cache/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/redis-cache/premium-with-backup/main.tf b/examples/redis-cache/premium-with-backup/main.tf index 633356d46c16..03d99dc664c7 100644 --- a/examples/redis-cache/premium-with-backup/main.tf +++ b/examples/redis-cache/premium-with-backup/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/redis-cache/premium-with-backup/variables.tf b/examples/redis-cache/premium-with-backup/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/redis-cache/premium-with-backup/variables.tf +++ b/examples/redis-cache/premium-with-backup/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/redis-cache/premium-with-clustering/main.tf b/examples/redis-cache/premium-with-clustering/main.tf index c80fb8cb57e1..4ab761496fee 100644 --- a/examples/redis-cache/premium-with-clustering/main.tf +++ b/examples/redis-cache/premium-with-clustering/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/redis-cache/premium-with-clustering/variables.tf b/examples/redis-cache/premium-with-clustering/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/redis-cache/premium-with-clustering/variables.tf +++ b/examples/redis-cache/premium-with-clustering/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/redis-cache/standard/main.tf b/examples/redis-cache/standard/main.tf index f2edce40336c..42553fdb1d79 100644 --- a/examples/redis-cache/standard/main.tf +++ b/examples/redis-cache/standard/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/redis-cache/standard/variables.tf b/examples/redis-cache/standard/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/redis-cache/standard/variables.tf +++ b/examples/redis-cache/standard/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/search/main.tf b/examples/search/main.tf index f95ec9d5b1ad..33cced17ddbc 100644 --- a/examples/search/main.tf +++ b/examples/search/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/search/outputs.tf b/examples/search/outputs.tf index a68a9a2550f2..5c868ff6f1e1 100644 --- a/examples/search/outputs.tf +++ b/examples/search/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "azure_search_service" { value = azurerm_search_service.example.name } diff --git a/examples/search/variables.tf b/examples/search/variables.tf index f8b75a591141..839c05dff550 100644 --- a/examples/search/variables.tf +++ b/examples/search/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/security/securitycenter-pricing/main.tf b/examples/security/securitycenter-pricing/main.tf index 50cc3110fe77..d81752dc3c4f 100644 --- a/examples/security/securitycenter-pricing/main.tf +++ b/examples/security/securitycenter-pricing/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/security/securitycenter-setting/main.tf b/examples/security/securitycenter-setting/main.tf index b85af9c6d245..0f9e14e85e04 100644 --- a/examples/security/securitycenter-setting/main.tf +++ b/examples/security/securitycenter-setting/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/sentinel/watchlist-item-from-csv-file/main.tf b/examples/sentinel/watchlist-item-from-csv-file/main.tf index e74cbdd096b0..23e0529267fe 100644 --- a/examples/sentinel/watchlist-item-from-csv-file/main.tf +++ b/examples/sentinel/watchlist-item-from-csv-file/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/service-fabric/windows-vmss-self-signed-certs/0-base.tf b/examples/service-fabric/windows-vmss-self-signed-certs/0-base.tf index 44cee7b49364..f04b06e647c6 100644 --- a/examples/service-fabric/windows-vmss-self-signed-certs/0-base.tf +++ b/examples/service-fabric/windows-vmss-self-signed-certs/0-base.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/service-fabric/windows-vmss-self-signed-certs/1-keyvault.tf b/examples/service-fabric/windows-vmss-self-signed-certs/1-keyvault.tf index 2d956a1f3845..3deab5061032 100644 --- a/examples/service-fabric/windows-vmss-self-signed-certs/1-keyvault.tf +++ b/examples/service-fabric/windows-vmss-self-signed-certs/1-keyvault.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_key_vault" "example" { name = "${var.prefix}examplekv" location = azurerm_resource_group.example.location diff --git a/examples/service-fabric/windows-vmss-self-signed-certs/2-loadbalancer.tf b/examples/service-fabric/windows-vmss-self-signed-certs/2-loadbalancer.tf index 78e4736ffd01..2bae09764526 100644 --- a/examples/service-fabric/windows-vmss-self-signed-certs/2-loadbalancer.tf +++ b/examples/service-fabric/windows-vmss-self-signed-certs/2-loadbalancer.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_public_ip" "example" { name = "${var.prefix}PIPForLB" location = azurerm_resource_group.example.location diff --git a/examples/service-fabric/windows-vmss-self-signed-certs/3-servicefabric.tf b/examples/service-fabric/windows-vmss-self-signed-certs/3-servicefabric.tf index d82c3b5d203d..7b6230c9cf80 100644 --- a/examples/service-fabric/windows-vmss-self-signed-certs/3-servicefabric.tf +++ b/examples/service-fabric/windows-vmss-self-signed-certs/3-servicefabric.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_service_fabric_cluster" "example" { name = "${var.prefix}servicefabric" diff --git a/examples/service-fabric/windows-vmss-self-signed-certs/variables.tf b/examples/service-fabric/windows-vmss-self-signed-certs/variables.tf index 476064889843..7e3f168ad4f9 100644 --- a/examples/service-fabric/windows-vmss-self-signed-certs/variables.tf +++ b/examples/service-fabric/windows-vmss-self-signed-certs/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/servicebus/basic/main.tf b/examples/servicebus/basic/main.tf index b0b82a89275e..df431de58de8 100644 --- a/examples/servicebus/basic/main.tf +++ b/examples/servicebus/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/servicebus/basic/outputs.tf b/examples/servicebus/basic/outputs.tf index 03796a917cd4..08670f4d0610 100644 --- a/examples/servicebus/basic/outputs.tf +++ b/examples/servicebus/basic/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "namespace_connection_string" { value = azurerm_servicebus_namespace.example.default_primary_connection_string } diff --git a/examples/servicebus/basic/variables.tf b/examples/servicebus/basic/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/servicebus/basic/variables.tf +++ b/examples/servicebus/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/servicebus/forwarding/main.tf b/examples/servicebus/forwarding/main.tf index 615f68dc8a2d..faefd8502a4e 100644 --- a/examples/servicebus/forwarding/main.tf +++ b/examples/servicebus/forwarding/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/servicebus/forwarding/outputs.tf b/examples/servicebus/forwarding/outputs.tf index 03796a917cd4..08670f4d0610 100644 --- a/examples/servicebus/forwarding/outputs.tf +++ b/examples/servicebus/forwarding/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "namespace_connection_string" { value = azurerm_servicebus_namespace.example.default_primary_connection_string } diff --git a/examples/servicebus/forwarding/variables.tf b/examples/servicebus/forwarding/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/servicebus/forwarding/variables.tf +++ b/examples/servicebus/forwarding/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/sql-azure/database/main.tf b/examples/sql-azure/database/main.tf index fe06679c1162..575e43d523b6 100644 --- a/examples/sql-azure/database/main.tf +++ b/examples/sql-azure/database/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/sql-azure/database/outputs.tf b/examples/sql-azure/database/outputs.tf index 45cb312e97c8..bc05fdfaff29 100644 --- a/examples/sql-azure/database/outputs.tf +++ b/examples/sql-azure/database/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "sql_server_fqdn" { value = azurerm_sql_server.example.fully_qualified_domain_name } diff --git a/examples/sql-azure/database/variables.tf b/examples/sql-azure/database/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/sql-azure/database/variables.tf +++ b/examples/sql-azure/database/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/sql-azure/failover_group/main.tf b/examples/sql-azure/failover_group/main.tf index 87c542524e02..fa7067f707ca 100644 --- a/examples/sql-azure/failover_group/main.tf +++ b/examples/sql-azure/failover_group/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/sql-azure/failover_group/variables.tf b/examples/sql-azure/failover_group/variables.tf index 01191bf77c0a..3e2beb12eed8 100644 --- a/examples/sql-azure/failover_group/variables.tf +++ b/examples/sql-azure/failover_group/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where the primary resources in this example should be created." } diff --git a/examples/sql-azure/managed_instance_failover_group/main.tf b/examples/sql-azure/managed_instance_failover_group/main.tf index bf90899b58a6..b9794a0dd63b 100644 --- a/examples/sql-azure/managed_instance_failover_group/main.tf +++ b/examples/sql-azure/managed_instance_failover_group/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/main.tf b/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/main.tf index 03515d182ef2..3884efde5eb3 100644 --- a/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/main.tf +++ b/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_network_security_group" "nsg" { name = "${var.prefix}-mi-security-group" location = var.location diff --git a/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/output.tf b/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/output.tf index 8d616f116ba2..ff8e630aff7a 100644 --- a/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/output.tf +++ b/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "managed_instance_id" { value = azurerm_sql_managed_instance.mi.id } diff --git a/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/variables.tf b/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/variables.tf index bf70a694ead7..8d9494beecd9 100644 --- a/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/variables.tf +++ b/examples/sql-azure/managed_instance_failover_group/modules/sql_managed_instance/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which is used for most resources in this module" } diff --git a/examples/sql-azure/managed_instance_failover_group/modules/vnet_gateway/main.tf b/examples/sql-azure/managed_instance_failover_group/modules/vnet_gateway/main.tf index 4cfab47b64ad..a6080162eb01 100644 --- a/examples/sql-azure/managed_instance_failover_group/modules/vnet_gateway/main.tf +++ b/examples/sql-azure/managed_instance_failover_group/modules/vnet_gateway/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_subnet" "gateway_snet_1" { name = "GatewaySubnet" resource_group_name = var.resource_group_name_1 diff --git a/examples/sql-azure/managed_instance_failover_group/modules/vnet_gateway/variables.tf b/examples/sql-azure/managed_instance_failover_group/modules/vnet_gateway/variables.tf index da5bfc421359..e698b67091ca 100644 --- a/examples/sql-azure/managed_instance_failover_group/modules/vnet_gateway/variables.tf +++ b/examples/sql-azure/managed_instance_failover_group/modules/vnet_gateway/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/sql-azure/sql_auditing_eventhub/main.tf b/examples/sql-azure/sql_auditing_eventhub/main.tf index a13dd86d1bac..570629530737 100644 --- a/examples/sql-azure/sql_auditing_eventhub/main.tf +++ b/examples/sql-azure/sql_auditing_eventhub/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/sql-azure/sql_auditing_eventhub/variables.tf b/examples/sql-azure/sql_auditing_eventhub/variables.tf index ffe5467413f6..4b04df9d18cd 100644 --- a/examples/sql-azure/sql_auditing_eventhub/variables.tf +++ b/examples/sql-azure/sql_auditing_eventhub/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where the primary resources in this example should be created." } diff --git a/examples/sql-azure/sql_auditing_log_analytics/main.tf b/examples/sql-azure/sql_auditing_log_analytics/main.tf index 9bb2525e2ff0..91e272039e46 100644 --- a/examples/sql-azure/sql_auditing_log_analytics/main.tf +++ b/examples/sql-azure/sql_auditing_log_analytics/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/sql-azure/sql_auditing_log_analytics/variables.tf b/examples/sql-azure/sql_auditing_log_analytics/variables.tf index ffe5467413f6..4b04df9d18cd 100644 --- a/examples/sql-azure/sql_auditing_log_analytics/variables.tf +++ b/examples/sql-azure/sql_auditing_log_analytics/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where the primary resources in this example should be created." } diff --git a/examples/storage/storage-account/main.tf b/examples/storage/storage-account/main.tf index 71aaf63e5f19..b1af821ad760 100644 --- a/examples/storage/storage-account/main.tf +++ b/examples/storage/storage-account/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/storage/storage-account/variables.tf b/examples/storage/storage-account/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/storage/storage-account/variables.tf +++ b/examples/storage/storage-account/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/storage/storage-container/main.tf b/examples/storage/storage-container/main.tf index 9b6a6f8dee91..16ff4ff6cbf4 100644 --- a/examples/storage/storage-container/main.tf +++ b/examples/storage/storage-container/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/storage/storage-container/variables.tf b/examples/storage/storage-container/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/storage/storage-container/variables.tf +++ b/examples/storage/storage-container/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/storage/storage-share/main.tf b/examples/storage/storage-share/main.tf index ff0bbac1c86d..d3e52b01d16b 100644 --- a/examples/storage/storage-share/main.tf +++ b/examples/storage/storage-share/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/storage/storage-share/variables.tf b/examples/storage/storage-share/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/storage/storage-share/variables.tf +++ b/examples/storage/storage-share/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/storage/storage_adls_acls/main.tf b/examples/storage/storage_adls_acls/main.tf index 031d74e33e9a..b77218342409 100644 --- a/examples/storage/storage_adls_acls/main.tf +++ b/examples/storage/storage_adls_acls/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/storage/storage_adls_acls/variables.tf b/examples/storage/storage_adls_acls/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/storage/storage_adls_acls/variables.tf +++ b/examples/storage/storage_adls_acls/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/stream-analytics/basic-usage/main.tf b/examples/stream-analytics/basic-usage/main.tf index 9d95b8fab62e..c36d35bab7b7 100644 --- a/examples/stream-analytics/basic-usage/main.tf +++ b/examples/stream-analytics/basic-usage/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/stream-analytics/basic-usage/variables.tf b/examples/stream-analytics/basic-usage/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/stream-analytics/basic-usage/variables.tf +++ b/examples/stream-analytics/basic-usage/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/stream-analytics/msi-auth/main.tf b/examples/stream-analytics/msi-auth/main.tf index 67551dfa5052..d14e65f77058 100644 --- a/examples/stream-analytics/msi-auth/main.tf +++ b/examples/stream-analytics/msi-auth/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/stream-analytics/msi-auth/variables.tf b/examples/stream-analytics/msi-auth/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/stream-analytics/msi-auth/variables.tf +++ b/examples/stream-analytics/msi-auth/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/tfc-checks/app-service-app-usage/main.tf b/examples/tfc-checks/app-service-app-usage/main.tf index 79e74e7faed6..19dc560d0c47 100644 --- a/examples/tfc-checks/app-service-app-usage/main.tf +++ b/examples/tfc-checks/app-service-app-usage/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/tfc-checks/app-service-app-usage/variables.tf b/examples/tfc-checks/app-service-app-usage/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/tfc-checks/app-service-app-usage/variables.tf +++ b/examples/tfc-checks/app-service-app-usage/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/tfc-checks/app-service-certificate-expiry/main.tf b/examples/tfc-checks/app-service-certificate-expiry/main.tf index 881cb73bfb82..ce2108bd8358 100644 --- a/examples/tfc-checks/app-service-certificate-expiry/main.tf +++ b/examples/tfc-checks/app-service-certificate-expiry/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/tfc-checks/app-service-certificate-expiry/variables.tf b/examples/tfc-checks/app-service-certificate-expiry/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/tfc-checks/app-service-certificate-expiry/variables.tf +++ b/examples/tfc-checks/app-service-certificate-expiry/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/tfc-checks/vm-power-state/main.tf b/examples/tfc-checks/vm-power-state/main.tf index f893c102d95a..cb3fd8bc68cc 100644 --- a/examples/tfc-checks/vm-power-state/main.tf +++ b/examples/tfc-checks/vm-power-state/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/tfc-checks/vm-power-state/variables.tf b/examples/tfc-checks/vm-power-state/variables.tf index 4d884bf26ef3..edf9d824a3ca 100644 --- a/examples/tfc-checks/vm-power-state/variables.tf +++ b/examples/tfc-checks/vm-power-state/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { type = string description = "The prefix used for all resources in this example" diff --git a/examples/traffic-manager/basic/main.tf b/examples/traffic-manager/basic/main.tf index bca10e1ab9d5..47bbf9971a27 100644 --- a/examples/traffic-manager/basic/main.tf +++ b/examples/traffic-manager/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/traffic-manager/basic/variables.tf b/examples/traffic-manager/basic/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/traffic-manager/basic/variables.tf +++ b/examples/traffic-manager/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/traffic-manager/virtual-machine/main.tf b/examples/traffic-manager/virtual-machine/main.tf index f2fc2c039779..79e517965c06 100644 --- a/examples/traffic-manager/virtual-machine/main.tf +++ b/examples/traffic-manager/virtual-machine/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/traffic-manager/virtual-machine/modules/virtual-machine/inputs.tf b/examples/traffic-manager/virtual-machine/modules/virtual-machine/inputs.tf index 85f6b6458ddb..1c55fc246c61 100644 --- a/examples/traffic-manager/virtual-machine/modules/virtual-machine/inputs.tf +++ b/examples/traffic-manager/virtual-machine/modules/virtual-machine/inputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group_name" { description = "The name of the Resource Group in which this Virtual Machine should be created." } diff --git a/examples/traffic-manager/virtual-machine/modules/virtual-machine/main.tf b/examples/traffic-manager/virtual-machine/modules/virtual-machine/main.tf index c8ecb05e7882..11f8be875c3d 100644 --- a/examples/traffic-manager/virtual-machine/modules/virtual-machine/main.tf +++ b/examples/traffic-manager/virtual-machine/modules/virtual-machine/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + data "azurerm_resource_group" "example" { name = "${var.resource_group_name}" } diff --git a/examples/traffic-manager/virtual-machine/modules/virtual-machine/outputs.tf b/examples/traffic-manager/virtual-machine/modules/virtual-machine/outputs.tf index e98f6a25ac73..e76646262193 100644 --- a/examples/traffic-manager/virtual-machine/modules/virtual-machine/outputs.tf +++ b/examples/traffic-manager/virtual-machine/modules/virtual-machine/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "id" { value = "${azurerm_virtual_machine.example.id}" } diff --git a/examples/traffic-manager/virtual-machine/modules/virtual-network/inputs.tf b/examples/traffic-manager/virtual-machine/modules/virtual-network/inputs.tf index ef3eb21dead7..6fc5e2f9ff0c 100644 --- a/examples/traffic-manager/virtual-machine/modules/virtual-network/inputs.tf +++ b/examples/traffic-manager/virtual-machine/modules/virtual-network/inputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group_name" { description = "The name of the Resource Group in which this Virtual Machine should be created." } diff --git a/examples/traffic-manager/virtual-machine/modules/virtual-network/main.tf b/examples/traffic-manager/virtual-machine/modules/virtual-network/main.tf index 960afc445766..7b7b6abd8f5b 100644 --- a/examples/traffic-manager/virtual-machine/modules/virtual-network/main.tf +++ b/examples/traffic-manager/virtual-machine/modules/virtual-network/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + data "azurerm_resource_group" "example" { name = "${var.resource_group_name}" } diff --git a/examples/traffic-manager/virtual-machine/modules/virtual-network/outputs.tf b/examples/traffic-manager/virtual-machine/modules/virtual-network/outputs.tf index ef7f88ef786a..d55ccd80e945 100644 --- a/examples/traffic-manager/virtual-machine/modules/virtual-network/outputs.tf +++ b/examples/traffic-manager/virtual-machine/modules/virtual-network/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "subnet_id" { value = "${azurerm_subnet.example.id}" } diff --git a/examples/traffic-manager/virtual-machine/outputs.tf b/examples/traffic-manager/virtual-machine/outputs.tf index cdf401827d7c..5ea1a5a40eec 100644 --- a/examples/traffic-manager/virtual-machine/outputs.tf +++ b/examples/traffic-manager/virtual-machine/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "fqdn" { value = azurerm_traffic_manager_profile.example.fqdn } diff --git a/examples/traffic-manager/virtual-machine/variables.tf b/examples/traffic-manager/virtual-machine/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/traffic-manager/virtual-machine/variables.tf +++ b/examples/traffic-manager/virtual-machine/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/traffic-manager/vm-scale-set/main.tf b/examples/traffic-manager/vm-scale-set/main.tf index c1340e84ce73..f678191f4610 100644 --- a/examples/traffic-manager/vm-scale-set/main.tf +++ b/examples/traffic-manager/vm-scale-set/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/traffic-manager/vm-scale-set/modules/region/1-network.tf b/examples/traffic-manager/vm-scale-set/modules/region/1-network.tf index f31cafd411c6..79c1e9de2ead 100644 --- a/examples/traffic-manager/vm-scale-set/modules/region/1-network.tf +++ b/examples/traffic-manager/vm-scale-set/modules/region/1-network.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_resource_group" "example" { name = "${var.prefix}-resources" location = "${var.location}" diff --git a/examples/traffic-manager/vm-scale-set/modules/region/2-load-balancer.tf b/examples/traffic-manager/vm-scale-set/modules/region/2-load-balancer.tf index 28e54080cbc4..7f548c9042ac 100644 --- a/examples/traffic-manager/vm-scale-set/modules/region/2-load-balancer.tf +++ b/examples/traffic-manager/vm-scale-set/modules/region/2-load-balancer.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_public_ip" "example" { name = "${var.prefix}-publicip" location = azurerm_resource_group.example.location diff --git a/examples/traffic-manager/vm-scale-set/modules/region/3-vm-scale-set.tf b/examples/traffic-manager/vm-scale-set/modules/region/3-vm-scale-set.tf index 0fb4027615ea..bd0be981de61 100644 --- a/examples/traffic-manager/vm-scale-set/modules/region/3-vm-scale-set.tf +++ b/examples/traffic-manager/vm-scale-set/modules/region/3-vm-scale-set.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_virtual_machine_scale_set" "example" { name = "${var.prefix}-vmss" location = "${azurerm_resource_group.example.location}" diff --git a/examples/traffic-manager/vm-scale-set/modules/region/inputs.tf b/examples/traffic-manager/vm-scale-set/modules/region/inputs.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/traffic-manager/vm-scale-set/modules/region/inputs.tf +++ b/examples/traffic-manager/vm-scale-set/modules/region/inputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/traffic-manager/vm-scale-set/modules/region/outputs.tf b/examples/traffic-manager/vm-scale-set/modules/region/outputs.tf index 86606293f558..08e68eaa2f9e 100644 --- a/examples/traffic-manager/vm-scale-set/modules/region/outputs.tf +++ b/examples/traffic-manager/vm-scale-set/modules/region/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "public_ip_address_id" { value = "TODO" } diff --git a/examples/traffic-manager/vm-scale-set/variables.tf b/examples/traffic-manager/vm-scale-set/variables.tf index efe505606157..042006ad79c4 100644 --- a/examples/traffic-manager/vm-scale-set/variables.tf +++ b/examples/traffic-manager/vm-scale-set/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/linux/azure-disk-encryption/main.tf b/examples/virtual-machines/linux/azure-disk-encryption/main.tf index 1653483f1e91..1f544ee5c63e 100644 --- a/examples/virtual-machines/linux/azure-disk-encryption/main.tf +++ b/examples/virtual-machines/linux/azure-disk-encryption/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features { key_vault { diff --git a/examples/virtual-machines/linux/azure-disk-encryption/variables.tf b/examples/virtual-machines/linux/azure-disk-encryption/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/linux/azure-disk-encryption/variables.tf +++ b/examples/virtual-machines/linux/azure-disk-encryption/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/linux/basic-password/main.tf b/examples/virtual-machines/linux/basic-password/main.tf index 8d41edec7e8c..b4b3211bf07b 100644 --- a/examples/virtual-machines/linux/basic-password/main.tf +++ b/examples/virtual-machines/linux/basic-password/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/linux/basic-password/variables.tf b/examples/virtual-machines/linux/basic-password/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/linux/basic-password/variables.tf +++ b/examples/virtual-machines/linux/basic-password/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/linux/basic-ssh/main.tf b/examples/virtual-machines/linux/basic-ssh/main.tf index 5a17505f212e..d9234c179e05 100644 --- a/examples/virtual-machines/linux/basic-ssh/main.tf +++ b/examples/virtual-machines/linux/basic-ssh/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/linux/basic-ssh/variables.tf b/examples/virtual-machines/linux/basic-ssh/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/linux/basic-ssh/variables.tf +++ b/examples/virtual-machines/linux/basic-ssh/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/linux/custom-data/main.tf b/examples/virtual-machines/linux/custom-data/main.tf index 106aea1c3324..b4d6ee762ea4 100644 --- a/examples/virtual-machines/linux/custom-data/main.tf +++ b/examples/virtual-machines/linux/custom-data/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/linux/custom-data/variables.tf b/examples/virtual-machines/linux/custom-data/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/linux/custom-data/variables.tf +++ b/examples/virtual-machines/linux/custom-data/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/linux/ephemeral-os-disk/main.tf b/examples/virtual-machines/linux/ephemeral-os-disk/main.tf index d2d8aa28ea88..9134d054f833 100644 --- a/examples/virtual-machines/linux/ephemeral-os-disk/main.tf +++ b/examples/virtual-machines/linux/ephemeral-os-disk/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/linux/ephemeral-os-disk/variables.tf b/examples/virtual-machines/linux/ephemeral-os-disk/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/linux/ephemeral-os-disk/variables.tf +++ b/examples/virtual-machines/linux/ephemeral-os-disk/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/linux/load-balanced/main.tf b/examples/virtual-machines/linux/load-balanced/main.tf index 6b678c5e71cf..3f2a255f3ea4 100644 --- a/examples/virtual-machines/linux/load-balanced/main.tf +++ b/examples/virtual-machines/linux/load-balanced/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/linux/load-balanced/variables.tf b/examples/virtual-machines/linux/load-balanced/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/linux/load-balanced/variables.tf +++ b/examples/virtual-machines/linux/load-balanced/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/linux/managed-disk-attachments/main.tf b/examples/virtual-machines/linux/managed-disk-attachments/main.tf index 59219d59181c..b044ba4910f6 100644 --- a/examples/virtual-machines/linux/managed-disk-attachments/main.tf +++ b/examples/virtual-machines/linux/managed-disk-attachments/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/linux/managed-disk-attachments/variables.tf b/examples/virtual-machines/linux/managed-disk-attachments/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/linux/managed-disk-attachments/variables.tf +++ b/examples/virtual-machines/linux/managed-disk-attachments/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/linux/provisioner/main.tf b/examples/virtual-machines/linux/provisioner/main.tf index 02a91633a498..390d56cfcc60 100644 --- a/examples/virtual-machines/linux/provisioner/main.tf +++ b/examples/virtual-machines/linux/provisioner/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/linux/provisioner/variables.tf b/examples/virtual-machines/linux/provisioner/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/linux/provisioner/variables.tf +++ b/examples/virtual-machines/linux/provisioner/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/linux/public-ip/main.tf b/examples/virtual-machines/linux/public-ip/main.tf index a562fa120aed..bf3b53a2e056 100644 --- a/examples/virtual-machines/linux/public-ip/main.tf +++ b/examples/virtual-machines/linux/public-ip/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/linux/public-ip/variables.tf b/examples/virtual-machines/linux/public-ip/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/linux/public-ip/variables.tf +++ b/examples/virtual-machines/linux/public-ip/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/deploy.ci.sh b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/deploy.ci.sh index 64a0063720c9..49862b468425 100755 --- a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/deploy.ci.sh +++ b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/deploy.ci.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -o errexit -o nounset diff --git a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/deploy.mac.sh b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/deploy.mac.sh index cf5cdc32279f..0cb611d65240 100755 --- a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/deploy.mac.sh +++ b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/deploy.mac.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -o errexit -o nounset diff --git a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/main.tf b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/main.tf index 03e2d072d9ee..ebb5338e7200 100644 --- a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/main.tf +++ b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/outputs.tf b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/outputs.tf index 1b9cf9f72725..a71eb9585cf7 100644 --- a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/outputs.tf +++ b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "hostname" { value = "${var.hostname}" } diff --git a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/variables.tf b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/variables.tf index c294945f916d..54912ce34938 100644 --- a/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/variables.tf +++ b/examples/virtual-machines/virtual_machine/2-vms-loadbalancer-lbrules/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group" { description = "The name of the resource group in which to create the virtual network." } diff --git a/examples/virtual-machines/virtual_machine/bastion-box/1-dependencies.tf b/examples/virtual-machines/virtual_machine/bastion-box/1-dependencies.tf index b9553ef29b95..721e26ee4030 100644 --- a/examples/virtual-machines/virtual_machine/bastion-box/1-dependencies.tf +++ b/examples/virtual-machines/virtual_machine/bastion-box/1-dependencies.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_resource_group" "example" { name = "${var.prefix}-resources" location = "${var.location}" diff --git a/examples/virtual-machines/virtual_machine/bastion-box/2-generate-ssh.tf b/examples/virtual-machines/virtual_machine/bastion-box/2-generate-ssh.tf index 73e34648fbe9..7d771e25fd5b 100644 --- a/examples/virtual-machines/virtual_machine/bastion-box/2-generate-ssh.tf +++ b/examples/virtual-machines/virtual_machine/bastion-box/2-generate-ssh.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "tls_private_key" "example" { algorithm = "RSA" rsa_bits = "2048" diff --git a/examples/virtual-machines/virtual_machine/bastion-box/main.tf b/examples/virtual-machines/virtual_machine/bastion-box/main.tf index 289b8d3eb428..63b250532650 100644 --- a/examples/virtual-machines/virtual_machine/bastion-box/main.tf +++ b/examples/virtual-machines/virtual_machine/bastion-box/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/bastion-box/outputs.tf b/examples/virtual-machines/virtual_machine/bastion-box/outputs.tf index 0b05379ca1e9..a3d4873d53d2 100644 --- a/examples/virtual-machines/virtual_machine/bastion-box/outputs.tf +++ b/examples/virtual-machines/virtual_machine/bastion-box/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "vm_fqdn" { value = "${azurerm_public_ip.example.fqdn}" } diff --git a/examples/virtual-machines/virtual_machine/bastion-box/variables.tf b/examples/virtual-machines/virtual_machine/bastion-box/variables.tf index f08160a8f50a..931759b88ec6 100644 --- a/examples/virtual-machines/virtual_machine/bastion-box/variables.tf +++ b/examples/virtual-machines/virtual_machine/bastion-box/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/deploy.ci.sh b/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/deploy.ci.sh index 275a7a8a202b..2c7796cc2064 100755 --- a/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/deploy.ci.sh +++ b/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/deploy.ci.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -o errexit -o nounset diff --git a/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/deploy.mac.sh b/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/deploy.mac.sh index cc462bb57ff1..3f8f3af74533 100755 --- a/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/deploy.mac.sh +++ b/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/deploy.mac.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -o errexit -o nounset diff --git a/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/main.tf b/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/main.tf index ecad80724bfc..078eff2719ad 100644 --- a/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/main.tf +++ b/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/outputs.tf b/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/outputs.tf index 6d85196145f5..bc4df0e1c378 100644 --- a/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/outputs.tf +++ b/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "hostname" { value = "${var.hostname}" } diff --git a/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/variables.tf b/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/variables.tf index 769da452c34d..cac8b1f0ee19 100644 --- a/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/variables.tf +++ b/examples/virtual-machines/virtual_machine/encrypt-running-linux-vm/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group" { description = "Resource group name into which your new virtual machine will go." } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/1-dependencies.tf b/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/1-dependencies.tf index c66dfbb7f1ce..8a863e41a6c6 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/1-dependencies.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/1-dependencies.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/main.tf b/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/main.tf index ef047cbd516b..9fa34a8b3cd3 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/main.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { number_of_disks = 2 } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/variables.tf b/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/variables.tf index f08160a8f50a..931759b88ec6 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/variables.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/attaching-external-disks/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/basic/1-dependencies.tf b/examples/virtual-machines/virtual_machine/managed-disks/basic/1-dependencies.tf index 21be79a2aade..eea5cb9389bf 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/basic/1-dependencies.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/basic/1-dependencies.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_resource_group" "example" { name = "${var.prefix}-resources" location = "${var.location}" diff --git a/examples/virtual-machines/virtual_machine/managed-disks/basic/main.tf b/examples/virtual-machines/virtual_machine/managed-disks/basic/main.tf index 298f30dea4bf..2f95d87e0184 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/basic/main.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/basic/variables.tf b/examples/virtual-machines/virtual_machine/managed-disks/basic/variables.tf index f08160a8f50a..931759b88ec6 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/basic/variables.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/1-dependencies.tf b/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/1-dependencies.tf index 21be79a2aade..eea5cb9389bf 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/1-dependencies.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/1-dependencies.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_resource_group" "example" { name = "${var.prefix}-resources" location = "${var.location}" diff --git a/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/main.tf b/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/main.tf index 0111ce697787..97a41888d440 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/main.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/variables.tf b/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/variables.tf index 092c6abb942c..51573f814834 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/variables.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/from-custom-image/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/1-dependencies.tf b/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/1-dependencies.tf index 6877c57f2f20..bec7e0a0d181 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/1-dependencies.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/1-dependencies.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_resource_group" "example" { name = "${var.prefix}-resources" location = "${var.location}" diff --git a/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/main.tf b/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/main.tf index 49f4d70958c3..c8468c9b1d9f 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/main.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/variables.tf b/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/variables.tf index f08160a8f50a..931759b88ec6 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/variables.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/from-marketplace-image/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/public-ip/1-dependencies.tf b/examples/virtual-machines/virtual_machine/managed-disks/public-ip/1-dependencies.tf index 50f435c4cb73..92faeced70d4 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/public-ip/1-dependencies.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/public-ip/1-dependencies.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_resource_group" "example" { name = "${var.prefix}-resources" location = "${var.location}" diff --git a/examples/virtual-machines/virtual_machine/managed-disks/public-ip/main.tf b/examples/virtual-machines/virtual_machine/managed-disks/public-ip/main.tf index b83f3f3b3551..37866b233230 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/public-ip/main.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/public-ip/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/public-ip/outputs.tf b/examples/virtual-machines/virtual_machine/managed-disks/public-ip/outputs.tf index 2e607503e89a..3d32a51c561d 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/public-ip/outputs.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/public-ip/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "public_ip_address" { value = "${azurerm_public_ip.example.ip_address}" } diff --git a/examples/virtual-machines/virtual_machine/managed-disks/public-ip/variables.tf b/examples/virtual-machines/virtual_machine/managed-disks/public-ip/variables.tf index f08160a8f50a..931759b88ec6 100644 --- a/examples/virtual-machines/virtual_machine/managed-disks/public-ip/variables.tf +++ b/examples/virtual-machines/virtual_machine/managed-disks/public-ip/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/virtual-machines/virtual_machine/multiple-network-interfaces/main.tf b/examples/virtual-machines/virtual_machine/multiple-network-interfaces/main.tf index 44d6656b3265..bab4f0e7e984 100644 --- a/examples/virtual-machines/virtual_machine/multiple-network-interfaces/main.tf +++ b/examples/virtual-machines/virtual_machine/multiple-network-interfaces/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/multiple-network-interfaces/variables.tf b/examples/virtual-machines/virtual_machine/multiple-network-interfaces/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/virtual_machine/multiple-network-interfaces/variables.tf +++ b/examples/virtual-machines/virtual_machine/multiple-network-interfaces/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/virtual_machine/openshift-origin/deploy.ci.sh b/examples/virtual-machines/virtual_machine/openshift-origin/deploy.ci.sh index bb52bd3811db..0cd44c3c283b 100755 --- a/examples/virtual-machines/virtual_machine/openshift-origin/deploy.ci.sh +++ b/examples/virtual-machines/virtual_machine/openshift-origin/deploy.ci.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -o errexit -o nounset diff --git a/examples/virtual-machines/virtual_machine/openshift-origin/deploy.mac.sh b/examples/virtual-machines/virtual_machine/openshift-origin/deploy.mac.sh index 06fe94ec486f..b57e353df44a 100755 --- a/examples/virtual-machines/virtual_machine/openshift-origin/deploy.mac.sh +++ b/examples/virtual-machines/virtual_machine/openshift-origin/deploy.mac.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -o errexit -o nounset diff --git a/examples/virtual-machines/virtual_machine/openshift-origin/main.tf b/examples/virtual-machines/virtual_machine/openshift-origin/main.tf index 4b39a5a83eb3..4e74c81b8cd0 100644 --- a/examples/virtual-machines/virtual_machine/openshift-origin/main.tf +++ b/examples/virtual-machines/virtual_machine/openshift-origin/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} diff --git a/examples/virtual-machines/virtual_machine/openshift-origin/outputs.tf b/examples/virtual-machines/virtual_machine/openshift-origin/outputs.tf index dff172995dbd..d691371370af 100644 --- a/examples/virtual-machines/virtual_machine/openshift-origin/outputs.tf +++ b/examples/virtual-machines/virtual_machine/openshift-origin/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "openshift_console_url" { value = "https://${azurerm_public_ip.openshift_primary_pip.fqdn}:8443/console" } diff --git a/examples/virtual-machines/virtual_machine/openshift-origin/variables.tf b/examples/virtual-machines/virtual_machine/openshift-origin/variables.tf index e6b2666ff787..8116677cdf15 100644 --- a/examples/virtual-machines/virtual_machine/openshift-origin/variables.tf +++ b/examples/virtual-machines/virtual_machine/openshift-origin/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group_name" { description = "Name of the azure resource group in which you will deploy this template." } diff --git a/examples/virtual-machines/virtual_machine/provisioners/linux/1-dependencies.tf b/examples/virtual-machines/virtual_machine/provisioners/linux/1-dependencies.tf index aa03f7d87487..07e13a010c89 100644 --- a/examples/virtual-machines/virtual_machine/provisioners/linux/1-dependencies.tf +++ b/examples/virtual-machines/virtual_machine/provisioners/linux/1-dependencies.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { virtual_machine_name = "${var.prefix}-vm" admin_username = "testadmin" diff --git a/examples/virtual-machines/virtual_machine/provisioners/linux/main.tf b/examples/virtual-machines/virtual_machine/provisioners/linux/main.tf index 7c8805836ea8..a91b3d7a3420 100644 --- a/examples/virtual-machines/virtual_machine/provisioners/linux/main.tf +++ b/examples/virtual-machines/virtual_machine/provisioners/linux/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/provisioners/linux/variables.tf b/examples/virtual-machines/virtual_machine/provisioners/linux/variables.tf index f08160a8f50a..931759b88ec6 100644 --- a/examples/virtual-machines/virtual_machine/provisioners/linux/variables.tf +++ b/examples/virtual-machines/virtual_machine/provisioners/linux/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/virtual-machines/virtual_machine/provisioners/windows/1-dependencies.tf b/examples/virtual-machines/virtual_machine/provisioners/windows/1-dependencies.tf index aa03f7d87487..07e13a010c89 100644 --- a/examples/virtual-machines/virtual_machine/provisioners/windows/1-dependencies.tf +++ b/examples/virtual-machines/virtual_machine/provisioners/windows/1-dependencies.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { virtual_machine_name = "${var.prefix}-vm" admin_username = "testadmin" diff --git a/examples/virtual-machines/virtual_machine/provisioners/windows/2-certificates.tf b/examples/virtual-machines/virtual_machine/provisioners/windows/2-certificates.tf index 5685342c7cec..ef84cc0e12b9 100644 --- a/examples/virtual-machines/virtual_machine/provisioners/windows/2-certificates.tf +++ b/examples/virtual-machines/virtual_machine/provisioners/windows/2-certificates.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + data "azurerm_client_config" "current" {} resource "azurerm_key_vault" "example" { diff --git a/examples/virtual-machines/virtual_machine/provisioners/windows/files/FirstLogonCommands.xml b/examples/virtual-machines/virtual_machine/provisioners/windows/files/FirstLogonCommands.xml index fead3000350c..306bd83c819b 100644 --- a/examples/virtual-machines/virtual_machine/provisioners/windows/files/FirstLogonCommands.xml +++ b/examples/virtual-machines/virtual_machine/provisioners/windows/files/FirstLogonCommands.xml @@ -1,3 +1,8 @@ + + cmd /c "mkdir C:\terraform" diff --git a/examples/virtual-machines/virtual_machine/provisioners/windows/files/winrm.ps1 b/examples/virtual-machines/virtual_machine/provisioners/windows/files/winrm.ps1 index 6ff8a60db4e6..ed86539b367b 100644 --- a/examples/virtual-machines/virtual_machine/provisioners/windows/files/winrm.ps1 +++ b/examples/virtual-machines/virtual_machine/provisioners/windows/files/winrm.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + $profiles = Get-NetConnectionProfile Foreach ($i in $profiles) { Write-Host ("Updating Interface ID {0} to be Private.." -f $profiles.InterfaceIndex) diff --git a/examples/virtual-machines/virtual_machine/provisioners/windows/main.tf b/examples/virtual-machines/virtual_machine/provisioners/windows/main.tf index 36c26e9dadbd..a16a7529fd40 100644 --- a/examples/virtual-machines/virtual_machine/provisioners/windows/main.tf +++ b/examples/virtual-machines/virtual_machine/provisioners/windows/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/provisioners/windows/variables.tf b/examples/virtual-machines/virtual_machine/provisioners/windows/variables.tf index f08160a8f50a..931759b88ec6 100644 --- a/examples/virtual-machines/virtual_machine/provisioners/windows/variables.tf +++ b/examples/virtual-machines/virtual_machine/provisioners/windows/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/deploy.ci.sh b/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/deploy.ci.sh index 3552cefc87f4..d85c76059497 100755 --- a/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/deploy.ci.sh +++ b/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/deploy.ci.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -o errexit -o nounset diff --git a/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/deploy.mac.sh b/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/deploy.mac.sh index cf5cdc32279f..0cb611d65240 100755 --- a/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/deploy.mac.sh +++ b/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/deploy.mac.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -o errexit -o nounset diff --git a/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/main.tf b/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/main.tf index 1accf6d3fd06..202324bc8145 100644 --- a/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/main.tf +++ b/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/outputs.tf b/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/outputs.tf index c32445cda4a1..fb400c93818f 100644 --- a/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/outputs.tf +++ b/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "resource_group" { value = "${var.resource_group}" } diff --git a/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/variables.tf b/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/variables.tf index 2674986a073d..c8242988c190 100644 --- a/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/variables.tf +++ b/examples/virtual-machines/virtual_machine/spark-and-cassandra-on-centos/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group" { description = "Resource group name into which your Spark and Cassandra deployment will go." } diff --git a/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/1-dependencies.tf b/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/1-dependencies.tf index 7bad8b507e66..a1f4d89c29f2 100644 --- a/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/1-dependencies.tf +++ b/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/1-dependencies.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/main.tf b/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/main.tf index e154411898aa..bc0a7bd849fc 100644 --- a/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/main.tf +++ b/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { storage_account_base_uri = "${azurerm_storage_account.example.primary_blob_endpoint}${azurerm_storage_container.example.name}" } diff --git a/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/variables.tf b/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/variables.tf index f08160a8f50a..931759b88ec6 100644 --- a/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/variables.tf +++ b/examples/virtual-machines/virtual_machine/unmanaged-disks/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The Prefix used for all resources in this example" } diff --git a/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/deploy.ci.sh b/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/deploy.ci.sh index 0ec389da23df..44eceef24897 100755 --- a/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/deploy.ci.sh +++ b/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/deploy.ci.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -o errexit -o nounset diff --git a/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/deploy.mac.sh b/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/deploy.mac.sh index b26d068b1a81..65f0d6d7d2e3 100755 --- a/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/deploy.mac.sh +++ b/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/deploy.mac.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -o errexit -o nounset diff --git a/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/main.tf b/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/main.tf index 6e7bf605fc48..f6cb397d2695 100644 --- a/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/main.tf +++ b/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/outputs.tf b/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/outputs.tf index 00c39358d646..f37bb7be45b5 100644 --- a/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/outputs.tf +++ b/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "hostname" { value = "${var.hostname}" } diff --git a/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/variables.tf b/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/variables.tf index bc8f23f88f1e..5eabbb280e59 100644 --- a/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/variables.tf +++ b/examples/virtual-machines/virtual_machine/unmanaged-disks/from-existing-storage-account/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group" { description = "Name of the resource group in which to deploy your new Virtual Machines" } diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/main.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/main.tf index c66a21dfc114..aeddae642847 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/main.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { version = "=1.1.2" } diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/1-network-interface.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/1-network-interface.tf index 55f02bd56946..528bf721a06f 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/1-network-interface.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/1-network-interface.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_network_interface" "primary" { name = "${var.prefix}-dc-primary" location = "${var.location}" diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/2-virtual-machine.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/2-virtual-machine.tf index 6e0fba08d3a2..c5bea54fe055 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/2-virtual-machine.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/2-virtual-machine.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { virtual_machine_name = "${var.prefix}-dc" virtual_machine_fqdn = "${local.virtual_machine_name}.${var.active_directory_domain}" diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/3-provision-domain.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/3-provision-domain.tf index 9486001c5759..7ae9f576157a 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/3-provision-domain.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/3-provision-domain.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + // the `exit_code_hack` is to keep the VM Extension resource happy locals { import_command = "Import-Module ADDSDeployment" diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/files/FirstLogonCommands.xml b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/files/FirstLogonCommands.xml index fead3000350c..306bd83c819b 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/files/FirstLogonCommands.xml +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/files/FirstLogonCommands.xml @@ -1,3 +1,8 @@ + + cmd /c "mkdir C:\terraform" diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/files/winrm.ps1 b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/files/winrm.ps1 index 6c40c1229627..6987ea6ccb98 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/files/winrm.ps1 +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/files/winrm.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + $Cert = New-SelfSignedCertificate -DnsName $RemoteHostName, $ComputerName ` -CertStoreLocation "cert:\LocalMachine\My" ` -FriendlyName "Test WinRM Cert" diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/variables.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/variables.tf index b769281cb18d..50c9db25bb65 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/variables.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/active-directory/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group_name" { description = "The name of the Resource Group where the Domain Controllers resources will be created" } diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/main.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/main.tf index ae753f7b5b4c..e71b3b0258d5 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/main.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + // NOTE: in a Production Environment you're likely to have Network Security Rules // which lock down traffic between Subnets. These are omited below to keep the // examples easy to understand - and should be added before being used in Production. diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/outputs.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/outputs.tf index 6a2958eb9601..85e7851a3f81 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/outputs.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "domain_controllers_subnet_id" { value = "${azurerm_subnet.domain-controllers.id}" } diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/variables.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/variables.tf index 6faddc77d942..6aa5af097160 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/variables.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/network/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" {} variable "location" {} diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/1-network-interface.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/1-network-interface.tf index 9a932028d03b..341f66f7fd9a 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/1-network-interface.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/1-network-interface.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_public_ip" "static" { name = "${var.prefix}-client-ppip" location = "${var.location}" diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/2-virtual-machine.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/2-virtual-machine.tf index 1ace73d7b972..6ffa28776625 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/2-virtual-machine.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/2-virtual-machine.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { virtual_machine_name = "${var.prefix}-client" } diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/3-wait-for-domain-to-provision.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/3-wait-for-domain-to-provision.tf index 7fff6c7616c8..edb8fd5390bf 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/3-wait-for-domain-to-provision.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/3-wait-for-domain-to-provision.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + // NOTE: this is a hack. // the AD Domain takes ~7m to provision, so we don't try and join an non-existant domain we sleep // unfortunately we can't depend on the Domain Creation VM Extension since there's a reboot. diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/4-join-domain.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/4-join-domain.tf index dac3141eeaef..119346fed9df 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/4-join-domain.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/4-join-domain.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_virtual_machine_extension" "join-domain" { name = "${azurerm_virtual_machine.client.name}" location = "${azurerm_virtual_machine.client.location}" diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/outputs.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/outputs.tf index 4e56055c0832..1666cce84fc4 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/outputs.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "public_ip_address" { value = "${azurerm_public_ip.static.ip_address}" } diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/variables.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/variables.tf index 081dd082418a..11995dd344ec 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/variables.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/modules/windows-client/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group_name" { description = "The name of the Resource Group where the Windows Client resources will be created" } diff --git a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/variables.tf b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/variables.tf index 5533e703f38f..849ab9149e96 100644 --- a/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/variables.tf +++ b/examples/virtual-machines/virtual_machine/vm-joined-to-active-directory/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example. Needs to be a short (6 characters) alphanumeric string. Example: `myprefix`." } diff --git a/examples/virtual-machines/windows/azure-disk-encryption/main.tf b/examples/virtual-machines/windows/azure-disk-encryption/main.tf index b1167191211c..712160b6b071 100644 --- a/examples/virtual-machines/windows/azure-disk-encryption/main.tf +++ b/examples/virtual-machines/windows/azure-disk-encryption/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features { key_vault { diff --git a/examples/virtual-machines/windows/azure-disk-encryption/variables.tf b/examples/virtual-machines/windows/azure-disk-encryption/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/windows/azure-disk-encryption/variables.tf +++ b/examples/virtual-machines/windows/azure-disk-encryption/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/windows/basic-password/main.tf b/examples/virtual-machines/windows/basic-password/main.tf index 3a7e249b6b95..cbed7b200d2e 100644 --- a/examples/virtual-machines/windows/basic-password/main.tf +++ b/examples/virtual-machines/windows/basic-password/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/windows/basic-password/variables.tf b/examples/virtual-machines/windows/basic-password/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/windows/basic-password/variables.tf +++ b/examples/virtual-machines/windows/basic-password/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/windows/custom-data/main.tf b/examples/virtual-machines/windows/custom-data/main.tf index b9a95b473048..de7ec1cd8e61 100644 --- a/examples/virtual-machines/windows/custom-data/main.tf +++ b/examples/virtual-machines/windows/custom-data/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/windows/custom-data/variables.tf b/examples/virtual-machines/windows/custom-data/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/windows/custom-data/variables.tf +++ b/examples/virtual-machines/windows/custom-data/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/windows/ephemeral-os-disk/main.tf b/examples/virtual-machines/windows/ephemeral-os-disk/main.tf index cd6c7e8ff2d2..09e0ac34e2b5 100644 --- a/examples/virtual-machines/windows/ephemeral-os-disk/main.tf +++ b/examples/virtual-machines/windows/ephemeral-os-disk/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/windows/ephemeral-os-disk/variables.tf b/examples/virtual-machines/windows/ephemeral-os-disk/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/windows/ephemeral-os-disk/variables.tf +++ b/examples/virtual-machines/windows/ephemeral-os-disk/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/windows/hotpatching-enabled/main.tf b/examples/virtual-machines/windows/hotpatching-enabled/main.tf index c9a7af2dd6d8..74c87e25b7b3 100644 --- a/examples/virtual-machines/windows/hotpatching-enabled/main.tf +++ b/examples/virtual-machines/windows/hotpatching-enabled/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/windows/hotpatching-enabled/variables.tf b/examples/virtual-machines/windows/hotpatching-enabled/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-machines/windows/hotpatching-enabled/variables.tf +++ b/examples/virtual-machines/windows/hotpatching-enabled/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/windows/vm-custom-extension/main.tf b/examples/virtual-machines/windows/vm-custom-extension/main.tf index 9e8985551311..0d461bda541e 100644 --- a/examples/virtual-machines/windows/vm-custom-extension/main.tf +++ b/examples/virtual-machines/windows/vm-custom-extension/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/windows/vm-custom-extension/vars.tf b/examples/virtual-machines/windows/vm-custom-extension/vars.tf index 487c4513dc72..db4b8bd03e30 100644 --- a/examples/virtual-machines/windows/vm-custom-extension/vars.tf +++ b/examples/virtual-machines/windows/vm-custom-extension/vars.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure Region in which all resources in this example should be provisioned" default = "West US" diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/main.tf b/examples/virtual-machines/windows/vm-joined-to-active-directory/main.tf index 58f8111570ff..420759cd8db5 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/main.tf +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/files/FirstLogonCommands.xml b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/files/FirstLogonCommands.xml index fead3000350c..306bd83c819b 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/files/FirstLogonCommands.xml +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/files/FirstLogonCommands.xml @@ -1,3 +1,8 @@ + + cmd /c "mkdir C:\terraform" diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/files/winrm.ps1 b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/files/winrm.ps1 index 6c40c1229627..6987ea6ccb98 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/files/winrm.ps1 +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/files/winrm.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + $Cert = New-SelfSignedCertificate -DnsName $RemoteHostName, $ComputerName ` -CertStoreLocation "cert:\LocalMachine\My" ` -FriendlyName "Test WinRM Cert" diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/main.tf b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/main.tf index afd6ba993b11..06d30fb2adb5 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/main.tf +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_network_interface" "dc_nic" { name = join("-", [var.prefix, "dc-primary"]) location = var.location diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/variables.tf b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/variables.tf index 2861af214e86..538a368ebfd0 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/variables.tf +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/active-directory-domain/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/main.tf b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/main.tf index ba64e8cbd23a..f5ebf19cd8a6 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/main.tf +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_public_ip" "static" { name = "${var.prefix}-client-pip" location = var.location diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/outputs.tf b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/outputs.tf index 7c52cade8ffa..dd5055fa6813 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/outputs.tf +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "public_ip_address" { value = azurerm_public_ip.static.ip_address } diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/variables.tf b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/variables.tf index 486bd32e5b57..16ab07f2b0eb 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/variables.tf +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/domain-member/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/main.tf b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/main.tf index 4b486ea38cc1..2f98fedfb407 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/main.tf +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_virtual_network" "example" { name = join("-", [var.prefix, "network"]) location = var.location diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/outputs.tf b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/outputs.tf index 18a721ffd083..c89334d88418 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/outputs.tf +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + output "domain_controllers_subnet_id" { value = azurerm_subnet.domain-controllers.id } diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/variables.tf b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/variables.tf index 8fbbd23ae304..a1b48c48cf25 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/variables.tf +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/modules/network/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/windows/vm-joined-to-active-directory/variables.tf b/examples/virtual-machines/windows/vm-joined-to-active-directory/variables.tf index ac4ccb736ef5..c88a4f955bba 100644 --- a/examples/virtual-machines/windows/vm-joined-to-active-directory/variables.tf +++ b/examples/virtual-machines/windows/vm-joined-to-active-directory/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-machines/windows/vm-role-assignment/main.tf b/examples/virtual-machines/windows/vm-role-assignment/main.tf index 07b4294d57cf..65f32506f52d 100644 --- a/examples/virtual-machines/windows/vm-role-assignment/main.tf +++ b/examples/virtual-machines/windows/vm-role-assignment/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-machines/windows/vm-role-assignment/vars.tf b/examples/virtual-machines/windows/vm-role-assignment/vars.tf index f6cd26b002ec..a861e15d5506 100644 --- a/examples/virtual-machines/windows/vm-role-assignment/vars.tf +++ b/examples/virtual-machines/windows/vm-role-assignment/vars.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "admin" { description = "Virtual Machine Admin Username" default = "adminuser" diff --git a/examples/virtual-networks/azure-firewall/main.tf b/examples/virtual-networks/azure-firewall/main.tf index 700ecc2d4f0f..62d80c44e7a9 100644 --- a/examples/virtual-networks/azure-firewall/main.tf +++ b/examples/virtual-networks/azure-firewall/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-networks/azure-firewall/variables.tf b/examples/virtual-networks/azure-firewall/variables.tf index 8d0bce3e7fe7..527002edcdc9 100644 --- a/examples/virtual-networks/azure-firewall/variables.tf +++ b/examples/virtual-networks/azure-firewall/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "adminUsername" { description = "The username for local admin on windows vm" } diff --git a/examples/virtual-networks/basic/main.tf b/examples/virtual-networks/basic/main.tf index 5f1131131f9d..7d18d7866399 100644 --- a/examples/virtual-networks/basic/main.tf +++ b/examples/virtual-networks/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-networks/basic/variables.tf b/examples/virtual-networks/basic/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/virtual-networks/basic/variables.tf +++ b/examples/virtual-networks/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/virtual-networks/multiple-subnets/main.tf b/examples/virtual-networks/multiple-subnets/main.tf index a87f8356f664..b9fb02bd32df 100644 --- a/examples/virtual-networks/multiple-subnets/main.tf +++ b/examples/virtual-networks/multiple-subnets/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-networks/multiple-subnets/variables.tf b/examples/virtual-networks/multiple-subnets/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/virtual-networks/multiple-subnets/variables.tf +++ b/examples/virtual-networks/multiple-subnets/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/virtual-networks/network-interface-app-security-group-association/main.tf b/examples/virtual-networks/network-interface-app-security-group-association/main.tf index 80135b73b009..47ed40c35e6d 100644 --- a/examples/virtual-networks/network-interface-app-security-group-association/main.tf +++ b/examples/virtual-networks/network-interface-app-security-group-association/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-networks/network-interface-app-security-group-association/variables.tf b/examples/virtual-networks/network-interface-app-security-group-association/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/virtual-networks/network-interface-app-security-group-association/variables.tf +++ b/examples/virtual-networks/network-interface-app-security-group-association/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/virtual-networks/network-security-group-rule/main.tf b/examples/virtual-networks/network-security-group-rule/main.tf index 057722983a38..014a12308da6 100644 --- a/examples/virtual-networks/network-security-group-rule/main.tf +++ b/examples/virtual-networks/network-security-group-rule/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-networks/network-security-group-rule/variables.tf b/examples/virtual-networks/network-security-group-rule/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/virtual-networks/network-security-group-rule/variables.tf +++ b/examples/virtual-networks/network-security-group-rule/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/virtual-networks/network-security-group/main.tf b/examples/virtual-networks/network-security-group/main.tf index f1aec45e4377..2a880d870522 100644 --- a/examples/virtual-networks/network-security-group/main.tf +++ b/examples/virtual-networks/network-security-group/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-networks/network-security-group/variables.tf b/examples/virtual-networks/network-security-group/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/virtual-networks/network-security-group/variables.tf +++ b/examples/virtual-networks/network-security-group/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/virtual-networks/private-link-service/main.tf b/examples/virtual-networks/private-link-service/main.tf index 39968e8f562f..85ff47de75e7 100644 --- a/examples/virtual-networks/private-link-service/main.tf +++ b/examples/virtual-networks/private-link-service/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-networks/private-link-service/variables.tf b/examples/virtual-networks/private-link-service/variables.tf index 2e56e0eb9d09..8f1b615f1ab3 100644 --- a/examples/virtual-networks/private-link-service/variables.tf +++ b/examples/virtual-networks/private-link-service/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "resource_group_name" { description = "The name of the resource group the Private Link Service is located in." default = "example-private-link-service" diff --git a/examples/virtual-networks/virtual-hub/main.tf b/examples/virtual-networks/virtual-hub/main.tf index d35392524a66..b74ff0e0663e 100644 --- a/examples/virtual-networks/virtual-hub/main.tf +++ b/examples/virtual-networks/virtual-hub/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-networks/virtual-hub/variables.tf b/examples/virtual-networks/virtual-hub/variables.tf index fb46f53f1d38..72da4e6bd3fa 100644 --- a/examples/virtual-networks/virtual-hub/variables.tf +++ b/examples/virtual-networks/virtual-hub/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "location" { description = "The Azure location where all resources in this example should be created." } diff --git a/examples/virtual-networks/virtual-network-gateway/basic/main.tf b/examples/virtual-networks/virtual-network-gateway/basic/main.tf index 2afa9013c828..a69c7e65e97d 100644 --- a/examples/virtual-networks/virtual-network-gateway/basic/main.tf +++ b/examples/virtual-networks/virtual-network-gateway/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-networks/virtual-network-gateway/basic/variables.tf b/examples/virtual-networks/virtual-network-gateway/basic/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-networks/virtual-network-gateway/basic/variables.tf +++ b/examples/virtual-networks/virtual-network-gateway/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-networks/virtual-network-gateway/vpngw1/main.tf b/examples/virtual-networks/virtual-network-gateway/vpngw1/main.tf index e52a45e3e655..1cc098a523e9 100644 --- a/examples/virtual-networks/virtual-network-gateway/vpngw1/main.tf +++ b/examples/virtual-networks/virtual-network-gateway/vpngw1/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-networks/virtual-network-gateway/vpngw1/variables.tf b/examples/virtual-networks/virtual-network-gateway/vpngw1/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/virtual-networks/virtual-network-gateway/vpngw1/variables.tf +++ b/examples/virtual-networks/virtual-network-gateway/vpngw1/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/virtual-networks/virtual-network-peering/main.tf b/examples/virtual-networks/virtual-network-peering/main.tf index 4a8ce1e5c4a6..97f28b9f2054 100644 --- a/examples/virtual-networks/virtual-network-peering/main.tf +++ b/examples/virtual-networks/virtual-network-peering/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/virtual-networks/virtual-network-peering/variables.tf b/examples/virtual-networks/virtual-network-peering/variables.tf index fcd1745ba3e7..5c35732230fc 100644 --- a/examples/virtual-networks/virtual-network-peering/variables.tf +++ b/examples/virtual-networks/virtual-network-peering/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix used for all resources in this example" } diff --git a/examples/vm-scale-set/extensions/custom-script/main.tf b/examples/vm-scale-set/extensions/custom-script/main.tf index 180b1fb51d84..dd027c3f5af6 100644 --- a/examples/vm-scale-set/extensions/custom-script/main.tf +++ b/examples/vm-scale-set/extensions/custom-script/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/extensions/custom-script/variables.tf b/examples/vm-scale-set/extensions/custom-script/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/extensions/custom-script/variables.tf +++ b/examples/vm-scale-set/extensions/custom-script/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/auto-scaling/main.tf b/examples/vm-scale-set/linux/auto-scaling/main.tf index d8e7d1bc3cd9..b93cf79b6baa 100644 --- a/examples/vm-scale-set/linux/auto-scaling/main.tf +++ b/examples/vm-scale-set/linux/auto-scaling/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/auto-scaling/variables.tf b/examples/vm-scale-set/linux/auto-scaling/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/auto-scaling/variables.tf +++ b/examples/vm-scale-set/linux/auto-scaling/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/basic/main.tf b/examples/vm-scale-set/linux/basic/main.tf index 5578d542b33c..d50c44a7cb41 100644 --- a/examples/vm-scale-set/linux/basic/main.tf +++ b/examples/vm-scale-set/linux/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/basic/variables.tf b/examples/vm-scale-set/linux/basic/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/basic/variables.tf +++ b/examples/vm-scale-set/linux/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/boot-diagnostics/main.tf b/examples/vm-scale-set/linux/boot-diagnostics/main.tf index 3276487512cc..ae539603d53d 100644 --- a/examples/vm-scale-set/linux/boot-diagnostics/main.tf +++ b/examples/vm-scale-set/linux/boot-diagnostics/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/boot-diagnostics/variables.tf b/examples/vm-scale-set/linux/boot-diagnostics/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/boot-diagnostics/variables.tf +++ b/examples/vm-scale-set/linux/boot-diagnostics/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/custom-data/main.tf b/examples/vm-scale-set/linux/custom-data/main.tf index 6ba82844119b..5e8b3851b041 100644 --- a/examples/vm-scale-set/linux/custom-data/main.tf +++ b/examples/vm-scale-set/linux/custom-data/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/custom-data/variables.tf b/examples/vm-scale-set/linux/custom-data/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/custom-data/variables.tf +++ b/examples/vm-scale-set/linux/custom-data/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/data-disks/main.tf b/examples/vm-scale-set/linux/data-disks/main.tf index 14860fd6c61d..705dd58443ed 100644 --- a/examples/vm-scale-set/linux/data-disks/main.tf +++ b/examples/vm-scale-set/linux/data-disks/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/data-disks/variables.tf b/examples/vm-scale-set/linux/data-disks/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/data-disks/variables.tf +++ b/examples/vm-scale-set/linux/data-disks/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/ephemeral-os-disk/main.tf b/examples/vm-scale-set/linux/ephemeral-os-disk/main.tf index 6a9713712267..595e1f5d575b 100644 --- a/examples/vm-scale-set/linux/ephemeral-os-disk/main.tf +++ b/examples/vm-scale-set/linux/ephemeral-os-disk/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/ephemeral-os-disk/variables.tf b/examples/vm-scale-set/linux/ephemeral-os-disk/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/ephemeral-os-disk/variables.tf +++ b/examples/vm-scale-set/linux/ephemeral-os-disk/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/extensions/main.tf b/examples/vm-scale-set/linux/extensions/main.tf index 41b974e2c197..7c1d3b3ad591 100644 --- a/examples/vm-scale-set/linux/extensions/main.tf +++ b/examples/vm-scale-set/linux/extensions/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/extensions/variables.tf b/examples/vm-scale-set/linux/extensions/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/extensions/variables.tf +++ b/examples/vm-scale-set/linux/extensions/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/ipv6/main.tf b/examples/vm-scale-set/linux/ipv6/main.tf index 4fbb9b462b01..21c0e8dc80dc 100644 --- a/examples/vm-scale-set/linux/ipv6/main.tf +++ b/examples/vm-scale-set/linux/ipv6/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/ipv6/variables.tf b/examples/vm-scale-set/linux/ipv6/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/ipv6/variables.tf +++ b/examples/vm-scale-set/linux/ipv6/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/multiple-nics/main.tf b/examples/vm-scale-set/linux/multiple-nics/main.tf index 41247985b03d..df9fdf27691f 100644 --- a/examples/vm-scale-set/linux/multiple-nics/main.tf +++ b/examples/vm-scale-set/linux/multiple-nics/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/multiple-nics/variables.tf b/examples/vm-scale-set/linux/multiple-nics/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/multiple-nics/variables.tf +++ b/examples/vm-scale-set/linux/multiple-nics/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/public-ip-per-instance/main.tf b/examples/vm-scale-set/linux/public-ip-per-instance/main.tf index b526332c6606..276dba9995d6 100644 --- a/examples/vm-scale-set/linux/public-ip-per-instance/main.tf +++ b/examples/vm-scale-set/linux/public-ip-per-instance/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/public-ip-per-instance/variables.tf b/examples/vm-scale-set/linux/public-ip-per-instance/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/public-ip-per-instance/variables.tf +++ b/examples/vm-scale-set/linux/public-ip-per-instance/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/rolling-upgrade-policy/main.tf b/examples/vm-scale-set/linux/rolling-upgrade-policy/main.tf index 935bcf914972..6e815f04b339 100644 --- a/examples/vm-scale-set/linux/rolling-upgrade-policy/main.tf +++ b/examples/vm-scale-set/linux/rolling-upgrade-policy/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/rolling-upgrade-policy/variables.tf b/examples/vm-scale-set/linux/rolling-upgrade-policy/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/rolling-upgrade-policy/variables.tf +++ b/examples/vm-scale-set/linux/rolling-upgrade-policy/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/secrets/main.tf b/examples/vm-scale-set/linux/secrets/main.tf index 1f61ca02a20e..e01f5acd2c13 100644 --- a/examples/vm-scale-set/linux/secrets/main.tf +++ b/examples/vm-scale-set/linux/secrets/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/secrets/variables.tf b/examples/vm-scale-set/linux/secrets/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/secrets/variables.tf +++ b/examples/vm-scale-set/linux/secrets/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/spot/main.tf b/examples/vm-scale-set/linux/spot/main.tf index d33b2122be55..02bfd10cb5eb 100644 --- a/examples/vm-scale-set/linux/spot/main.tf +++ b/examples/vm-scale-set/linux/spot/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/spot/variables.tf b/examples/vm-scale-set/linux/spot/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/spot/variables.tf +++ b/examples/vm-scale-set/linux/spot/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/ssh-keys/main.tf b/examples/vm-scale-set/linux/ssh-keys/main.tf index 7a97bf6e1d25..1c570bfd0909 100644 --- a/examples/vm-scale-set/linux/ssh-keys/main.tf +++ b/examples/vm-scale-set/linux/ssh-keys/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/ssh-keys/variables.tf b/examples/vm-scale-set/linux/ssh-keys/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/ssh-keys/variables.tf +++ b/examples/vm-scale-set/linux/ssh-keys/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/system-assigned-identity/main.tf b/examples/vm-scale-set/linux/system-assigned-identity/main.tf index 5f5031b813d2..71f0586790a7 100644 --- a/examples/vm-scale-set/linux/system-assigned-identity/main.tf +++ b/examples/vm-scale-set/linux/system-assigned-identity/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/system-assigned-identity/variables.tf b/examples/vm-scale-set/linux/system-assigned-identity/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/system-assigned-identity/variables.tf +++ b/examples/vm-scale-set/linux/system-assigned-identity/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/user-assigned-identity/main.tf b/examples/vm-scale-set/linux/user-assigned-identity/main.tf index 5d36f7c81132..f9439ef3668e 100644 --- a/examples/vm-scale-set/linux/user-assigned-identity/main.tf +++ b/examples/vm-scale-set/linux/user-assigned-identity/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/user-assigned-identity/variables.tf b/examples/vm-scale-set/linux/user-assigned-identity/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/user-assigned-identity/variables.tf +++ b/examples/vm-scale-set/linux/user-assigned-identity/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/linux/zones/main.tf b/examples/vm-scale-set/linux/zones/main.tf index f29a29e94c2b..147ba436ffd1 100644 --- a/examples/vm-scale-set/linux/zones/main.tf +++ b/examples/vm-scale-set/linux/zones/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/linux/zones/variables.tf b/examples/vm-scale-set/linux/zones/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/linux/zones/variables.tf +++ b/examples/vm-scale-set/linux/zones/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/main.tf b/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/main.tf index 854450337a4c..f4a19a22ff08 100644 --- a/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/main.tf +++ b/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/variables.tf b/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/variables.tf +++ b/examples/vm-scale-set/virtual_machine_scale_set/automatic-rolling-updates/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/virtual_machine_scale_set/autoscale/main.tf b/examples/vm-scale-set/virtual_machine_scale_set/autoscale/main.tf index 6fbc4d744b3b..0323e1a136ca 100644 --- a/examples/vm-scale-set/virtual_machine_scale_set/autoscale/main.tf +++ b/examples/vm-scale-set/virtual_machine_scale_set/autoscale/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/virtual_machine_scale_set/autoscale/variables.tf b/examples/vm-scale-set/virtual_machine_scale_set/autoscale/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/virtual_machine_scale_set/autoscale/variables.tf +++ b/examples/vm-scale-set/virtual_machine_scale_set/autoscale/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/virtual_machine_scale_set/basic/main.tf b/examples/vm-scale-set/virtual_machine_scale_set/basic/main.tf index c81f9d916c49..4444ff091f7e 100644 --- a/examples/vm-scale-set/virtual_machine_scale_set/basic/main.tf +++ b/examples/vm-scale-set/virtual_machine_scale_set/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/virtual_machine_scale_set/basic/variables.tf b/examples/vm-scale-set/virtual_machine_scale_set/basic/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/virtual_machine_scale_set/basic/variables.tf +++ b/examples/vm-scale-set/virtual_machine_scale_set/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/virtual_machine_scale_set/loadbalancer-probe/main.tf b/examples/vm-scale-set/virtual_machine_scale_set/loadbalancer-probe/main.tf index 64f8fe9d6226..f5a571068f5f 100644 --- a/examples/vm-scale-set/virtual_machine_scale_set/loadbalancer-probe/main.tf +++ b/examples/vm-scale-set/virtual_machine_scale_set/loadbalancer-probe/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/virtual_machine_scale_set/loadbalancer-probe/variables.tf b/examples/vm-scale-set/virtual_machine_scale_set/loadbalancer-probe/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/virtual_machine_scale_set/loadbalancer-probe/variables.tf +++ b/examples/vm-scale-set/virtual_machine_scale_set/loadbalancer-probe/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/auto-scaling/main.tf b/examples/vm-scale-set/windows/auto-scaling/main.tf index c9c61b3c5bc7..09069f741153 100644 --- a/examples/vm-scale-set/windows/auto-scaling/main.tf +++ b/examples/vm-scale-set/windows/auto-scaling/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/auto-scaling/variables.tf b/examples/vm-scale-set/windows/auto-scaling/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/auto-scaling/variables.tf +++ b/examples/vm-scale-set/windows/auto-scaling/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/basic/main.tf b/examples/vm-scale-set/windows/basic/main.tf index e48820f3f284..ad1314366f54 100644 --- a/examples/vm-scale-set/windows/basic/main.tf +++ b/examples/vm-scale-set/windows/basic/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/basic/variables.tf b/examples/vm-scale-set/windows/basic/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/basic/variables.tf +++ b/examples/vm-scale-set/windows/basic/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/boot-diagnostics/main.tf b/examples/vm-scale-set/windows/boot-diagnostics/main.tf index c144559f4096..b0de7f67f1e9 100644 --- a/examples/vm-scale-set/windows/boot-diagnostics/main.tf +++ b/examples/vm-scale-set/windows/boot-diagnostics/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/boot-diagnostics/variables.tf b/examples/vm-scale-set/windows/boot-diagnostics/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/boot-diagnostics/variables.tf +++ b/examples/vm-scale-set/windows/boot-diagnostics/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/custom-data/main.tf b/examples/vm-scale-set/windows/custom-data/main.tf index d31576d7421e..c94ba405997d 100644 --- a/examples/vm-scale-set/windows/custom-data/main.tf +++ b/examples/vm-scale-set/windows/custom-data/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/custom-data/variables.tf b/examples/vm-scale-set/windows/custom-data/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/custom-data/variables.tf +++ b/examples/vm-scale-set/windows/custom-data/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/custom-timezone/main.tf b/examples/vm-scale-set/windows/custom-timezone/main.tf index 2cd53337c2db..f2c34dc68e8b 100644 --- a/examples/vm-scale-set/windows/custom-timezone/main.tf +++ b/examples/vm-scale-set/windows/custom-timezone/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/custom-timezone/variables.tf b/examples/vm-scale-set/windows/custom-timezone/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/custom-timezone/variables.tf +++ b/examples/vm-scale-set/windows/custom-timezone/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/data-disks/main.tf b/examples/vm-scale-set/windows/data-disks/main.tf index fdcc04b61eb3..7ea53cf9aca3 100644 --- a/examples/vm-scale-set/windows/data-disks/main.tf +++ b/examples/vm-scale-set/windows/data-disks/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/data-disks/variables.tf b/examples/vm-scale-set/windows/data-disks/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/data-disks/variables.tf +++ b/examples/vm-scale-set/windows/data-disks/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/ephemeral-os-disk/main.tf b/examples/vm-scale-set/windows/ephemeral-os-disk/main.tf index 9d60b6a22dd4..35a03cf8cd43 100644 --- a/examples/vm-scale-set/windows/ephemeral-os-disk/main.tf +++ b/examples/vm-scale-set/windows/ephemeral-os-disk/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/ephemeral-os-disk/variables.tf b/examples/vm-scale-set/windows/ephemeral-os-disk/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/ephemeral-os-disk/variables.tf +++ b/examples/vm-scale-set/windows/ephemeral-os-disk/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/extensions/main.tf b/examples/vm-scale-set/windows/extensions/main.tf index 21a7cbe8bae8..a1817596d58c 100644 --- a/examples/vm-scale-set/windows/extensions/main.tf +++ b/examples/vm-scale-set/windows/extensions/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/extensions/variables.tf b/examples/vm-scale-set/windows/extensions/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/extensions/variables.tf +++ b/examples/vm-scale-set/windows/extensions/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/hybrid-use-benefit/main.tf b/examples/vm-scale-set/windows/hybrid-use-benefit/main.tf index 9f89ba64b445..fcd18328234a 100644 --- a/examples/vm-scale-set/windows/hybrid-use-benefit/main.tf +++ b/examples/vm-scale-set/windows/hybrid-use-benefit/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/hybrid-use-benefit/variables.tf b/examples/vm-scale-set/windows/hybrid-use-benefit/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/hybrid-use-benefit/variables.tf +++ b/examples/vm-scale-set/windows/hybrid-use-benefit/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/ipv6/main.tf b/examples/vm-scale-set/windows/ipv6/main.tf index 425101e615c6..56f69680cb48 100644 --- a/examples/vm-scale-set/windows/ipv6/main.tf +++ b/examples/vm-scale-set/windows/ipv6/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/ipv6/variables.tf b/examples/vm-scale-set/windows/ipv6/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/ipv6/variables.tf +++ b/examples/vm-scale-set/windows/ipv6/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/multiple-nics/main.tf b/examples/vm-scale-set/windows/multiple-nics/main.tf index 2b331b9687dc..1265a326b0f5 100644 --- a/examples/vm-scale-set/windows/multiple-nics/main.tf +++ b/examples/vm-scale-set/windows/multiple-nics/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/multiple-nics/variables.tf b/examples/vm-scale-set/windows/multiple-nics/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/multiple-nics/variables.tf +++ b/examples/vm-scale-set/windows/multiple-nics/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/public-ip-per-instance/main.tf b/examples/vm-scale-set/windows/public-ip-per-instance/main.tf index f9b134baf229..59afc76bbba0 100644 --- a/examples/vm-scale-set/windows/public-ip-per-instance/main.tf +++ b/examples/vm-scale-set/windows/public-ip-per-instance/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/public-ip-per-instance/variables.tf b/examples/vm-scale-set/windows/public-ip-per-instance/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/public-ip-per-instance/variables.tf +++ b/examples/vm-scale-set/windows/public-ip-per-instance/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/rolling-upgrade-policy/main.tf b/examples/vm-scale-set/windows/rolling-upgrade-policy/main.tf index e812ff6323ce..2ef574eb2c75 100644 --- a/examples/vm-scale-set/windows/rolling-upgrade-policy/main.tf +++ b/examples/vm-scale-set/windows/rolling-upgrade-policy/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/rolling-upgrade-policy/variables.tf b/examples/vm-scale-set/windows/rolling-upgrade-policy/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/rolling-upgrade-policy/variables.tf +++ b/examples/vm-scale-set/windows/rolling-upgrade-policy/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/secrets/main.tf b/examples/vm-scale-set/windows/secrets/main.tf index 9bb814c40ccd..17c6636efb48 100644 --- a/examples/vm-scale-set/windows/secrets/main.tf +++ b/examples/vm-scale-set/windows/secrets/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/secrets/variables.tf b/examples/vm-scale-set/windows/secrets/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/secrets/variables.tf +++ b/examples/vm-scale-set/windows/secrets/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/service-fabric/1-dependencies.tf b/examples/vm-scale-set/windows/service-fabric/1-dependencies.tf index 424eb80b4030..7f8940356fbb 100644 --- a/examples/vm-scale-set/windows/service-fabric/1-dependencies.tf +++ b/examples/vm-scale-set/windows/service-fabric/1-dependencies.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/service-fabric/2-key-vault.tf b/examples/vm-scale-set/windows/service-fabric/2-key-vault.tf index 51a518d7ae49..a438d9b10e70 100644 --- a/examples/vm-scale-set/windows/service-fabric/2-key-vault.tf +++ b/examples/vm-scale-set/windows/service-fabric/2-key-vault.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + data "azurerm_client_config" "current" {} resource "azurerm_key_vault" "main" { diff --git a/examples/vm-scale-set/windows/service-fabric/3-service-fabric.tf b/examples/vm-scale-set/windows/service-fabric/3-service-fabric.tf index c1486393a2a0..d9fc9757967b 100644 --- a/examples/vm-scale-set/windows/service-fabric/3-service-fabric.tf +++ b/examples/vm-scale-set/windows/service-fabric/3-service-fabric.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_service_fabric_cluster" "main" { name = "${var.prefix}-servicefabric" resource_group_name = azurerm_resource_group.main.name diff --git a/examples/vm-scale-set/windows/service-fabric/main.tf b/examples/vm-scale-set/windows/service-fabric/main.tf index 306f2392fd8d..819d35f04f4a 100644 --- a/examples/vm-scale-set/windows/service-fabric/main.tf +++ b/examples/vm-scale-set/windows/service-fabric/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + resource "azurerm_windows_virtual_machine_scale_set" "main" { diff --git a/examples/vm-scale-set/windows/service-fabric/variables.tf b/examples/vm-scale-set/windows/service-fabric/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/service-fabric/variables.tf +++ b/examples/vm-scale-set/windows/service-fabric/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/spot/main.tf b/examples/vm-scale-set/windows/spot/main.tf index 1a2c0b4c45b7..302ed05423f6 100644 --- a/examples/vm-scale-set/windows/spot/main.tf +++ b/examples/vm-scale-set/windows/spot/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/spot/variables.tf b/examples/vm-scale-set/windows/spot/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/spot/variables.tf +++ b/examples/vm-scale-set/windows/spot/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/system-assigned-identity/main.tf b/examples/vm-scale-set/windows/system-assigned-identity/main.tf index fbccf70d75cf..bbc2080dbfd9 100644 --- a/examples/vm-scale-set/windows/system-assigned-identity/main.tf +++ b/examples/vm-scale-set/windows/system-assigned-identity/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/system-assigned-identity/variables.tf b/examples/vm-scale-set/windows/system-assigned-identity/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/system-assigned-identity/variables.tf +++ b/examples/vm-scale-set/windows/system-assigned-identity/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/user-assigned-identity/main.tf b/examples/vm-scale-set/windows/user-assigned-identity/main.tf index b4d0fbdf5118..da50374e8dd6 100644 --- a/examples/vm-scale-set/windows/user-assigned-identity/main.tf +++ b/examples/vm-scale-set/windows/user-assigned-identity/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/user-assigned-identity/variables.tf b/examples/vm-scale-set/windows/user-assigned-identity/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/user-assigned-identity/variables.tf +++ b/examples/vm-scale-set/windows/user-assigned-identity/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/vm-scale-set/windows/zones/main.tf b/examples/vm-scale-set/windows/zones/main.tf index ab4daabc4b7c..e9a3da784b21 100644 --- a/examples/vm-scale-set/windows/zones/main.tf +++ b/examples/vm-scale-set/windows/zones/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + provider "azurerm" { features {} } diff --git a/examples/vm-scale-set/windows/zones/variables.tf b/examples/vm-scale-set/windows/zones/variables.tf index 68babb00b91a..371d4695d13d 100644 --- a/examples/vm-scale-set/windows/zones/variables.tf +++ b/examples/vm-scale-set/windows/zones/variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + variable "prefix" { description = "The prefix which should be used for all resources in this example" } diff --git a/examples/web/static-site/main.tf b/examples/web/static-site/main.tf index 3e6fa8705620..60082545de6d 100644 --- a/examples/web/static-site/main.tf +++ b/examples/web/static-site/main.tf @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + locals { api_token_var = "AZURE_STATIC_WEB_APPS_API_TOKEN" } diff --git a/helpers/azure/deprecated_soon.go b/helpers/azure/deprecated_soon.go index d95971a235c2..9c8c452ae9d1 100644 --- a/helpers/azure/deprecated_soon.go +++ b/helpers/azure/deprecated_soon.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure import ( diff --git a/helpers/azure/deprecated_soon_test.go b/helpers/azure/deprecated_soon_test.go index b100de6f0d30..e2020ebfec41 100644 --- a/helpers/azure/deprecated_soon_test.go +++ b/helpers/azure/deprecated_soon_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure_test import ( diff --git a/helpers/azure/error_output.go b/helpers/azure/error_output.go index ecb38bb0b386..43443693de50 100644 --- a/helpers/azure/error_output.go +++ b/helpers/azure/error_output.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure import ( diff --git a/helpers/azure/error_output_test.go b/helpers/azure/error_output_test.go index 15f860ea9f29..0353cf15b2dd 100644 --- a/helpers/azure/error_output_test.go +++ b/helpers/azure/error_output_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure_test import ( diff --git a/helpers/azure/resourceid.go b/helpers/azure/resourceid.go index 7edd6f0aaffd..2479a9d7bca5 100644 --- a/helpers/azure/resourceid.go +++ b/helpers/azure/resourceid.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure import ( diff --git a/helpers/azure/resourceid_test.go b/helpers/azure/resourceid_test.go index fcf177b5cb7c..78ee30f81e60 100644 --- a/helpers/azure/resourceid_test.go +++ b/helpers/azure/resourceid_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure_test import ( diff --git a/helpers/azure/sku.go b/helpers/azure/sku.go index 09c3fb1625f4..b0820ad0d081 100644 --- a/helpers/azure/sku.go +++ b/helpers/azure/sku.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure import ( diff --git a/helpers/azure/strings.go b/helpers/azure/strings.go index c16c4a6161b5..e48deb54fe55 100644 --- a/helpers/azure/strings.go +++ b/helpers/azure/strings.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package azure import "strings" diff --git a/helpers/tf/errors.go b/helpers/tf/errors.go index 53b9b205801c..0b0d4f6267e3 100644 --- a/helpers/tf/errors.go +++ b/helpers/tf/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tf import "fmt" diff --git a/helpers/validate/float.go b/helpers/validate/float.go index a9e722beebf4..2d73363d527c 100644 --- a/helpers/validate/float.go +++ b/helpers/validate/float.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/float_test.go b/helpers/validate/float_test.go index f90340929109..79f3a34bb942 100644 --- a/helpers/validate/float_test.go +++ b/helpers/validate/float_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/kubernetes.go b/helpers/validate/kubernetes.go index 776eb7a37b78..dc859a08c0a5 100644 --- a/helpers/validate/kubernetes.go +++ b/helpers/validate/kubernetes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/kubernetes_test.go b/helpers/validate/kubernetes_test.go index b4dd3943114b..240cb6674096 100644 --- a/helpers/validate/kubernetes_test.go +++ b/helpers/validate/kubernetes_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/network.go b/helpers/validate/network.go index 28949360012c..d7c327eaafe6 100644 --- a/helpers/validate/network.go +++ b/helpers/validate/network.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/network_test.go b/helpers/validate/network_test.go index f115e7809b03..33ccdad89ef4 100644 --- a/helpers/validate/network_test.go +++ b/helpers/validate/network_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/port_or_port_range.go b/helpers/validate/port_or_port_range.go index 4169cf201104..5a7e5d447874 100644 --- a/helpers/validate/port_or_port_range.go +++ b/helpers/validate/port_or_port_range.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/port_or_port_range_test.go b/helpers/validate/port_or_port_range_test.go index e704e12c1545..15f602ffaa23 100644 --- a/helpers/validate/port_or_port_range_test.go +++ b/helpers/validate/port_or_port_range_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/regex.go b/helpers/validate/regex.go index 382628f7ecdb..d43238c03024 100644 --- a/helpers/validate/regex.go +++ b/helpers/validate/regex.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/strings.go b/helpers/validate/strings.go index 59de1d3f6fc8..43c1b4fc290d 100644 --- a/helpers/validate/strings.go +++ b/helpers/validate/strings.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/strings_test.go b/helpers/validate/strings_test.go index 8813a69d122f..438430675d7f 100644 --- a/helpers/validate/strings_test.go +++ b/helpers/validate/strings_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/time.go b/helpers/validate/time.go index 4ca42bafa1fe..1c1b0a3f1c3a 100644 --- a/helpers/validate/time.go +++ b/helpers/validate/time.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/helpers/validate/time_test.go b/helpers/validate/time_test.go index ea26d878093e..e455d0dab155 100644 --- a/helpers/validate/time_test.go +++ b/helpers/validate/time_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validate import ( diff --git a/internal/acceptance/check/that.go b/internal/acceptance/check/that.go index 429fd453e2bd..ed83b0dcf1d6 100644 --- a/internal/acceptance/check/that.go +++ b/internal/acceptance/check/that.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package check import ( diff --git a/internal/acceptance/client_data.go b/internal/acceptance/client_data.go index 2e5a48b7df9d..c7ecf51f4005 100644 --- a/internal/acceptance/client_data.go +++ b/internal/acceptance/client_data.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance import ( diff --git a/internal/acceptance/data.go b/internal/acceptance/data.go index c1fe71bd6faa..c23b820f18de 100644 --- a/internal/acceptance/data.go +++ b/internal/acceptance/data.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance import ( diff --git a/internal/acceptance/data_test.go b/internal/acceptance/data_test.go index 558662beddd3..9fc59e3f5f98 100644 --- a/internal/acceptance/data_test.go +++ b/internal/acceptance/data_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance import ( diff --git a/internal/acceptance/helpers/check_destroyed.go b/internal/acceptance/helpers/check_destroyed.go index 7bf979fe47d1..395640179cd9 100644 --- a/internal/acceptance/helpers/check_destroyed.go +++ b/internal/acceptance/helpers/check_destroyed.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helpers import ( diff --git a/internal/acceptance/helpers/delete.go b/internal/acceptance/helpers/delete.go index e69e24209d33..b52269ec6fc4 100644 --- a/internal/acceptance/helpers/delete.go +++ b/internal/acceptance/helpers/delete.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helpers import ( diff --git a/internal/acceptance/helpers/exists.go b/internal/acceptance/helpers/exists.go index 2582cc960fef..68ad85e2d446 100644 --- a/internal/acceptance/helpers/exists.go +++ b/internal/acceptance/helpers/exists.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package helpers import ( diff --git a/internal/acceptance/locations.go b/internal/acceptance/locations.go index 408d67d779a6..e6c0e8115c52 100644 --- a/internal/acceptance/locations.go +++ b/internal/acceptance/locations.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance import ( diff --git a/internal/acceptance/plugin_sdk_aliases.go b/internal/acceptance/plugin_sdk_aliases.go index 5513dc63989b..df5946f953f4 100644 --- a/internal/acceptance/plugin_sdk_aliases.go +++ b/internal/acceptance/plugin_sdk_aliases.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance import ( diff --git a/internal/acceptance/random.go b/internal/acceptance/random.go index e6b3c545e7a3..a1b020bed6bc 100644 --- a/internal/acceptance/random.go +++ b/internal/acceptance/random.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance import ( diff --git a/internal/acceptance/random_test.go b/internal/acceptance/random_test.go index a06481c8e541..3e3ad41a5430 100644 --- a/internal/acceptance/random_test.go +++ b/internal/acceptance/random_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance import "testing" diff --git a/internal/acceptance/required_test.go b/internal/acceptance/required_test.go index c7c139569fdb..25af6564c83d 100644 --- a/internal/acceptance/required_test.go +++ b/internal/acceptance/required_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance import ( diff --git a/internal/acceptance/ssh/commands.go b/internal/acceptance/ssh/commands.go index 08d103041433..157e544421f7 100644 --- a/internal/acceptance/ssh/commands.go +++ b/internal/acceptance/ssh/commands.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh const ( diff --git a/internal/acceptance/ssh/run.go b/internal/acceptance/ssh/run.go index ab920707787b..c203b9d9ef51 100644 --- a/internal/acceptance/ssh/run.go +++ b/internal/acceptance/ssh/run.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ssh import ( diff --git a/internal/acceptance/steps.go b/internal/acceptance/steps.go index 12a024887014..4440982724ef 100644 --- a/internal/acceptance/steps.go +++ b/internal/acceptance/steps.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance import ( diff --git a/internal/acceptance/subscriptions.go b/internal/acceptance/subscriptions.go index 374cfeac62da..80f9f36b2d94 100644 --- a/internal/acceptance/subscriptions.go +++ b/internal/acceptance/subscriptions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance // Subscriptions is a list of AAD Subscriptions which can be used for test purposes diff --git a/internal/acceptance/testcase.go b/internal/acceptance/testcase.go index e6c5c3ddb11e..0dda0a8739c8 100644 --- a/internal/acceptance/testcase.go +++ b/internal/acceptance/testcase.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance import ( diff --git a/internal/acceptance/testclient/client.go b/internal/acceptance/testclient/client.go index 43d40073e472..ba6b1c22578a 100644 --- a/internal/acceptance/testclient/client.go +++ b/internal/acceptance/testclient/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testclient import ( diff --git a/internal/acceptance/testing.go b/internal/acceptance/testing.go index 64134d7f8183..91913b5ad5c1 100644 --- a/internal/acceptance/testing.go +++ b/internal/acceptance/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acceptance import ( diff --git a/internal/acceptance/types/resource.go b/internal/acceptance/types/resource.go index 7cb4a88bfb9f..b906cab5b6de 100644 --- a/internal/acceptance/types/resource.go +++ b/internal/acceptance/types/resource.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package types import ( diff --git a/internal/clients/auth.go b/internal/clients/auth.go index d643cfad3303..2cad2d33f0d2 100644 --- a/internal/clients/auth.go +++ b/internal/clients/auth.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package clients import ( diff --git a/internal/clients/builder.go b/internal/clients/builder.go index cfe4042d2177..f4d9d5a5ca53 100644 --- a/internal/clients/builder.go +++ b/internal/clients/builder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package clients import ( diff --git a/internal/clients/client.go b/internal/clients/client.go index 2838786dde6d..587948c13577 100644 --- a/internal/clients/client.go +++ b/internal/clients/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package clients import ( diff --git a/internal/clients/client_gen.go b/internal/clients/client_gen.go index 6f5c1df7d638..64a0b9f261ca 100644 --- a/internal/clients/client_gen.go +++ b/internal/clients/client_gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package clients // NOTE: this file is generated - manual changes will be overwritten. diff --git a/internal/clients/graph/client.go b/internal/clients/graph/client.go index 1125ad40aa3a..84f8d4e722fb 100644 --- a/internal/clients/graph/client.go +++ b/internal/clients/graph/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package graph import ( diff --git a/internal/common/client_options.go b/internal/common/client_options.go index 0e227eaa6812..fbff9f0b2022 100644 --- a/internal/common/client_options.go +++ b/internal/common/client_options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/common/correlation_id.go b/internal/common/correlation_id.go index 85ab15e2d008..b7f84452bccc 100644 --- a/internal/common/correlation_id.go +++ b/internal/common/correlation_id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/common/correlation_id_test.go b/internal/common/correlation_id_test.go index cc34fcd5d0d8..47de90d92e5a 100644 --- a/internal/common/correlation_id_test.go +++ b/internal/common/correlation_id_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/common/middleware.go b/internal/common/middleware.go index 07896ce11a7d..3a16da02071d 100644 --- a/internal/common/middleware.go +++ b/internal/common/middleware.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package common import ( diff --git a/internal/features/defaults.go b/internal/features/defaults.go index 32c656b254f3..d1d094c78ba0 100644 --- a/internal/features/defaults.go +++ b/internal/features/defaults.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package features func Default() UserFeatures { diff --git a/internal/features/dynamic_test_locations.go b/internal/features/dynamic_test_locations.go index 8972acf07869..110de2b5183d 100644 --- a/internal/features/dynamic_test_locations.go +++ b/internal/features/dynamic_test_locations.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package features import ( diff --git a/internal/features/dynamic_test_locations_test.go b/internal/features/dynamic_test_locations_test.go index 7b96a1f8fdd2..27786488ad3a 100644 --- a/internal/features/dynamic_test_locations_test.go +++ b/internal/features/dynamic_test_locations_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package features import ( diff --git a/internal/features/enhanced_validation.go b/internal/features/enhanced_validation.go index 9752f2469f8d..18efee75d213 100644 --- a/internal/features/enhanced_validation.go +++ b/internal/features/enhanced_validation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package features import ( diff --git a/internal/features/four_point_oh.go b/internal/features/four_point_oh.go index 5b8816933333..423a527f657b 100644 --- a/internal/features/four_point_oh.go +++ b/internal/features/four_point_oh.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package features // nolint gocritic diff --git a/internal/features/user_flags.go b/internal/features/user_flags.go index 836730920a51..e91379846937 100644 --- a/internal/features/user_flags.go +++ b/internal/features/user_flags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package features type UserFeatures struct { diff --git a/internal/locks/arrays.go b/internal/locks/arrays.go index a85a6a424ffd..bb7b3c46faff 100644 --- a/internal/locks/arrays.go +++ b/internal/locks/arrays.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package locks // Remove duplicates from the input array and return unify array (without duplicated elements) diff --git a/internal/locks/arrays_test.go b/internal/locks/arrays_test.go index 4cb68dec1c94..319ec24a8f01 100644 --- a/internal/locks/arrays_test.go +++ b/internal/locks/arrays_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package locks import ( diff --git a/internal/locks/lock.go b/internal/locks/lock.go index 0dc3ee30f26c..cdb6d0bd3bf5 100644 --- a/internal/locks/lock.go +++ b/internal/locks/lock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package locks // armMutexKV is the instance of MutexKV for ARM resources diff --git a/internal/locks/mutexkv.go b/internal/locks/mutexkv.go index 6d5f0ccce9a4..b571fbde8519 100644 --- a/internal/locks/mutexkv.go +++ b/internal/locks/mutexkv.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package locks import ( diff --git a/internal/provider/features.go b/internal/provider/features.go index dbc70805a17f..bdb0cbfe3a9f 100644 --- a/internal/provider/features.go +++ b/internal/provider/features.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/features_test.go b/internal/provider/features_test.go index 2819859a4e15..1b5c2a949e68 100644 --- a/internal/provider/features_test.go +++ b/internal/provider/features_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/provider.go b/internal/provider/provider.go index ca42549a804b..50fd34f0f4b5 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_schema_test.go b/internal/provider/provider_schema_test.go index 2fcc76b16d15..da7a0c18e9cb 100644 --- a/internal/provider/provider_schema_test.go +++ b/internal/provider/provider_schema_test.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 fcdc91370637..5174af9c6977 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/services.go b/internal/provider/services.go index ef74bf3ae5dd..5183279c7dfd 100644 --- a/internal/provider/services.go +++ b/internal/provider/services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/provider/services_gen.go b/internal/provider/services_gen.go index d46b3b1e910e..e93454cd4e2b 100644 --- a/internal/provider/services_gen.go +++ b/internal/provider/services_gen.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider // NOTE: this file is generated - manual changes will be overwritten. diff --git a/internal/provider/services_test.go b/internal/provider/services_test.go index 0d04f8da5d78..b7b67f1a5969 100644 --- a/internal/provider/services_test.go +++ b/internal/provider/services_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package provider import ( diff --git a/internal/resourceproviders/cache.go b/internal/resourceproviders/cache.go index caa5bdaf6e83..bc7225842c58 100644 --- a/internal/resourceproviders/cache.go +++ b/internal/resourceproviders/cache.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourceproviders import ( diff --git a/internal/resourceproviders/custompollers/resource_provider_register_poller.go b/internal/resourceproviders/custompollers/resource_provider_register_poller.go index 5108d4b5750a..ed9ef57d02c5 100644 --- a/internal/resourceproviders/custompollers/resource_provider_register_poller.go +++ b/internal/resourceproviders/custompollers/resource_provider_register_poller.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package custompollers import ( diff --git a/internal/resourceproviders/custompollers/resource_provider_unregister_poller.go b/internal/resourceproviders/custompollers/resource_provider_unregister_poller.go index fe8d35bba647..4f25e7f543e9 100644 --- a/internal/resourceproviders/custompollers/resource_provider_unregister_poller.go +++ b/internal/resourceproviders/custompollers/resource_provider_unregister_poller.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package custompollers import ( diff --git a/internal/resourceproviders/registration.go b/internal/resourceproviders/registration.go index 5b649739a3d2..de0fdb4f35e9 100644 --- a/internal/resourceproviders/registration.go +++ b/internal/resourceproviders/registration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourceproviders import ( diff --git a/internal/resourceproviders/required.go b/internal/resourceproviders/required.go index de2fdd20fde7..b2361e808ceb 100644 --- a/internal/resourceproviders/required.go +++ b/internal/resourceproviders/required.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourceproviders // Required returns core Resource Providers used by the AzureRM Provider diff --git a/internal/resourceproviders/requiring_registration.go b/internal/resourceproviders/requiring_registration.go index 6eb5d07a7819..6fca6a0b497c 100644 --- a/internal/resourceproviders/requiring_registration.go +++ b/internal/resourceproviders/requiring_registration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourceproviders import ( diff --git a/internal/resourceproviders/validation.go b/internal/resourceproviders/validation.go index 78b509efde46..8b2fd605acaa 100644 --- a/internal/resourceproviders/validation.go +++ b/internal/resourceproviders/validation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourceproviders import ( diff --git a/internal/resourceproviders/validation_test.go b/internal/resourceproviders/validation_test.go index 1cc359a394d8..5b902e40c9a9 100644 --- a/internal/resourceproviders/validation_test.go +++ b/internal/resourceproviders/validation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package resourceproviders import ( diff --git a/internal/sdk/logger.go b/internal/sdk/logger.go index 40221ac10f3b..5935ebf3f7d6 100644 --- a/internal/sdk/logger.go +++ b/internal/sdk/logger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk // Logger is an interface for switching out the Logger implementation diff --git a/internal/sdk/logger_console.go b/internal/sdk/logger_console.go index 7771a7c80281..f351021f9ce9 100644 --- a/internal/sdk/logger_console.go +++ b/internal/sdk/logger_console.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/logger_diagnostics.go b/internal/sdk/logger_diagnostics.go index 19f6375696ef..548787fac1bc 100644 --- a/internal/sdk/logger_diagnostics.go +++ b/internal/sdk/logger_diagnostics.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/logger_null.go b/internal/sdk/logger_null.go index 404c07a689b5..0a3528f8835e 100644 --- a/internal/sdk/logger_null.go +++ b/internal/sdk/logger_null.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk // NullLogger disregards the log output - and is intended to be used diff --git a/internal/sdk/plugin_sdk_test.go b/internal/sdk/plugin_sdk_test.go index a02fba1db46e..1d5d27c90bc5 100644 --- a/internal/sdk/plugin_sdk_test.go +++ b/internal/sdk/plugin_sdk_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/resource.go b/internal/sdk/resource.go index 9a8ab4757c41..a2e2fff1a78b 100644 --- a/internal/sdk/resource.go +++ b/internal/sdk/resource.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/resource_decode.go b/internal/sdk/resource_decode.go index e561f3571ee3..d77ad8613508 100644 --- a/internal/sdk/resource_decode.go +++ b/internal/sdk/resource_decode.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/resource_decode_test.go b/internal/sdk/resource_decode_test.go index 8125341a0720..6788e3f01707 100644 --- a/internal/sdk/resource_decode_test.go +++ b/internal/sdk/resource_decode_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/resource_encode.go b/internal/sdk/resource_encode.go index 5bffa2fd73cf..eca58016fd9a 100644 --- a/internal/sdk/resource_encode.go +++ b/internal/sdk/resource_encode.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/resource_encode_test.go b/internal/sdk/resource_encode_test.go index 7aa5fb4e12ba..3d5f0cc34117 100644 --- a/internal/sdk/resource_encode_test.go +++ b/internal/sdk/resource_encode_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/resource_id.go b/internal/sdk/resource_id.go index 6da29dcc58c4..7e705dfb019e 100644 --- a/internal/sdk/resource_id.go +++ b/internal/sdk/resource_id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" diff --git a/internal/sdk/resource_test.go b/internal/sdk/resource_test.go index 22f116fac667..546142b47a58 100644 --- a/internal/sdk/resource_test.go +++ b/internal/sdk/resource_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk // TODO: make these more granular for the tests diff --git a/internal/sdk/service_registration.go b/internal/sdk/service_registration.go index 54226de32778..da107760c591 100644 --- a/internal/sdk/service_registration.go +++ b/internal/sdk/service_registration.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/wrapper_data_source.go b/internal/sdk/wrapper_data_source.go index f7a1bfe9fac1..e071e6cd061c 100644 --- a/internal/sdk/wrapper_data_source.go +++ b/internal/sdk/wrapper_data_source.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/wrapper_helpers.go b/internal/sdk/wrapper_helpers.go index b82f8a03e972..e6cb4378f69f 100644 --- a/internal/sdk/wrapper_helpers.go +++ b/internal/sdk/wrapper_helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/wrapper_resource.go b/internal/sdk/wrapper_resource.go index bc7cf9300888..29b966678bcf 100644 --- a/internal/sdk/wrapper_resource.go +++ b/internal/sdk/wrapper_resource.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/wrapper_validate.go b/internal/sdk/wrapper_validate.go index 8c89eb4751a0..1009d77d9193 100644 --- a/internal/sdk/wrapper_validate.go +++ b/internal/sdk/wrapper_validate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import ( diff --git a/internal/sdk/wrapper_validate_test.go b/internal/sdk/wrapper_validate_test.go index b9057cab2b92..7f6d0996cb0d 100644 --- a/internal/sdk/wrapper_validate_test.go +++ b/internal/sdk/wrapper_validate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sdk import "testing" diff --git a/internal/tags/expand.go b/internal/tags/expand.go index e5a05ee9e0f1..78e3996260e3 100644 --- a/internal/tags/expand.go +++ b/internal/tags/expand.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tags func Expand(tagsMap map[string]interface{}) map[string]*string { diff --git a/internal/tags/expand_test.go b/internal/tags/expand_test.go index 4911947150da..75aa1b46a33a 100644 --- a/internal/tags/expand_test.go +++ b/internal/tags/expand_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tags import ( diff --git a/internal/tags/filter.go b/internal/tags/filter.go index d36061a551b9..f7d84e71e8f7 100644 --- a/internal/tags/filter.go +++ b/internal/tags/filter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tags import "strings" diff --git a/internal/tags/filter_test.go b/internal/tags/filter_test.go index 7794f2809b31..8cf159522b2c 100644 --- a/internal/tags/filter_test.go +++ b/internal/tags/filter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tags import ( diff --git a/internal/tags/flatten.go b/internal/tags/flatten.go index fda6e80b2d63..4808c82fd8b6 100644 --- a/internal/tags/flatten.go +++ b/internal/tags/flatten.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tags import ( diff --git a/internal/tags/flatten_test.go b/internal/tags/flatten_test.go index 221550b170eb..3a80ac102614 100644 --- a/internal/tags/flatten_test.go +++ b/internal/tags/flatten_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tags import ( diff --git a/internal/tags/schema.go b/internal/tags/schema.go index ac5cb172b201..2fede5e3a5e1 100644 --- a/internal/tags/schema.go +++ b/internal/tags/schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tags import "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/tags/typed.go b/internal/tags/typed.go index 19c6e97f8b6a..247e6c4dae8b 100644 --- a/internal/tags/typed.go +++ b/internal/tags/typed.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tags func FromTypedObject(input map[string]string) map[string]*string { diff --git a/internal/tags/typed_test.go b/internal/tags/typed_test.go index d15a8fa7da83..948fc1842de4 100644 --- a/internal/tags/typed_test.go +++ b/internal/tags/typed_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tags import ( diff --git a/internal/tags/validation.go b/internal/tags/validation.go index 58472fdfa0a0..0177ec58c8bb 100644 --- a/internal/tags/validation.go +++ b/internal/tags/validation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tags import ( diff --git a/internal/tags/validation_test.go b/internal/tags/validation_test.go index 99ad0ae937b1..e4591717bb62 100644 --- a/internal/tags/validation_test.go +++ b/internal/tags/validation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package tags import ( diff --git a/internal/tf/base64/schema.go b/internal/tf/base64/schema.go index 501645c576c0..cc93f1b21c96 100644 --- a/internal/tf/base64/schema.go +++ b/internal/tf/base64/schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package base64 import ( diff --git a/internal/tf/pluginsdk/customize_diff.go b/internal/tf/pluginsdk/customize_diff.go index 3e8c5edae3be..325f07f23996 100644 --- a/internal/tf/pluginsdk/customize_diff.go +++ b/internal/tf/pluginsdk/customize_diff.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import ( diff --git a/internal/tf/pluginsdk/explicitly_null_config.go b/internal/tf/pluginsdk/explicitly_null_config.go index 5425d4f2c3d9..b4c18953895e 100644 --- a/internal/tf/pluginsdk/explicitly_null_config.go +++ b/internal/tf/pluginsdk/explicitly_null_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk // IsExplicitlyNullInConfig determines whether the specified 'configFieldName' diff --git a/internal/tf/pluginsdk/hashstring.go b/internal/tf/pluginsdk/hashstring.go index d3d0100d404f..a50ef0798935 100644 --- a/internal/tf/pluginsdk/hashstring.go +++ b/internal/tf/pluginsdk/hashstring.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import ( diff --git a/internal/tf/pluginsdk/imports.go b/internal/tf/pluginsdk/imports.go index 20125d240699..5e66bb469833 100644 --- a/internal/tf/pluginsdk/imports.go +++ b/internal/tf/pluginsdk/imports.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import ( diff --git a/internal/tf/pluginsdk/resource.go b/internal/tf/pluginsdk/resource.go index ed6ee26ae649..9d672f984347 100644 --- a/internal/tf/pluginsdk/resource.go +++ b/internal/tf/pluginsdk/resource.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import ( diff --git a/internal/tf/pluginsdk/retries.go b/internal/tf/pluginsdk/retries.go index 8b98e8520835..37ab67093f67 100644 --- a/internal/tf/pluginsdk/retries.go +++ b/internal/tf/pluginsdk/retries.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import ( diff --git a/internal/tf/pluginsdk/schema.go b/internal/tf/pluginsdk/schema.go index 38c3f34e67eb..67a198febc0b 100644 --- a/internal/tf/pluginsdk/schema.go +++ b/internal/tf/pluginsdk/schema.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" diff --git a/internal/tf/pluginsdk/shim.go b/internal/tf/pluginsdk/shim.go index 68fbc13c42ec..b4fd4547ec83 100644 --- a/internal/tf/pluginsdk/shim.go +++ b/internal/tf/pluginsdk/shim.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import ( diff --git a/internal/tf/pluginsdk/state_upgrades.go b/internal/tf/pluginsdk/state_upgrades.go index e2e6301fde90..f9eed3ac6def 100644 --- a/internal/tf/pluginsdk/state_upgrades.go +++ b/internal/tf/pluginsdk/state_upgrades.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import ( diff --git a/internal/tf/pluginsdk/structure.go b/internal/tf/pluginsdk/structure.go index 677790bcf70b..0e03564508f0 100644 --- a/internal/tf/pluginsdk/structure.go +++ b/internal/tf/pluginsdk/structure.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import "github.com/hashicorp/terraform-plugin-sdk/v2/helper/structure" diff --git a/internal/tf/pluginsdk/tests.go b/internal/tf/pluginsdk/tests.go index ae2c9ad89f66..ab7147e6d479 100644 --- a/internal/tf/pluginsdk/tests.go +++ b/internal/tf/pluginsdk/tests.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import ( diff --git a/internal/tf/pluginsdk/timeouts.go b/internal/tf/pluginsdk/timeouts.go index d82a48fa46bb..e987a7d4e120 100644 --- a/internal/tf/pluginsdk/timeouts.go +++ b/internal/tf/pluginsdk/timeouts.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import ( diff --git a/internal/tf/pluginsdk/types.go b/internal/tf/pluginsdk/types.go index 8e76c7c844cb..e9b753354885 100644 --- a/internal/tf/pluginsdk/types.go +++ b/internal/tf/pluginsdk/types.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pluginsdk import "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" diff --git a/internal/tf/schema/import.go b/internal/tf/schema/import.go index fc762fa496d4..15e27249bcc4 100644 --- a/internal/tf/schema/import.go +++ b/internal/tf/schema/import.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/internal/tf/schema/import_test.go b/internal/tf/schema/import_test.go index 462c9624cfb8..675e21d15309 100644 --- a/internal/tf/schema/import_test.go +++ b/internal/tf/schema/import_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema import ( diff --git a/internal/tf/set/set.go b/internal/tf/set/set.go index 6830b0a50ece..0ba1b7480fb5 100644 --- a/internal/tf/set/set.go +++ b/internal/tf/set/set.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package set import ( diff --git a/internal/tf/state/state.go b/internal/tf/state/state.go index 386805ed9ad3..fad181274bf5 100644 --- a/internal/tf/state/state.go +++ b/internal/tf/state/state.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package state import "strings" diff --git a/internal/tf/suppress/deprecated_soon.go b/internal/tf/suppress/deprecated_soon.go index 942454b4c8be..926f57f88056 100644 --- a/internal/tf/suppress/deprecated_soon.go +++ b/internal/tf/suppress/deprecated_soon.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package suppress import ( diff --git a/internal/tf/suppress/deprecated_soon_test.go b/internal/tf/suppress/deprecated_soon_test.go index 805d9752d891..e5e021b03f27 100644 --- a/internal/tf/suppress/deprecated_soon_test.go +++ b/internal/tf/suppress/deprecated_soon_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package suppress import "testing" diff --git a/internal/tf/suppress/time.go b/internal/tf/suppress/time.go index dd591fc758ae..9a37f3f6463b 100644 --- a/internal/tf/suppress/time.go +++ b/internal/tf/suppress/time.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package suppress import ( diff --git a/internal/tf/suppress/time_test.go b/internal/tf/suppress/time_test.go index 2ada25821292..5eeafc0f1f4d 100644 --- a/internal/tf/suppress/time_test.go +++ b/internal/tf/suppress/time_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package suppress import "testing" diff --git a/internal/tf/suppress/xml.go b/internal/tf/suppress/xml.go index 1f3c6e0174f4..e7d42f138fd4 100644 --- a/internal/tf/suppress/xml.go +++ b/internal/tf/suppress/xml.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package suppress import ( diff --git a/internal/tf/suppress/xml_test.go b/internal/tf/suppress/xml_test.go index b0bd860b456e..a305df6d350b 100644 --- a/internal/tf/suppress/xml_test.go +++ b/internal/tf/suppress/xml_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package suppress import "testing" diff --git a/internal/tf/validation/pluginsdk.go b/internal/tf/validation/pluginsdk.go index 6255a175c961..eda1504def39 100644 --- a/internal/tf/validation/pluginsdk.go +++ b/internal/tf/validation/pluginsdk.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package validation import ( diff --git a/internal/timeouts/determine.go b/internal/timeouts/determine.go index e123762e7556..5f1fe7d44d43 100644 --- a/internal/timeouts/determine.go +++ b/internal/timeouts/determine.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package timeouts import ( diff --git a/internal/tools/generator-resource-id/main.go b/internal/tools/generator-resource-id/main.go index 284fce8cb10f..275232a3f894 100644 --- a/internal/tools/generator-resource-id/main.go +++ b/internal/tools/generator-resource-id/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/tools/generator-resource-id/main_test.go b/internal/tools/generator-resource-id/main_test.go index 5792d2531d7e..c0a2f6e41c9f 100644 --- a/internal/tools/generator-resource-id/main_test.go +++ b/internal/tools/generator-resource-id/main_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/tools/generator-schema-snapshot/main.go b/internal/tools/generator-schema-snapshot/main.go index 118aa0616da6..8a5afd4f3adf 100644 --- a/internal/tools/generator-schema-snapshot/main.go +++ b/internal/tools/generator-schema-snapshot/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/tools/generator-services/main.go b/internal/tools/generator-services/main.go index aec0015023d0..50ef79b9c712 100644 --- a/internal/tools/generator-services/main.go +++ b/internal/tools/generator-services/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/tools/generator-typed-model/main.go b/internal/tools/generator-typed-model/main.go index 44c2419ff21b..05f13c5e2b6c 100644 --- a/internal/tools/generator-typed-model/main.go +++ b/internal/tools/generator-typed-model/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/tools/schema-api/differ/diff.go b/internal/tools/schema-api/differ/diff.go index 06400a2b05a7..728c1a36527e 100644 --- a/internal/tools/schema-api/differ/diff.go +++ b/internal/tools/schema-api/differ/diff.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package differ import ( diff --git a/internal/tools/schema-api/differ/load.go b/internal/tools/schema-api/differ/load.go index 08d239d07f1c..8d4eb5a0c7c3 100644 --- a/internal/tools/schema-api/differ/load.go +++ b/internal/tools/schema-api/differ/load.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package differ import ( diff --git a/internal/tools/schema-api/main.go b/internal/tools/schema-api/main.go index 4b25aa9be1e6..df2e55ca8f02 100644 --- a/internal/tools/schema-api/main.go +++ b/internal/tools/schema-api/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/tools/schema-api/providerjson/handlers.go b/internal/tools/schema-api/providerjson/handlers.go index ca00cc0e49af..6274a03fda25 100644 --- a/internal/tools/schema-api/providerjson/handlers.go +++ b/internal/tools/schema-api/providerjson/handlers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package providerjson import ( diff --git a/internal/tools/schema-api/providerjson/helpers.go b/internal/tools/schema-api/providerjson/helpers.go index b1bf0639f535..6dc07424766d 100644 --- a/internal/tools/schema-api/providerjson/helpers.go +++ b/internal/tools/schema-api/providerjson/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package providerjson import ( diff --git a/internal/tools/schema-api/providerjson/json.go b/internal/tools/schema-api/providerjson/json.go index f7eed926b085..b8ec872cba28 100644 --- a/internal/tools/schema-api/providerjson/json.go +++ b/internal/tools/schema-api/providerjson/json.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package providerjson import ( diff --git a/internal/tools/schema-api/providerjson/transform.go b/internal/tools/schema-api/providerjson/transform.go index 94319f9b69ed..e91852be31f7 100644 --- a/internal/tools/schema-api/providerjson/transform.go +++ b/internal/tools/schema-api/providerjson/transform.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package providerjson import ( diff --git a/internal/tools/schema-api/providerjson/write.go b/internal/tools/schema-api/providerjson/write.go index 854cc9bc48ac..1d82b808b954 100644 --- a/internal/tools/schema-api/providerjson/write.go +++ b/internal/tools/schema-api/providerjson/write.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package providerjson import ( diff --git a/internal/tools/schema-api/schema-rules/become_computed_only.go b/internal/tools/schema-api/schema-rules/become_computed_only.go index 0b5ffb691768..a07d099166a3 100644 --- a/internal/tools/schema-api/schema-rules/become_computed_only.go +++ b/internal/tools/schema-api/schema-rules/become_computed_only.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/become_computed_only_test.go b/internal/tools/schema-api/schema-rules/become_computed_only_test.go index cc4bb128f43a..143ac7b32437 100644 --- a/internal/tools/schema-api/schema-rules/become_computed_only_test.go +++ b/internal/tools/schema-api/schema-rules/become_computed_only_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/default_value_change.go b/internal/tools/schema-api/schema-rules/default_value_change.go index 1c91ccc9abe5..03654c64a4d7 100644 --- a/internal/tools/schema-api/schema-rules/default_value_change.go +++ b/internal/tools/schema-api/schema-rules/default_value_change.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/default_value_change_test.go b/internal/tools/schema-api/schema-rules/default_value_change_test.go index 8de767ccac1f..019d36bf3fbb 100644 --- a/internal/tools/schema-api/schema-rules/default_value_change_test.go +++ b/internal/tools/schema-api/schema-rules/default_value_change_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/new_required_property.go b/internal/tools/schema-api/schema-rules/new_required_property.go index 3503bc632a20..8dd7ac2a31c6 100644 --- a/internal/tools/schema-api/schema-rules/new_required_property.go +++ b/internal/tools/schema-api/schema-rules/new_required_property.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/new_required_property_test.go b/internal/tools/schema-api/schema-rules/new_required_property_test.go index 61955e8cf8a3..d5e3c34ba7f9 100644 --- a/internal/tools/schema-api/schema-rules/new_required_property_test.go +++ b/internal/tools/schema-api/schema-rules/new_required_property_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/optional_remove_computed.go b/internal/tools/schema-api/schema-rules/optional_remove_computed.go index 6bc1701b19f5..d06d2e99d345 100644 --- a/internal/tools/schema-api/schema-rules/optional_remove_computed.go +++ b/internal/tools/schema-api/schema-rules/optional_remove_computed.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/optional_remove_computed_test.go b/internal/tools/schema-api/schema-rules/optional_remove_computed_test.go index 5802bc3e6022..1de44cf7dbf5 100644 --- a/internal/tools/schema-api/schema-rules/optional_remove_computed_test.go +++ b/internal/tools/schema-api/schema-rules/optional_remove_computed_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/optional_to_required.go b/internal/tools/schema-api/schema-rules/optional_to_required.go index 7944d23619d5..b338e6b27afe 100644 --- a/internal/tools/schema-api/schema-rules/optional_to_required.go +++ b/internal/tools/schema-api/schema-rules/optional_to_required.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/optional_to_required_test.go b/internal/tools/schema-api/schema-rules/optional_to_required_test.go index 07390a7d1de2..d4e522afe184 100644 --- a/internal/tools/schema-api/schema-rules/optional_to_required_test.go +++ b/internal/tools/schema-api/schema-rules/optional_to_required_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/property_type.go b/internal/tools/schema-api/schema-rules/property_type.go index 239a2130b8ce..935ad8f3ebf2 100644 --- a/internal/tools/schema-api/schema-rules/property_type.go +++ b/internal/tools/schema-api/schema-rules/property_type.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/property_type_test.go b/internal/tools/schema-api/schema-rules/property_type_test.go index 11d9671f7746..60c6e84f4c44 100644 --- a/internal/tools/schema-api/schema-rules/property_type_test.go +++ b/internal/tools/schema-api/schema-rules/property_type_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import ( diff --git a/internal/tools/schema-api/schema-rules/rule.go b/internal/tools/schema-api/schema-rules/rule.go index e2189489eba3..2c0b5238e911 100644 --- a/internal/tools/schema-api/schema-rules/rule.go +++ b/internal/tools/schema-api/schema-rules/rule.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package schema_rules import "github.com/hashicorp/terraform-provider-azurerm/internal/tools/schema-api/providerjson" diff --git a/internal/tools/website-scaffold/main.go b/internal/tools/website-scaffold/main.go index dc2c184662cd..681083da9ad5 100644 --- a/internal/tools/website-scaffold/main.go +++ b/internal/tools/website-scaffold/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/internal/tools/website-scaffold/main_test.go b/internal/tools/website-scaffold/main_test.go index 03629a14761d..016651a05d0d 100644 --- a/internal/tools/website-scaffold/main_test.go +++ b/internal/tools/website-scaffold/main_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/main.go b/main.go index 8a2213de3db5..251002d3193e 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/scripts/check-test-package.sh b/scripts/check-test-package.sh index 434ae31f8159..2f8427ad7f5d 100755 --- a/scripts/check-test-package.sh +++ b/scripts/check-test-package.sh @@ -1,4 +1,7 @@ #!/usr/bin/env sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + files=$(find . | egrep "/internal/services/[a-z]+/[a-z_]+(resource|data_source)[a-z_]+\.go$" | egrep "test.go") error=false diff --git a/scripts/gofmtcheck.sh b/scripts/gofmtcheck.sh index 80bafdb3a269..06d3af71c5ed 100755 --- a/scripts/gofmtcheck.sh +++ b/scripts/gofmtcheck.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # Check gofmt echo "==> Checking that code complies with gofmt requirements..." diff --git a/scripts/gogetcookie.sh b/scripts/gogetcookie.sh index 1c04215d7ab4..0feeb573c3e1 100755 --- a/scripts/gogetcookie.sh +++ b/scripts/gogetcookie.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + touch ~/.gitcookies chmod 0600 ~/.gitcookies diff --git a/scripts/goimport-file.sh b/scripts/goimport-file.sh index 005d51d580ed..a74b0e169299 100755 --- a/scripts/goimport-file.sh +++ b/scripts/goimport-file.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # remove blank lines in go imports then run goimports diff --git a/scripts/increment-milestone.sh b/scripts/increment-milestone.sh index 9619a0c21066..b975b883737c 100644 --- a/scripts/increment-milestone.sh +++ b/scripts/increment-milestone.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + while getopts u:r:t: flag do diff --git a/scripts/plugin-sdk-fixerupper.sh b/scripts/plugin-sdk-fixerupper.sh index fd506c93e6fa..9b3dad336871 100755 --- a/scripts/plugin-sdk-fixerupper.sh +++ b/scripts/plugin-sdk-fixerupper.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + PACKAGE_NAME="$1" SERVICE_DIRECTORY="./internal/services/$PACKAGE_NAME" diff --git a/scripts/release.sh b/scripts/release.sh index b630f76de2b2..c51aba1c186a 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + REPO_DIR="$(cd "$(dirname "$0")"/.. && pwd)" cd "${REPO_DIR}" diff --git a/scripts/run-breaking-change-detection.sh b/scripts/run-breaking-change-detection.sh index 925c262a0c1b..79e94d1334f6 100755 --- a/scripts/run-breaking-change-detection.sh +++ b/scripts/run-breaking-change-detection.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function runDetect { go run internal/tools/schema-api/main.go -detect .release/provider-schema.json diff --git a/scripts/run-gradually-deprecated.sh b/scripts/run-gradually-deprecated.sh index 14a41fbef7b7..7155f482d652 100755 --- a/scripts/run-gradually-deprecated.sh +++ b/scripts/run-gradually-deprecated.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function runGraduallyDeprecatedFunctions { echo "==> Checking for use of gradually deprecated functions..." diff --git a/scripts/run-lint.sh b/scripts/run-lint.sh index 10718a7fdd56..41650f4b1c56 100755 --- a/scripts/run-lint.sh +++ b/scripts/run-lint.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function runLinters { echo "==> Checking source code against linters..." diff --git a/scripts/run-test.sh b/scripts/run-test.sh index 810c720592e1..baa1a4e15bcd 100755 --- a/scripts/run-test.sh +++ b/scripts/run-test.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function runTests { echo "==> Running Unit Tests..." diff --git a/scripts/run-tflint.sh b/scripts/run-tflint.sh index a87f1bd90364..57fd8663e44c 100755 --- a/scripts/run-tflint.sh +++ b/scripts/run-tflint.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e diff --git a/scripts/scaffold-website.sh b/scripts/scaffold-website.sh index 8a114327fbf6..b6b6c0e073b8 100755 --- a/scripts/scaffold-website.sh +++ b/scripts/scaffold-website.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function verifyVars { echo "==> Verifying required variables are set..." diff --git a/scripts/stats-pandora-sdks.sh b/scripts/stats-pandora-sdks.sh index 8fc76f51c7db..7205268f9fde 100755 --- a/scripts/stats-pandora-sdks.sh +++ b/scripts/stats-pandora-sdks.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + SERVICES=$(ls internal/services/) diff --git a/scripts/terrafmt-acctests.sh b/scripts/terrafmt-acctests.sh index 3d8cd7939278..29e646e2bfca 100755 --- a/scripts/terrafmt-acctests.sh +++ b/scripts/terrafmt-acctests.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + echo "==> Checking acceptance test terraform blocks are formatted..." diff --git a/scripts/terrafmt-website.sh b/scripts/terrafmt-website.sh index 45b8efb1fb7b..972b52304033 100755 --- a/scripts/terrafmt-website.sh +++ b/scripts/terrafmt-website.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + echo "==> Checking documentation terraform blocks are formatted..." diff --git a/scripts/timeouts.sh b/scripts/timeouts.sh index ff0b958dda10..ba85064afb0d 100755 --- a/scripts/timeouts.sh +++ b/scripts/timeouts.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + files=$(find ./internal -type f -name "*.go") error=false diff --git a/scripts/track2-check.sh b/scripts/track2-check.sh index d35a0fa40403..4a499c9e4b8a 100755 --- a/scripts/track2-check.sh +++ b/scripts/track2-check.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function checkForAzCoreUsages { result=$(grep -R "github.com/Azure/azure-sdk-for-go/sdk/azcore" go.mod go.sum) diff --git a/scripts/update-deps.sh b/scripts/update-deps.sh index c1f8f8b5cf8f..128be358e50b 100755 --- a/scripts/update-deps.sh +++ b/scripts/update-deps.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + REPO_DIR="$(cd "$(dirname "$0")"/.. && pwd)" cd "${REPO_DIR}" diff --git a/scripts/validate-examples.sh b/scripts/validate-examples.sh index 6dd81eeea684..a96101a74476 100755 --- a/scripts/validate-examples.sh +++ b/scripts/validate-examples.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + echo "==> Checking examples validate with 'terraform validate'..." diff --git a/utils/base64.go b/utils/base64.go index 258dd3b12dba..da9b1ea959c1 100644 --- a/utils/base64.go +++ b/utils/base64.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils import "encoding/base64" diff --git a/utils/bool.go b/utils/bool.go index 64842ccc6b92..f0e366e7f07c 100644 --- a/utils/bool.go +++ b/utils/bool.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils // NormaliseNilableBool takes a pointer to a bool and returns a zero value or diff --git a/utils/common_marshal.go b/utils/common_marshal.go index 9139f46b0172..f985ac9d8ff0 100644 --- a/utils/common_marshal.go +++ b/utils/common_marshal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils import ( diff --git a/utils/float.go b/utils/float.go index 245a71a8f5e1..60c8332148c0 100644 --- a/utils/float.go +++ b/utils/float.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils // NormalizeNilableFloat normalizes a nilable float64 into a float64 value diff --git a/utils/int.go b/utils/int.go index 2419b9dd8beb..e4cfb9d55919 100644 --- a/utils/int.go +++ b/utils/int.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils // NormaliseNilableInt takes a pointer to an int and returns a zero value or diff --git a/utils/json.go b/utils/json.go index 26b0d780d861..e07c82c567c8 100644 --- a/utils/json.go +++ b/utils/json.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils import ( diff --git a/utils/pointer.go b/utils/pointer.go index 157fcf1500a0..985c7f4ae9a4 100644 --- a/utils/pointer.go +++ b/utils/pointer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils func Bool(input bool) *bool { diff --git a/utils/response.go b/utils/response.go index de2074d8082e..ebe2ded1695f 100644 --- a/utils/response.go +++ b/utils/response.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils import ( diff --git a/utils/response_test.go b/utils/response_test.go index 4c22070383c8..7beb26ce1d2a 100644 --- a/utils/response_test.go +++ b/utils/response_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils import ( diff --git a/utils/slice.go b/utils/slice.go index 21c3bbe6fa33..7c298707862e 100644 --- a/utils/slice.go +++ b/utils/slice.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils // RemoveFromStringArray removes all matching values from a string array diff --git a/utils/string.go b/utils/string.go index fa06d2db539e..ae2cb8b97b8e 100644 --- a/utils/string.go +++ b/utils/string.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package utils // NormalizeNilableString normalizes a nilable string into a string diff --git a/version/version.go b/version/version.go index 081f1948ffef..19de2550b44b 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 // ProviderVersion is set during the release process to the release version of the binary