compute-forwarding-rule
dcos-terraform/compute-forwarding-rule/gcp
GCP Forwarding Rule ============ This module creates an GCP forwarding rule. By default it creats two rules for port 80 and port 443. These could be overwritten by setting rules. With additional_rules you can specify rules that get applied in additon to 80 and 443 EXAMPLE ------- ``hcl module "dcos-forwarding-rule" { source = "terraform-dcos/compute-forwarding-rule/gcp" version = "~> 0.2.0" cluster_name = "production" instances_self_link = ["us-central1-a/myinstance1","us-central1-b/myinstance2"] additional_rules = [ { port_range = "8080" load_balancing_scheme = "EXTERNAL" ip_protocol = "TCP" }, ] } ` Inputs | Name | Description | Type | Default | Required | |------|-------------|:----:|:-----:|:-----:| | cluster\_name | Name of the DC/OS cluster | string | n/a | yes | | additional\_rules
| Name | Type | Description | Default |
|---|---|---|---|
| cluster_name | string | Name of the DC/OS cluster | required |
| instances_self_link | list(string) | List of instance self links | [] |
| additional_rules | list | List of additional rules | [] |
| name_format | string | printf style format for naming the ELB. Gets truncated to 32 characters. (input | "%s-load-balancer" |
| health_check | map | Health check definition. Setting partial keys is allowed. E.g. only setting `por | {
"check_interval_sec": 30,
"healthy |
| rules | list(string) | List of rules. By default HTTP and HTTPS are set. If set it overrides the defaul | [] |
| disable | string | Do not create load balancer and its resources | false |
| name_prefix | string | Name Prefix | "" |
| labels | map(string) | Add custom labels to all resources | {} |
ip_address — Load balancer ip address