Skip to content

Commit

Permalink
v1.3.2: add output instance_profile_arn
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Dec 22, 2021
1 parent b302117 commit 30cb249
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
- split ldap variables into variables.ldap.tf
- add defaults.tf

* 1.3.2 -- 20211222
- output instance_profile_arn

## version 2.x

branch: compat-tf-0.13
Expand All @@ -51,3 +54,6 @@ tag: 2.0.1
- add max_session_duration variable
- split ldap variables into variables.ldap.tf
- add defaults.tf

* 2.0.2 -- 20211222
- output instance_profile_arn
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,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_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 @@ -13,3 +13,8 @@ output "ldap_dn" {
description = "Created LDAP DN for role (empty if ldap is not enabled)"
value = local.enable_ldap ? local.ldap_dn : ""
}

output "instance_profile_arn" {
description = "Created instance profile ARN, if enabled"
value = var.enable_instance_profile ? aws_iam_instance_profile.role.arn : ""
}
2 changes: 1 addition & 1 deletion version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "1.3.1"
_module_version = "1.3.2"
}

0 comments on commit 30cb249

Please sign in to comment.