Skip to content

Commit

Permalink
output ecs security group (#12)
Browse files Browse the repository at this point in the history
* output ecs security group

want to use this in other modules

* updated readme

* updates for standards

removed abbreviation and added "the"
  • Loading branch information
rryke authored and osterman committed Sep 23, 2018
1 parent c902ab1 commit f2e354a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ module "ecs_alb_service_task" {
```
Available targets:
help This help screen
help Help screen
help/all Display help for all targets
help/short This help short screen
```

Expand Down Expand Up @@ -92,6 +93,7 @@ Available targets:
|------|-------------|
| service_name | ECS Service name |
| service_role_arn | ECS Service role ARN |
| service_security_group_id | Security Group id of the ECS task |
| task_role_arn | ECS Task role ARN |


Expand Down
3 changes: 2 additions & 1 deletion docs/targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
```
Available targets:
help This help screen
help Help screen
help/all Display help for all targets
help/short This help short screen
```
1 change: 1 addition & 0 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
|------|-------------|
| service_name | ECS Service name |
| service_role_arn | ECS Service role ARN |
| service_security_group_id | Security Group id of the ECS task |
| task_role_arn | ECS Task role ARN |

5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ output "task_role_arn" {
description = "ECS Task role ARN"
value = "${aws_iam_role.ecs_task.arn}"
}

output "service_security_group_id" {
description = "Security Group id of the ECS task"
value = "${aws_security_group.ecs_service.id}"
}

0 comments on commit f2e354a

Please sign in to comment.