We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3012fb4 + b6a0824 commit d9737edCopy full SHA for d9737ed
1 file changed
ci/terraform/alb.tf
@@ -68,4 +68,22 @@ resource "aws_alb_listener_rule" "account_management_alb_listener_https_robots"
68
values = ["/robots.txt"]
69
}
70
71
+}
72
+
73
+resource "aws_alb_listener" "account_managment_alb_listener_http" {
74
+ load_balancer_arn = aws_lb.account_management_alb.id
75
+ port = 80
76
+ protocol = "HTTP"
77
78
+ default_action {
79
+ type = "redirect"
80
81
+ redirect {
82
+ port = "443"
83
+ protocol = "HTTPS"
84
+ status_code = "HTTP_301"
85
+ }
86
87
88
+ tags = local.default_tags
89
0 commit comments