Test Kitchen and Chef Provisioning drivers for Azure now work in US Government and Sovereign cloud environments
chef gem update kitchen-azurerm; chef gem update chef-provisioning-azurerm
As an open-source maintainer one of the hardest things is getting access to relevant test environments to test your bits. Especially when that test environment is in a territory or environment you don’t have access to.
I’ve been lucky enough this week to get access to a subscription for the Azure US Government cloud environment, and this has meant I have been able to make fixes to both the kitchen-azurerm and chef-provisioning-azurerm projects.
Test Kitchen (kitchen-azurerm)
Starting with v0.9.0 this driver has support for Azure Government and Sovereign Clouds via the use of the
azure_environmentsetting. Valid Azure environments are
Example .kitchen.yml for Azure US Government cloud:
location: 'US Gov Iowa'
- name: ubuntu1604
- name: default
Chef Provisioning (chef-provisioning-azurerm)
These changes are available in v0.5.0. The driver will automatically use the correct token provider and management endpoints for the relevant cloud environment. The default driver format for the Azure public cloud is:
This can be changed to one of the following formats:
For further details, to raise issues or contribute, please visit the repositories below:
kitchen-azurerm - A driver for Test Kitchen that works with Azure Resource Managergithub.com
chef-provisioning-azurerm - Chef Provisioning driver for Azure Resource Managergithub.com