Skip to content

Commit

Permalink
Expose ec2 role (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
dusty73 authored Sep 9, 2020
1 parent a54de68 commit 9b34f99
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ Available targets:
|------|-------------|
| cluster\_id | EMR cluster ID |
| cluster\_name | EMR cluster name |
| ec2\_role | Role name of EMR EC2 instances so users can attach more policies |
| master\_host | Name of the cluster CNAME record for the master nodes in the parent DNS zone |
| master\_public\_dns | Master public DNS |
| master\_security\_group\_id | Master security group ID |
Expand Down
1 change: 1 addition & 0 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
|------|-------------|
| cluster\_id | EMR cluster ID |
| cluster\_name | EMR cluster name |
| ec2\_role | Role name of EMR EC2 instances so users can attach more policies |
| master\_host | Name of the cluster CNAME record for the master nodes in the parent DNS zone |
| master\_public\_dns | Master public DNS |
| master\_security\_group\_id | Master security group ID |
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ output "master_host" {
value = module.dns_master.hostname
description = "Name of the cluster CNAME record for the master nodes in the parent DNS zone"
}

output "ec2_role" {
value = join("", aws_iam_role.ec2.*.name)
description = "Role name of EMR EC2 instances so users can attach more policies"
}

0 comments on commit 9b34f99

Please sign in to comment.