Skip to content

Commit

Permalink
add output of ecs cluster and service (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
panchalnimesh authored Apr 10, 2023
1 parent 18fa377 commit 4451673
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,33 @@ output "ecs_cluster_kms_arn" {
description = "The AWS Key Management Service key ID to encrypt the data between the local client and the container"
value = try(module.cluster.ecs_cluster_kms_arn, "")
}

output "ecs_cluster_id" {
description = "ID of the ECS Cluster"
value = try(module.cluster.ecs_cluster_id, "")
}

output "ecs_cluster_arn" {
description = "ARN of the ECS Cluster"
value = try(module.cluster.ecs_cluster_arn, "")
}

output "ecs_cluster_name" {
description = "The name of the ECS cluster"
value = try(module.cluster.ecs_cluster_name, "")
}

output "ecs_service_arn" {
description = "ARN of the ECS service"
value = try(module.cluster.ecs_service_arn, "")
}

output "ecs_service_name" {
description = "The name of the ECS service"
value = try(module.cluster.ecs_service_name, "")
}

output "aws_ecs_task_definition" {
description = "ARN of the ECS service"
value = try(module.cluster.aws_ecs_task_definition, "")
}

0 comments on commit 4451673

Please sign in to comment.