Skip to content

Commit

Permalink
ssl_policy_add
Browse files Browse the repository at this point in the history
  • Loading branch information
yadavprakash committed May 21, 2021
1 parent ff04c67 commit 64811c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions _example/alb/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ module "alb" {
target_id = module.ec2.instance_id
vpc_id = module.vpc.vpc_id

https_enabled = false
http_enabled = false
https_enabled = true
http_enabled = true
https_port = 443
listener_type = "forward"
listener_certificate_arn = "arn:aws:acm:eu-west-1:924144197303:certificate/0418d2ba-91f7-4196-991b-28b5c60cd4cf"
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ resource "aws_lb" "main" {
update = var.load_balancer_update_timeout
}
access_logs {
enabled = var.access_logs
enabled = true
bucket = var.log_bucket_name
prefix = module.labels.id
}
Expand Down
5 changes: 0 additions & 5 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,6 @@ variable "load_balancer_update_timeout" {
description = "Timeout value when updating the ALB."
}

variable "access_logs" {
type = bool
default = false
description = "Access logs Enable or Disable."
}

variable "http_listener_type" {
type = string
Expand Down

0 comments on commit 64811c6

Please sign in to comment.