Deploy ARM template
step
This step deploys an Azure Resource Manager template.
Specification
azure
Required
object
A mapping of Azure account configuration.
azure.
connection
Required
A Relay Azure connection to useConnection docs
!Connection {type: azure, name: my-azure-connection}
azure.
cert
Optional
string
Alternate authentication for Azure CLI
deploymentName
Optional
string
Name of the Azure Deployment
resourceGroup
Optional
string
Name of the Resource Group to deploy into
location
Optional
string
Location to deploy into
templateFile
Optional
string
Path to template file
template
Optional
string
Inline Azure Resource Manager template
git
Optional
object
A map of git configuration. If you're using HTTPS, only name and repository are required.
git.
ssh_key
Required
string
The SSH key to use when cloning the git repository. You can pass the key to Relay as a secret. See the example below.
git.
known_hosts
Optional
string
SSH known hosts file. Use a Relay secret to pass the contents of the file into the workflow as a base64-encoded string. See the example below.
git.
name
Required
string
A directory name for the git clone.
git.
branch
Optional
string
The Git branch to clone.
git.
repository
Required
string
The git repository URL.
azure-step-azureresourcemanager-template-deploy
This step deploys (creates or updates) an Azure Resource Manager deployment using a provided template.
Example step configuration
1name: deploy-template2image: relaysh/azure-step-azureresourcemanager-template-deploy3spec:4 azure: !Connection { type: azure, name: my-azure-account }5 deploymentName: !Parameter deploymentName6 location: !Parameter location7 templateFile: !Parameter pathToTemplateJson8 git:9 ssh_key: !Secret ssh_key10 known_hosts: !Secret known_hosts11 name: !Parameter repoName12 branch: !Parameter branch13 repository: !Parameter pathToRepo14 parameters:15 first: example-116 second: example-217