Skip to content

Commit

Permalink
feat: add ECS task role and exec role ARNs to the output of the module
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-dussault committed Dec 11, 2023
1 parent f6e7e11 commit f15d03a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ module "ecs_app" {
| <a name="output_service_arn"></a> [service\_arn](#output\_service\_arn) | ECS Service ARN |
| <a name="output_service_name"></a> [service\_name](#output\_service\_name) | ECS Service name |
| <a name="output_task_definition_family"></a> [task\_definition\_family](#output\_task\_definition\_family) | ECS task definition family |
| <a name="output_task_exec_role_arn"></a> [task\_exec\_role\_arn](#output\_task\_exec\_role\_arn) | ECS Task exec role ARN |
| <a name="output_task_role_arn"></a> [task\_role\_arn](#output\_task\_role\_arn) | ECS Task role ARN |
| <a name="output_url"></a> [url](#output\_url) | Full URL of the app |
## Breaking Changes

Expand Down
10 changes: 10 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,13 @@ output "ecs_service_security_group_id" {
description = "The ID of the Security Group for the ECS service."
value = module.ecs_service_sg.id
}

output "task_exec_role_arn" {
value = module.service.task_exec_role_arn
description = "ECS Task exec role ARN"
}

output "task_role_arn" {
value = module.service.task_role_arn
description = "ECS Task role ARN"
}

0 comments on commit f15d03a

Please sign in to comment.