Code

This site contains all the code displayed and described on this blog.

Get the Code.

Table of Contents

Test Infrastructure as Code

This code repositories contains an azuredeploy.json and different scripts to create, run and tests a deployment.

Getting Started

Get the Code. Run:

# azuredeploy.ps1
$Name = "MyResourceGroup"
$Location = "WestEurope"

$TemplateFile = "$PSScriptRoot\azuredeploy.json"
$TemplateParameterFile = "$PSScriptRoot\azuredeploy.parameters.json"

New-ParameterFile | Out-File $TemplateParameterFile

# Change Parameter File Properties

New-AzResourceGroup -Name $Name -Location $Location -Confirm
New-AzResourceGroupDeployment -TemplateFile $TemplateFile -TemplateParameterFile $TemplateParameterFile -Verbose

Files

Code of Conduct

This is a personal repository by markwarneke. Microsoft is NOT maintaining this repository. The project sticks to the code of conduct

Contact

Generate File Inventory

Get-ChildItem -Recurse | % { Write-Host ("- [{0}](./{0})" -f $_.Name)  }