Skip to content

Commit

Permalink
(Chore) Output ecs security group (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stretch96 authored and tfhartmann committed Mar 29, 2019
1 parent 91a02cb commit e334ad6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ Outputs
- `cluster_name` - (String) ECS Cluster name that can be used for CloudWatch app autoscaling policy resource_id.
- `autoscaling_group` _(Map)_ A map with keys `id`, `name`, and `arn` of the `aws_autoscaling_group` created.
- `iam_role` _(Map)_ A map with keys `arn` and `name` of the `iam_role` created.
- `security_group` _(Map)_ A map with keys `id`, `name`, and `arn` of the `aws_security_group` created.
>>>>>>> (Chore) Output ecs security group
Authors
=======
Expand Down
8 changes: 8 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@ output "iam_role" {
arn = "${aws_iam_role.ecs_role.arn}"
}
}

output "security_group" {
value = {
id = "${aws_security_group.ecs.id}"
name = "${aws_security_group.ecs.name}"
arn = "${aws_security_group.ecs.arn}"
}
}

0 comments on commit e334ad6

Please sign in to comment.