Skip to content

Instantly share code, notes, and snippets.

#Creates Terraform App Account
Param (
$ApplicationName="Terraform",
$AppURL="http://terraform.io",
[Parameter(Mandatory=$true)]$AppPassword,
$AppRoleAssigned="Owner"
)
$SecurePassword=ConvertTo-SecureString $AppPassword -AsPlainText -Force
$Account = Login-AzureRmAccount