-
Notifications
You must be signed in to change notification settings - Fork 11
/
outputs.tf
69 lines (56 loc) · 2.25 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
output "task_role_arn" {
description = "The Amazon Resource Name (ARN) specifying the ECS service role."
value = var.enabled ? aws_iam_role.task[0].arn : null
}
output "task_role_name" {
description = "The name of the Fargate task service role."
value = var.enabled ? aws_iam_role.task[0].name : null
}
output "task_role_create_date" {
description = "The creation date of the IAM role."
value = var.enabled ? aws_iam_role.task[0].create_date : null
}
output "task_role_id" {
description = "The ID of the role."
value = var.enabled ? aws_iam_role.task[0].id : null
}
output "task_role_unique_id" {
description = "The stable and unique string identifying the role."
value = var.enabled ? aws_iam_role.task[0].unique_id : null
}
output "execution_role_arn" {
description = "The Amazon Resource Name (ARN : null of execution role."
value = var.enabled ? aws_iam_role.execution[0].arn : null
}
output "execution_role_name" {
description = "The name of the execution service role."
value = var.enabled ? aws_iam_role.execution[0].name : null
}
output "execution_role_create_date" {
description = "The creation date of the IAM role."
value = var.enabled ? aws_iam_role.execution[0].create_date : null
}
output "execution_role_id" {
description = "The ID of the execution role."
value = var.enabled ? aws_iam_role.execution[0].id : null
}
output "execution_role_unique_id" {
description = "The stable and unique string identifying the role."
value = var.enabled ? aws_iam_role.execution[0].unique_id : null
}
output "task_definition_arn" {
description = "Full ARN of the Task Definition (including both family and revision)."
value = var.enabled ? aws_ecs_task_definition.task[0].arn : null
}
output "task_definition_family" {
description = "The family of the Task Definition."
value = var.enabled ? aws_ecs_task_definition.task[0].family : null
}
output "task_definition_revision" {
description = "The revision of the task in a particular family."
value = var.enabled ? aws_ecs_task_definition.task[0].revision : null
}
output "container_port" {
description = "Port on which the container is listening."
value = var.enabled ? var.task_container_port : null
}