Skip to content

genevieve/az-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

Follow the updated terraforming-azure docs to create a service principal.

Create an azure automation account

Requirements:

Installation

brew tap genevieve/tap
brew install az-automation

Usage

Usage:
  az-automation [OPTIONS]

Application Options:
  -a, --account=                Your account id or name. Use 'az account list' to see your accounts.
  -d, --display-name=           Display name for application. Must be unique.
  -i, --identifier-uri=         Must be unique.
  -c, --credential-output-file= Must be unique. (default: creds.tfvars)

Help Options:
  -h, --help                    Show this help message

Steps:

  1. Log in to the azure cli

    az login
    az account list
    
  2. Run

    az-automation
      --account your-account-name \
      --identifier-uri http://example.com \
      --display-name example-applicaion-name \
      --credential-output-file creds.tfvars