diff --git a/README.md b/README.md index 0d5442d..3c02aba 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,7 @@ No modules. | [state\_machine\_arn](#output\_state\_machine\_arn) | The ARN of the Step Function | | [state\_machine\_creation\_date](#output\_state\_machine\_creation\_date) | The date the Step Function was created | | [state\_machine\_id](#output\_state\_machine\_id) | The ARN of the Step Function | +| [state\_machine\_name](#output\_state\_machine\_name) | The Name of the Step Function | | [state\_machine\_status](#output\_state\_machine\_status) | The current status of the Step Function | | [state\_machine\_version\_arn](#output\_state\_machine\_version\_arn) | The ARN of state machine version | 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, "")