The module creates Load Balancers on AzureRM
module "dcos-lbs" {
source = "dcos-terraform/lb/azurerm"
version = "~> 0.2.0"
cluster_name = "production"
location = "North Europe"
resource_group_name = "my-resource-group"
additional_rules = [{
frontend_port = 8080
backend_port = 80
}]
}
Name | Description | Type | Default | Required |
---|---|---|---|---|
cluster_name | Name of the DC/OS cluster | string | n/a | yes |
instance_nic_ids | List of instance nic ids created by this module | list | n/a | yes |
location | Azure Region | string | n/a | yes |
num | How many instances should be created | string | n/a | yes |
resource_group_name | Name of the azure resource group | string | n/a | yes |
additional_rules | List of additional rules | list | <list> |
no |
internal | This ELB is internal only | string | "false" |
no |
lb_name_format | Printf style format for naming the LB. (input cluster_name) | string | "lb-%[1]s" |
no |
name_prefix | Name Prefix | string | "" |
no |
probe | Main probe to check for node health | map | <map> |
no |
rules | List of rules. By default HTTP and HTTPS are set. If set it overrides the default rules. | list | <list> |
no |
subnet_id | Subnet ID | string | "" |
no |
tags | Add custom tags to all resources | map | <map> |
no |
Name | Description |
---|---|
backend_address_pool | backend address pool |
lb_address | lb address |