Skip to content

Commit

Permalink
enable-encrypted
Browse files Browse the repository at this point in the history
  • Loading branch information
yadavprakash committed May 20, 2021
1 parent 6d4d4e7 commit a5d73c2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion _example/alb/.terraform.tfstate.lock.info

This file was deleted.

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 = true
http_enabled = true
https_enabled = false
http_enabled = false
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 @@ -24,14 +24,14 @@ resource "aws_lb" "main" {
internal = var.internal
load_balancer_type = var.load_balancer_type
security_groups = var.security_groups
drop_invalid_header_fields = var.drop_invalid_header_fields
subnets = var.subnets
enable_deletion_protection = var.enable_deletion_protection
idle_timeout = var.idle_timeout
enable_cross_zone_load_balancing = var.enable_cross_zone_load_balancing
enable_http2 = var.enable_http2
ip_address_type = var.ip_address_type
tags = module.labels.tags
drop_invalid_header_fields = true

timeouts {
create = var.load_balancer_create_timeout
Expand Down
5 changes: 0 additions & 5 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ variable "load_balancer_type" {
sensitive = true
}

variable "drop_invalid_header_fields" {
type = bool
default = true
description = "Indicates whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false). The default is false. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens. Only valid for Load Balancers of type application."
}

variable "subnet_mapping" {
default = []
Expand Down

0 comments on commit a5d73c2

Please sign in to comment.