This module creates various resources in Alkira and Azure from .yaml files.
Define the path to your .yaml configuration file in the module.
module "azure_vnets" {
source = "alkiranet/azure-builder/alkira"
# path to config
config_file = "./config/azure_vnets.yaml"
}
The module will automatically create resources if they are present in the .yaml configuration with the proper resource keys defined.
azure_vnets.yaml
---
azure_vnet:
- name: 'vnet-east'
description: 'Azure East Workloads'
resource_group: 'rg-npe'
region: 'eastus'
credential: 'azure'
cxp: 'US-EAST-2'
group: 'cloud'
segment: 'business'
network_cidr: '10.6.0.0/16'
network_id: '/subscriptions/12345-abcde/resourcegroups/rg-npe/providers/Microsoft.Network/virtualNetworks/vnet-east-npe'
...
Name | Version |
---|---|
terraform | >= 1.6.1 |
alkira | >= 1.1.0 |
azurerm | >= 3.55.0 |
No providers.
Name | Source | Version |
---|---|---|
azure_vnet | ./modules/azure-vnet | n/a |
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
config_file | Path to .yml files | string |
n/a | yes |
Name | Description |
---|---|
alkira_connector_azure_id | ID of Azure connector |
alkira_connector_azure_implicit_group_id | Implicit group ID of Azure connector |
azure_network_id | ID of Azure VNet |
azure_subnet_id | ID of Azure subnet |
azure_vm_private_ip | Private IP of Azure virtual machine |