File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,11 @@ resource "aws_s3_bucket" "log_bucket" {
3030}
3131
3232resource "aws_alb_target_group" "target_group" {
33- name = " ${ var . alb_name } -tg"
34- port = " ${ var . backend_port } "
35- protocol = " ${ upper (var. backend_protocol )} "
36- vpc_id = " ${ var . vpc_id } "
33+ name = " ${ var . alb_name } -tg"
34+ port = " ${ var . backend_port } "
35+ protocol = " ${ upper (var. backend_protocol )} "
36+ vpc_id = " ${ var . vpc_id } "
37+ deregistration_delay = " ${ var . deregistration_delay } "
3738
3839 health_check {
3940 interval = " ${ var . health_check_interval } "
Original file line number Diff line number Diff line change @@ -46,6 +46,11 @@ variable "cookie_duration" {
4646 default = 1
4747}
4848
49+ variable "deregistration_delay" {
50+ description = " The amount time to wait before changing the state of a deregistering target from draining to unused."
51+ default = 300
52+ }
53+
4954variable "force_destroy_log_bucket" {
5055 description = " If set to true and if the log bucket already exists, it will be destroyed and recreated."
5156 default = false
You can’t perform that action at this time.
0 commit comments