kitchen-azurerm
The kitchen-azurerm driver provisions virtual machines on Microsoft Azure using the Azure Resource Manager API. Authenticate with the Azure CLI or a service principal, then set your subscription and location in the driver configuration.
Example kitchen.yml
The following example sets azurerm as the driver in a kitchen.yml file:
driver:
name: azurerm
subscription_id: <azure-subscription-id>
location: eastus
machine_size: Standard_D2s_v3
platforms:
- name: ubuntu-2204
driver:
image_urn: Canonical:0001-com-ubuntu-server-jammy:22_04-lts-gen2:latest
Configuration
The kitchen-azurerm driver provides configuration options that you set in the driver section of your kitchen.yml file, either globally or for an individual platform.
For the complete and current list of settings, see the kitchen-azurerm repository.
Note
The upstream driver documentation can lag behind the driver code.
Verify the configuration options against the version of
kitchen-azurerm installed in your Test Kitchen environment.