Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,17 @@ module "elastic_beanstalk_environment" {

updating_max_batch = 1

healthcheck_url = "${var.healthcheck_url}"
loadbalancer_type = "${var.loadbalancer_type}"
vpc_id = "${var.vpc_id}"
public_subnets = "${var.public_subnets}"
private_subnets = "${var.private_subnets}"
security_groups = "${var.security_groups}"
keypair = "${var.keypair}"
solution_stack_name = "${var.solution_stack_name}"
env_default_key = "${var.env_default_key}"
env_default_value = "${var.env_default_value}"
healthcheck_url = "${var.healthcheck_url}"
loadbalancer_type = "${var.loadbalancer_type}"
loadbalancer_certificate_arn = "${var.loadbalancer_certificate_arn}"
vpc_id = "${var.vpc_id}"
public_subnets = "${var.public_subnets}"
private_subnets = "${var.private_subnets}"
security_groups = "${var.security_groups}"
keypair = "${var.keypair}"
solution_stack_name = "${var.solution_stack_name}"
env_default_key = "${var.env_default_key}"
env_default_value = "${var.env_default_value}"

# 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
env_vars = "${
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ variable "loadbalancer_type" {
description = "Load Balancer type, e.g. 'application' or 'classic'"
}

variable "loadbalancer_certificate_arn" {
type = "string"
default = ""
description = "Load Balancer SSL certificate ARN"
}

variable "public_subnets" {
type = "list"
description = "List of public subnets to place Elastic Load Balancer"
Expand Down