This module create an application load balancer to acces the masters externally.
module "dcos-lb-masters" {
source = "terraform-dcos/lb-masters/aws"
version = "~> 0.2.0"
cluster_name = "production"
subnet_ids = ["subnet-12345678"]
security_groups = ["sg-12345678"]
instances = ["i-00123456789e960f8"]
num_instances = 1
https_acm_cert_arn = "arn:aws:acm:us-east-1:123456789123:certificate/ooc4NeiF-1234-5678-9abc-vei5Eeniipo4"
}
Name |
Description |
Type |
Default |
Required |
cluster_name |
Name of the DC/OS cluster |
string |
n/a |
yes |
instances |
List of instance IDs |
list |
n/a |
yes |
num_instances |
How many instances should be created |
string |
n/a |
yes |
subnet_ids |
List of subnet IDs created in this network |
list |
n/a |
yes |
disable |
Do not create load balancer and its resources |
string |
"false" |
no |
https_acm_cert_arn |
ACM certifacte to be used. |
string |
"" |
no |
internal |
This ELB is internal only |
string |
"" |
no |
name_prefix |
Name Prefix |
string |
"" |
no |
security_groups |
Security Group IDs to use |
list |
<list> |
no |
tags |
Add custom tags to all resources |
map |
<map> |
no |
Name |
Description |
dns_name |
DNS Name of the master load balancer |