This module creates various resources in Alkira from .yaml files.
Define the path to your .yaml configuration file in the module.
module "baseline" {
source = "alkiranet/baseline/alkira"
# path to config
config_files = "./config/network.yaml"
}
The module will automatically create resources if they are present in the .yaml configuration with the proper resource keys defined.
network.yaml
---
segment:
- name: 'business'
cidrs:
- '10.100.1.0/24'
group:
- name: 'cloud'
description: 'Cloud Workloads'
- name: 'www'
description: 'Internet Egress'
billing_tag:
- name: 'shared-services'
description: 'MCN Shared Services'
connector_internet:
- name: 'www-east'
description: 'MCN Internet East'
cxp: 'US-EAST-2'
group: 'www'
segment: 'business'
...
Name | Version |
---|---|
terraform | >= 1.6.1 |
alkira | >= 1.2.5 |
No providers.
Name | Source | Version |
---|---|---|
billing_tag | ./modules/base-network | n/a |
connector_aws_vpc | ./modules/connector-aws-vpc | n/a |
connector_azure_vnet | ./modules/connector-azure-vnet | n/a |
connector_cisco_sdwan | ./modules/connector-cisco-sdwan | n/a |
connector_gcp_vpc | ./modules/connector-gcp-vpc | n/a |
connector_internet | ./modules/connector-internet-exit | n/a |
connector_ipsec | ./modules/connector-ipsec | n/a |
connector_oci_vcn | ./modules/connector-oci-vcn | n/a |
connector_vmware_sdwan | ./modules/connector-vmware-sdwan | n/a |
global_cidr_list | ./modules/base-network | n/a |
group | ./modules/base-network | n/a |
internet_application | ./modules/internet-application | n/a |
prefix_list | ./modules/base-network | n/a |
segment | ./modules/base-network | n/a |
service_fortinet | ./modules/service-fortinet | n/a |
service_pan | ./modules/service-pan | n/a |
traffic_policy | ./modules/traffic-policy | n/a |
traffic_rule | ./modules/traffic-policy | n/a |
traffic_rule_list | ./modules/traffic-policy | n/a |
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
config_file | Path to .yaml files | string |
n/a | yes |
Name | Description |
---|---|
alkira_connector_aws_id | ID of AWS connector |
alkira_connector_aws_implicit_group_id | Implicit group ID of AWS connector |
alkira_connector_azure_id | ID of Azure connector |
alkira_connector_azure_implicit_group_id | Implicit group ID of Azure connector |
alkira_connector_gcp_id | ID of GCP connector |
alkira_connector_gcp_implicit_group_id | Implicit group ID of GCP connector |
billing_tag_id | ID of billing tag |
connector_cisco_sdwan_id | ID of Cisco SDWAN connector |
connector_cisco_sdwan_implicit_group_id | Implicit group ID of Cisco SDWAN connector |
connector_internet_id | ID of internet exit connector |
connector_internet_implicit_group_id | Implicit group ID of internet connector |
connector_ipsec_id | ID of IPSec connector |
connector_ipsec_implicit_group_id | Implicit group ID of internet connector |
connector_oci_id | ID of OCI connector |
connector_oci_implicit_group_id | Implicit group ID of OCI connector |
connector_vmware_sdwan_id | ID of VMware SDWAN connector |
connector_vmware_sdwan_implicit_group_id | Implicit group ID of VMware SDWAN connector |
global_cidr_list_id | ID of global cidr list |
group_id | ID of group |
internet_application_group_id | Group ID of Internet Application |
internet_application_id | ID of Internet Application |
prefix_list_id | ID of prefix list |
segment_id | ID of segment |
service_fortinet_id | ID of Fortinet service |
service_pan_id | ID of PAN service |
traffic_policy_id | ID of traffic policy |
traffic_rule_id | ID of traffic rule |
traffic_rule_list_id | ID of traffic rule list |