Skip to content

Commit 5f9fff4

Browse files
committed
Adding container port as output
1 parent cd0fe23 commit 5f9fff4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Check versions for this module on:
1212

1313
module "td" {
1414
source = "jnonino/ecs-fargate-task-definition/aws"
15-
version = "1.0.0"
15+
version = "1.0.1"
1616
name_preffix = var.name_preffix
1717
profile = var.profile
1818
region = var.region
@@ -60,3 +60,5 @@ Check versions for this module on:
6060
* aws_ecs_task_definition_td_arn - Full ARN of the Task Definition (including both family and revision).
6161
* aws_ecs_task_definition_td_family - The family of the Task Definition.
6262
* aws_ecs_task_definition_td_revision - The revision of the task in a particular family.
63+
* container_port: Port on which the container is listening
64+

outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,8 @@ output "aws_ecs_task_definition_td_revision" {
4343
description = "The revision of the task in a particular family."
4444
value = aws_ecs_task_definition.td.revision
4545
}
46+
output "container_port" {
47+
description = "Port on which the container is listening"
48+
value = var.container_port
49+
}
4650

0 commit comments

Comments
 (0)