Skip to content

Commit 2637922

Browse files
author
mayank0202
committed
added in locals for ssm
1 parent ba708cc commit 2637922

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

locals.tf

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ locals {
44

55
## ssm
66
ssm_params = concat(var.additional_ssm_params, [
7-
## alb
7+
# alb
88
{
99
name = "/${var.namespace}/${var.environment}/alb/${module.alb.alb_name}/endpoint"
1010
value = module.alb.alb_dns_name
@@ -29,6 +29,19 @@ locals {
2929
description = "ALB Health Check FQDN."
3030
type = "String"
3131
},
32+
## listeners
33+
{
34+
name = "/${var.namespace}/${var.environment}/alb/${module.alb.alb_name}/http_listener/arn"
35+
value = aws_lb_listener.http.arn
36+
description = "ARN of the HTTP listener"
37+
type = "String"
38+
},
39+
{
40+
name = "/${var.namespace}/${var.environment}/alb/${module.alb.alb_name}/https_listener/arn"
41+
value = aws_lb_listener.https.arn
42+
description = "ARN of the HTTPS listener"
43+
type = "String"
44+
},
3245

3346
## acm
3447
{

0 commit comments

Comments
 (0)