From f421ef6c6807c3bf3cd9ea90d895fb25844dd4ba Mon Sep 17 00:00:00 2001 From: Grzegorz Dowmont <gdowmont@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:06:32 +0100 Subject: [PATCH 1/2] feat: Add new output with state machine name (#63) Co-authored-by: Anton Babenko <anton@antonbabenko.com> --- README.md | 1 + outputs.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 0d5442d..3c02aba 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,7 @@ No modules. | <a name="output_state_machine_arn"></a> [state\_machine\_arn](#output\_state\_machine\_arn) | The ARN of the Step Function | | <a name="output_state_machine_creation_date"></a> [state\_machine\_creation\_date](#output\_state\_machine\_creation\_date) | The date the Step Function was created | | <a name="output_state_machine_id"></a> [state\_machine\_id](#output\_state\_machine\_id) | The ARN of the Step Function | +| <a name="output_state_machine_name"></a> [state\_machine\_name](#output\_state\_machine\_name) | The Name of the Step Function | | <a name="output_state_machine_status"></a> [state\_machine\_status](#output\_state\_machine\_status) | The current status of the Step Function | | <a name="output_state_machine_version_arn"></a> [state\_machine\_version\_arn](#output\_state\_machine\_version\_arn) | The ARN of state machine version | <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> diff --git a/outputs.tf b/outputs.tf index 9eafb99..44ada85 100644 --- a/outputs.tf +++ b/outputs.tf @@ -9,6 +9,11 @@ output "state_machine_arn" { value = try(aws_sfn_state_machine.this[0].arn, "") } +output "state_machine_name" { + description = "The Name of the Step Function" + value = try(aws_sfn_state_machine.this[0].name, "") +} + output "state_machine_creation_date" { description = "The date the Step Function was created" value = try(aws_sfn_state_machine.this[0].creation_date, "") From 14d513560d56c2876982bc687c98e4cb6ec3bc17 Mon Sep 17 00:00:00 2001 From: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri, 22 Mar 2024 10:06:58 +0000 Subject: [PATCH 2/2] chore(release): version 4.2.0 [skip ci] ## [4.2.0](https://github.com/terraform-aws-modules/terraform-aws-step-functions/compare/v4.1.1...v4.2.0) (2024-03-22) ### Features * Add new output with state machine name ([#63](https://github.com/terraform-aws-modules/terraform-aws-step-functions/issues/63)) ([f421ef6](https://github.com/terraform-aws-modules/terraform-aws-step-functions/commit/f421ef6c6807c3bf3cd9ea90d895fb25844dd4ba)) --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6a3a60..1682ad4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +## [4.2.0](https://github.com/terraform-aws-modules/terraform-aws-step-functions/compare/v4.1.1...v4.2.0) (2024-03-22) + + +### Features + +* Add new output with state machine name ([#63](https://github.com/terraform-aws-modules/terraform-aws-step-functions/issues/63)) ([f421ef6](https://github.com/terraform-aws-modules/terraform-aws-step-functions/commit/f421ef6c6807c3bf3cd9ea90d895fb25844dd4ba)) + ## [4.1.1](https://github.com/terraform-aws-modules/terraform-aws-step-functions/compare/v4.1.0...v4.1.1) (2024-03-06)