Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from skyscrapers/cluster-id
Browse files Browse the repository at this point in the history
Added cluster_id output
  • Loading branch information
iuriaranda authored Apr 25, 2017
2 parents 53064e8 + c4fe188 commit b3ab04c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Setup a basic ECS cluster with the needed IAM rights.
* [`environment`]: String(required): For what environment is this cluster needed (eg staging, production, ...)
### Output
* [`cluster_name`]: String: The name of the ECS cluster.
* [`cluster_id`]: String: The ID (ARN) of the ECS cluster.
* [`ecs-instance-profile`]: IAM instance profile that you need to give to your instances.
* [`ecs-service-role`]: IAM service role for you ECS to manage your loadbalancers

Expand Down
4 changes: 4 additions & 0 deletions ecs-cluster/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ output "cluster_name" {
value = "${aws_ecs_cluster.cluster.name}"
}

output "cluster_id" {
value = "${aws_ecs_cluster.cluster.id}"
}

output "ecs-instance-profile" {
value = "${aws_iam_instance_profile.ecs-instance-profile.name}"
}
Expand Down

0 comments on commit b3ab04c

Please sign in to comment.