Skip to content

Commit

Permalink
add variable for ssl_policy TLS listener (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrenarciso4 authored Mar 21, 2024
1 parent afbebb8 commit f0b583b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/alb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ resource "aws_alb_listener" "alb-https" {
load_balancer_arn = aws_alb.alb.arn
port = "443"
protocol = "HTTPS"
ssl_policy = "ELBSecurityPolicy-2016-08"
ssl_policy = var.ssl_policy
certificate_arn = data.aws_acm_certificate.certificate.arn

default_action {
Expand Down
5 changes: 5 additions & 0 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ variable "fixed_response_body" {
default = "No service configured at this address"
}

variable "ssl_policy" {
description = "TLS policy for https listener"
default = "ELBSecurityPolicy-2016-08"
}

variable "paramstore_assume_role" {
description = "assume role when using paramstore"
default = ""
Expand Down

0 comments on commit f0b583b

Please sign in to comment.