Idem language provider for Azure
Project description
Microsoft Azure Cloud Provider for Idem
Azure is a cloud service offered by Microsoft that provides virtual machines, SQL services, media services, and more. Azure Resource Manager is the next generation of the Azure portal and API. This provider is a POP plugin and an extension of Idem, allowing Idem users to leverage Microsoft Azure Resource Manager functionality to enforce the state of cloud infrastructure, applications, configurations, and more.
INSTALLATION
The azurerm idem provider can be installed via pip:
pip install idem-azurerm
INSTALLATION FOR DEVELOPMENT
- Clone the
idem_provider_azurerm
repository and install with pip:pip install -r requirements.txt
- Run
pip install -e <path to provider>
from your project's root directory
You are now fully set up to begin developing additional functionality for this provider.
EXECUTION
After installation the Azure Resource Manager Idem Provider execution and state modules will be accessible to the hub.
The provider authenticates with a service principal, so all state and execution modules require that a dictionary populated with the data shown below be passed to them.
{% set profile = {
'client_id': '<YOUR CLIENT ID>',
'secret': '<YOUR SECRET>',
'subscription_id': '<YOUR SUBSCRIPTION ID>',
'tenant': '<YOUR TENANT>' } %}
The following example uses an azurerm state module to ensure the existence of a resource group.
Resource group exists:
azurerm.resource.group.present:
- name: idem
- location: eastus
- tags:
organization: EITR Technologies
- connection_auth: {{ profile }}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for idem_azurerm-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cc286eea01a83b360e661fe07a010c34814b48e9d6730309ca88b75fded1571 |
|
MD5 | 9b6702b4bd9548c7a631fa4bbacd7b31 |
|
BLAKE2b-256 | 226454aaea98f5a941ddb474713109ed07f0793cb30a84807ce53ee2161e481d |