Skip to content

Commit ee54e6a

Browse files
committed
Support setting HTTPS ports
1 parent 3a092b6 commit ee54e6a

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ This software is released under the MIT License (see `LICENSE`).
9595
| lb\_healthcheck\_protocol | Protocol for LB to use when connecting health checks (default HTTP) | string | `HTTP` | no |
9696
| lb\_healthcheck\_timeout | Timeout in seconds for LB to use when connecting health checks (default 5) | string | `5` | no |
9797
| lb\_healthcheck\_unhealthy\_threshold | Number of consecutive failed health checks before marking service as unhealthy (default 2) | string | `5` | no |
98+
| lb\_https\_ports | HTTPS ports load balancer should listen on | string | `443` | no |
9899
| lb\_internal | Configure LB as internal-only | string | `true` | no |
99100
| lb\_ports | Ports load balancer should listen on | string | `80` | no |
100101
| lb\_stickiness\_enabled | Enable LB session stickiness (default false) | string | `false` | no |

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ module "lb" {
5353
lb_protocols = "${compact(split(",", local.lb_protocols))}"
5454
internal = "${var.lb_internal}"
5555
ports = "${var.lb_ports}"
56+
lb_https_ports = "${var.lb_https_ports}"
5657
subnets = "${var.lb_subnet_ids}"
5758

5859
/*

resource-plan-graph.png

189 KB
Loading

variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ variable "lb_cookie_duration" {
125125
default = "86400"
126126
}
127127

128+
variable "lb_https_ports" {
129+
description = "HTTPS ports load balancer should listen on"
130+
default = "443"
131+
}
132+
128133
variable "lb_ports" {
129134
description = "Ports load balancer should listen on"
130135
default = "80"

0 commit comments

Comments
 (0)