File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,23 @@ variable "https_port" {
10
10
variable "certificate_arn" {}
11
11
12
12
resource "aws_alb_listener" "https" {
13
- load_balancer_arn = " ${ aws_alb . main . id } "
14
- port = " ${ var . https_port } "
13
+ load_balancer_arn = aws_alb. main . id
14
+ port = var. https_port
15
15
protocol = " HTTPS"
16
- certificate_arn = " ${ var . certificate_arn } "
16
+ certificate_arn = var. certificate_arn
17
17
18
18
default_action {
19
- target_group_arn = " ${ aws_alb_target_group . main . id } "
19
+ target_group_arn = aws_alb_target_group. main . id
20
20
type = " forward"
21
21
}
22
22
}
23
23
24
24
resource "aws_security_group_rule" "ingress_lb_https" {
25
25
type = " ingress"
26
26
description = " HTTPS"
27
- from_port = " ${ var . https_port } "
28
- to_port = " ${ var . https_port } "
27
+ from_port = var. https_port
28
+ to_port = var. https_port
29
29
protocol = " tcp"
30
30
cidr_blocks = [" 0.0.0.0/0" ]
31
- security_group_id = " ${ aws_security_group . nsg_lb . id } "
31
+ security_group_id = aws_security_group. nsg_lb . id
32
32
}
You can’t perform that action at this time.
0 commit comments