File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ No resources.
152
152
| <a name =" output_ecs_service_arn " ></a > [ ecs\_ service\_ arn] ( #output\_ ecs\_ service\_ arn ) | The ARN of the ECS service |
153
153
| <a name =" output_ecs_service_name " ></a > [ ecs\_ service\_ name] ( #output\_ ecs\_ service\_ name ) | The name of the ECS service |
154
154
| <a name =" output_ecs_task_definition_arn " ></a > [ ecs\_ task\_ definition\_ arn] ( #output\_ ecs\_ task\_ definition\_ arn ) | The ARN of the ECS task definition |
155
+ | <a name =" output_ecs_task_role_arn " ></a > [ ecs\_ task\_ role\_ arn] ( #output\_ ecs\_ task\_ role\_ arn ) | The ARN of the IAM role assigned to the ECS task |
155
156
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
156
157
157
158
## Development
Original file line number Diff line number Diff line change 1
1
output "ecs_cluster_name" {
2
2
description = " The name of the ECS cluster"
3
- value = length (module. ecs_service ) > 0 ? module. ecs_service [0 ]. ecs_service : null
3
+ value = length (module. ecs_cluster ) > 0 ? module. ecs_cluster [0 ]. ecs_cluster : null
4
4
}
5
5
6
6
output "ecs_service_name" {
7
7
description = " The name of the ECS service"
8
- value = length (module. ecs_service ) > 0 ? module. ecs_service [0 ]. ecs_service_name : null
8
+ value = length (module. ecs_service ) > 0 ? module. ecs_service [0 ]. service_name : null
9
9
}
10
10
11
11
output "ecs_service_arn" {
@@ -17,3 +17,8 @@ output "ecs_task_definition_arn" {
17
17
description = " The ARN of the ECS task definition"
18
18
value = length (module. ecs_service ) > 0 ? module. ecs_service [0 ]. ecs_task_definition_arn : null
19
19
}
20
+
21
+ output "ecs_task_role_arn" {
22
+ description = " The ARN of the IAM role assigned to the ECS task"
23
+ value = length (module. ecs_service ) > 0 ? module. ecs_service [0 ]. ecs_task_role_arn : null
24
+ }
You can’t perform that action at this time.
0 commit comments