File tree Expand file tree Collapse file tree 3 files changed +65
-2
lines changed Expand file tree Collapse file tree 3 files changed +65
-2
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,8 @@ output "alb_listener_arn" {
22 description = " ARN of the Application load balancer"
33 value = aws_lb_listener. https_listener . arn
44}
5+
6+ output "alb_dns_name" {
7+ description = " The DNS name of the ALB"
8+ value = aws_lb. this . dns_name
9+ }
Original file line number Diff line number Diff line change 1- output "cluster_name " {
2- description = " ECS Cluster name"
1+ output "ecs_cluster_name " {
2+ description = " The name of the ECS cluster "
33 value = aws_ecs_cluster. this . name
44}
5+
6+ output "ecs_service_name" {
7+ description = " The name of the ECS service"
8+ value = aws_ecs_service. this . name
9+ }
10+
11+ output "ecs_task_definition_arn" {
12+ description = " The ARN of the ECS task definition"
13+ value = aws_ecs_task_definition. this . arn
14+ }
15+
16+ output "endpoint_details" {
17+ description = " Details of the ECS service endpoint"
18+ value = {
19+ lb_listener_arn = var.endpoint_details.lb_listener_arn
20+ domain_url = var.endpoint_details.domain_url
21+ }
22+ }
Original file line number Diff line number Diff line change 1+ output "alb_dns_name" {
2+ description = " The DNS name of the ALB"
3+ value = module. alb . alb_dns_name
4+ }
5+
6+ output "ecs_cluster_name" {
7+ description = " The name of the ECS cluster"
8+ value = module. ecs . ecs_cluster_name
9+ }
10+
11+ output "ecs_service_name" {
12+ description = " The name of the ECS service"
13+ value = module. ecs . ecs_service_name
14+ }
15+
16+ output "ecs_task_definition_arn" {
17+ description = " The ARN of the ECS task definition"
18+ value = module. ecs . ecs_task_definition_arn
19+ }
20+
21+ output "github_webhook_url" {
22+ description = " The URL for GitHub webhook"
23+ value = format (" %s/events" , module. ecs . endpoint_details . domain_url )
24+ }
25+
26+
27+ output "public_subnet_ids" {
28+ description = " The IDs of the public subnets."
29+ value = var. public_subnet_ids
30+ }
31+
32+ output "private_subnet_ids" {
33+ description = " The IDs of the private subnets."
34+ value = var. private_subnet_ids
35+ }
36+
37+ output "vpc_id" {
38+ description = " The ID of the VPC."
39+ value = var. vpc_id
40+ }
You can’t perform that action at this time.
0 commit comments