Skip to content

Commit

Permalink
Prepend Copyrights throughout codebase.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bree Stryker committed Feb 23, 2022
1 parent dbecb7e commit 2acf704
Show file tree
Hide file tree
Showing 44 changed files with 187 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
---

version: 2
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
---

name: super-linter

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validate-build-bicep.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
---

name: validate-build-bicep
on:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/validate-terraform.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
---

name: validate-terraform
on:
Expand Down
3 changes: 3 additions & 0 deletions src/bicep/examples/appServicePlan/appService.bicep
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
Deployes a web server farm(aka: App Service Plan) to support web container deployments for Linux.
Optionally enable dynamic auto scaling based on CPU Percentages using 'enableAutoScale' true/false
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param svcPlanName string
param location string
param capacity int = 2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param svcPlanName string
param svcPlanNameID string
param location string
Expand Down
3 changes: 3 additions & 0 deletions src/bicep/examples/containerRegistry/contRegistry.bicep
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
Deployes a premium Azure Container Registry suitable for hosting docker containers.
*/
targetScope = 'subscription'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

@minLength(5)
@maxLength(50)
param registryName string
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/examples/inheritTags/inherit.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param tagNameInherit string

param nowUtc string = utcNow()
Expand Down
3 changes: 3 additions & 0 deletions src/bicep/examples/keyVault/azureKeyVault.bicep
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
Deployes a premium Azure Key Vault to support hardware backed secrets and certificates storage
*/
targetScope = 'subscription'
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/examples/keyVault/modules/keyVault.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param keyVaultName string
param location string = resourceGroup().location
param tenantID string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

targetScope = 'subscription'

param hubResourceGroupName string
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/examples/newWorkload/newWorkload.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ param mlzDeploymentVariables object = json(loadTextContent('../deploymentVariabl
param hubSubscriptionId string = mlzDeploymentVariables.hub.Value.subscriptionId
param hubResourceGroupName string = mlzDeploymentVariables.hub.Value.resourceGroupName
param hubVirtualNetworkName string = mlzDeploymentVariables.hub.Value.virtualNetworkName
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param hubVirtualNetworkResourceId string = mlzDeploymentVariables.hub.Value.virtualNetworkResourceId
param logAnalyticsWorkspaceResourceId string = mlzDeploymentVariables.logAnalyticsWorkspaceResourceId.Value
param firewallPrivateIPAddress string = mlzDeploymentVariables.firewallPrivateIPAddress.Value
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/examples/remoteAccess/main.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param location string = resourceGroup().location

param hubVirtualNetworkName string
Expand Down
3 changes: 3 additions & 0 deletions src/bicep/examples/sentinel/sentinel.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#Copyright (c) Microsoft Corporation.
#Licensed under the MIT License.

terraform {
backend "local" {}

Expand Down
4 changes: 4 additions & 0 deletions src/bicep/mlz.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/
targetScope = 'subscription'

/*
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/bastionHost.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param name string
param location string
param tags object = {}
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/centralLogging.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

// scope
targetScope = 'subscription'

Expand Down
6 changes: 6 additions & 0 deletions src/bicep/modules/firewall.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/


param name string
param location string = resourceGroup().location
param tags object = {}
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/hubNetwork.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param location string = resourceGroup().location
param tags object = {}

Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/hubNetworkPeerings.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param hubVirtualNetworkName string
param spokes array

Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/linuxVirtualMachine.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param name string
param location string
param tags object = {}
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/logAnalyticsDiagnosticLogging.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param diagnosticStorageAccountName string
param logAnalyticsWorkspaceName string

Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/logAnalyticsWorkspace.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param name string
param location string
param tags object = {}
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/networkInterface.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param name string
param location string
param tags object = {}
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/networkSecurityGroup.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param name string
param location string
param tags object = {}
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/policyAssignment.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

@allowed([
'NIST'
'IL5' // AzureUsGoverment only, trying to deploy IL5 in AzureCloud will switch to NIST
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/privateLink.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

@description('The name of the resource the private endpoint is being created for')
param logAnalyticsWorkspaceName string

Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/publicIPAddress.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param name string
param location string
param tags object = {}
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/remoteAccess.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param location string
param tags object = {}

Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/resourceGroup.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

targetScope = 'subscription'

param name string
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/roleAssignment.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param targetResourceId string
param roleDefinitionId string
param principalId string
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/routeTable.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param name string
param location string
param tags object = {}
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/securityCenter.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

targetScope = 'subscription'

var bundle = (environment().name != 'AzureUSGovernment' ? [
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/spokeNetwork.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param location string = resourceGroup().location
param tags object = {}

Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/spokeNetworkPeering.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

targetScope = 'subscription'

param spokeName string
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/storageAccount.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param storageAccountName string
param location string
param skuName string
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/subnet.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param name string

param addressPrefix string
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/virtualNetwork.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param name string
param location string
param tags object = {}
Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/virtualNetworkPeering.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param name string
param remoteVirtualNetworkResourceId string

Expand Down
5 changes: 5 additions & 0 deletions src/bicep/modules/windowsVirtualMachine.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
*/

param name string
param location string
param tags object = {}
Expand Down
2 changes: 0 additions & 2 deletions src/terraform/modules/subnet/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
2 changes: 0 additions & 2 deletions src/terraform/tier3/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

0 comments on commit 2acf704

Please sign in to comment.