File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed
Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,6 @@ resource "aws_alb" "this" {
22 name = join (" -" , concat (var. namespace , [var . name ]))
33 security_groups = [aws_security_group . this . id ]
44
5- dynamic "connection_logs" {
6- for_each = var. enable_connection_logs ? [1 ] : []
7- content {
8- bucket = var. s3_logs_bucket_name != " " ? var. s3_logs_bucket_name : aws_s3_bucket. lb_logs [0 ]. id
9- prefix = " connectionlogs"
10- enabled = true
11- }
12- }
13-
145 dynamic "access_logs" {
156 for_each = var. enable_access_logs ? [1 ] : []
167 content {
Original file line number Diff line number Diff line change @@ -8,13 +8,6 @@ variable "enable_access_logs" {
88 default = false
99 description = " Enable or disable ALB access logs. If set to true, logs will be stored in an S3 bucket."
1010}
11-
12- variable "enable_connection_logs" {
13- type = bool
14- default = false
15- description = " Enable or disable ALB connection logs. If set to true, logs will be stored in an S3 bucket."
16- }
17-
1811variable "name" {
1912 description = " Name for this load balancer"
2013 type = string
You can’t perform that action at this time.
0 commit comments