Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Commit 027d2b1

Browse files
authored
Add loadbalancer_certificate_arn (#5)
1 parent 63f701d commit 027d2b1

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

main.tf

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,17 @@ module "elastic_beanstalk_environment" {
3232

3333
updating_max_batch = 1
3434

35-
healthcheck_url = "${var.healthcheck_url}"
36-
loadbalancer_type = "${var.loadbalancer_type}"
37-
vpc_id = "${var.vpc_id}"
38-
public_subnets = "${var.public_subnets}"
39-
private_subnets = "${var.private_subnets}"
40-
security_groups = "${var.security_groups}"
41-
keypair = "${var.keypair}"
42-
solution_stack_name = "${var.solution_stack_name}"
43-
env_default_key = "${var.env_default_key}"
44-
env_default_value = "${var.env_default_value}"
35+
healthcheck_url = "${var.healthcheck_url}"
36+
loadbalancer_type = "${var.loadbalancer_type}"
37+
loadbalancer_certificate_arn = "${var.loadbalancer_certificate_arn}"
38+
vpc_id = "${var.vpc_id}"
39+
public_subnets = "${var.public_subnets}"
40+
private_subnets = "${var.private_subnets}"
41+
security_groups = "${var.security_groups}"
42+
keypair = "${var.keypair}"
43+
solution_stack_name = "${var.solution_stack_name}"
44+
env_default_key = "${var.env_default_key}"
45+
env_default_value = "${var.env_default_value}"
4546

4647
# Provide EFS DNS name to EB in the `EFS_HOST` ENV var. EC2 instance will mount to the EFS filesystem and use it to store Jenkins state
4748
env_vars = "${

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ variable "loadbalancer_type" {
6161
description = "Load Balancer type, e.g. 'application' or 'classic'"
6262
}
6363

64+
variable "loadbalancer_certificate_arn" {
65+
type = "string"
66+
default = ""
67+
description = "Load Balancer SSL certificate ARN"
68+
}
69+
6470
variable "public_subnets" {
6571
type = "list"
6672
description = "List of public subnets to place Elastic Load Balancer"

0 commit comments

Comments
 (0)