Skip to content

This module creates various Alkira and Azure resources from .yaml files

License

Notifications You must be signed in to change notification settings

alkiranet/terraform-alkira-azure-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Builder - Terraform Module

This module creates various resources in Alkira and Azure from .yaml files.

Basic Usage

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"
  
}

Configuration Example

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'
...

Requirements

Name Version
terraform >= 1.6.1
alkira >= 1.1.0
azurerm >= 3.55.0

Providers

No providers.

Modules

Name Source Version
azure_vnet ./modules/azure-vnet n/a

Resources

No resources.

Inputs

Name Description Type Default Required
config_file Path to .yml files string n/a yes

Outputs

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

About

This module creates various Alkira and Azure resources from .yaml files

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages