diff --git a/CHANGELOG.md b/CHANGELOG.md index 459df6b..5f62325 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/README.md b/README.md index a07bc31..dbb209a 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,7 @@ No modules. | Name | Description | |------|-------------| | [instance\_profile\_arn](#output\_instance\_profile\_arn) | Created instance profile ARN, if enabled | +| [instance\_profile\_name](#output\_instance\_profile\_name) | Created instance profile name, if enabled | | [ldap\_dn](#output\_ldap\_dn) | Created LDAP DN for role (empty if ldap is not enabled) | | [role\_arn](#output\_role\_arn) | Created role ARN | | [role\_name](#output\_role\_name) | Created role name | diff --git a/outputs.tf b/outputs.tf index 9a56266..1deda7d 100644 --- a/outputs.tf +++ b/outputs.tf @@ -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 : "" +} diff --git a/version.tf b/version.tf index a057cc0..aa8147b 100644 --- a/version.tf +++ b/version.tf @@ -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" }