Skip to content

Commit

Permalink
Merge pull request #7 from terraform-modules/add-instance-profile-name
Browse files Browse the repository at this point in the history
add instance_profile_name
  • Loading branch information
badra001 committed Jan 10, 2022
2 parents be33406 + ac8a160 commit d056399
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
* 1.3.4 -- 20220107
- fix to remove ldap provider for tf-0.12

* 1.3.5 -- 20220110
- add output instance_profile_name

## version 2.x

branch: compat-tf-0.13
Expand All @@ -66,3 +69,6 @@ tag: 2.0.1

* 2.1.0 -- 20220106
- prep for tf 0.13+

* 2.1.1 -- 20220110
- add output instance_profile_name
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ No modules.
| Name | Description |
|------|-------------|
| <a name="output_instance_profile_arn"></a> [instance\_profile\_arn](#output\_instance\_profile\_arn) | Created instance profile ARN, if enabled |
| <a name="output_instance_profile_name"></a> [instance\_profile\_name](#output\_instance\_profile\_name) | Created instance profile name, if enabled |
| <a name="output_ldap_dn"></a> [ldap\_dn](#output\_ldap\_dn) | Created LDAP DN for role (empty if ldap is not enabled) |
| <a name="output_role_arn"></a> [role\_arn](#output\_role\_arn) | Created role ARN |
| <a name="output_role_name"></a> [role\_name](#output\_role\_name) | Created role name |
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ output "instance_profile_arn" {
description = "Created instance profile ARN, if enabled"
value = var.enable_instance_profile ? aws_iam_instance_profile.role[0].arn : ""
}

output "instance_profile_name" {
description = "Created instance profile name, if enabled"
value = var.enable_instance_profile ? aws_iam_instance_profile.role[0].name : ""
}
4 changes: 2 additions & 2 deletions version.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
locals {
_module_version = "1.3.4"
# _module_version = "2.1.0"
_module_version = "1.3.5"
# _module_version = "2.1.1"
}

0 comments on commit d056399

Please sign in to comment.