Created
February 15, 2017 15:14
-
-
Save davoodharun/ed07eb83826c6389435911ce8d9d882b to your computer and use it in GitHub Desktop.
Create storage account, automation account, key vault for automation with Octopus Deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Script needs to be run with elevated priveleges, as it interacts with the local file system (for generation of a certificate) | |
#Executes the initial setup script, creating a dedicated resource group, storage account, and azure automation account. | |
#Optionally uploads arm templtes and pss runbooks to created storage account (if path specified) | |
#Optionally publishes all ps runbooks in specified directory to azure automation account created by the process. | |
& "$($PSScriptRoot)\Orchestration_InitialSetup.ps1" -subscriptionId "<Subscription ID>" ` | |
-resourceGroupName "<Resource Group Name>" ` | |
-StorageAccountNAme "<Storage Account Name (3-15 charaters all lowercase)>" ` | |
-automationAccountName "<Automation Account Name>" ` | |
-keyVaultName "<Key Vault Name>" ` | |
-serverPrincipalCertPassword "<Cert Password>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment