diff --git a/CHANGELOG.md b/CHANGELOG.md index d511684..b005c50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,18 @@ All notable changes to this project will be documented in this file. +## 1.1.0 - 2025-04-12 + +### Added + +- Added output variable `arn`. + +### Deprecated + +- Deprecated output variable `iam_role_arn`. Use `arn` instead. + ## 1.0.0 - 2025-04-11 ### Added -- initial import +- Initial import. diff --git a/README.md b/README.md index af5a1f6..e7ca711 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ continuous integration tasks on AWS. ``` hcl module "aws_iam_role" { - source = "git::ssh://git@git.adyxax.org/adyxax/tofu-module-aws-iam-role?depth=1&ref=1.0.0" + source = "git::ssh://git@git.adyxax.org/adyxax/tofu-module-aws-iam-role?depth=1&ref=1.1.0" name = local.name policy_statements = jsonencode([ diff --git a/outputs.tf b/outputs.tf index f3ef649..ebfd120 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,3 +1,10 @@ +output "arn" { + description = "AWS IAM role ARN." + sensitive = false + value = aws_iam_role.main.id +} + +# Deprecated since 1.1.0 output "iam_role_arn" { description = "AWS IAM role ARN." sensitive = false