Skip to content

Commit f421ef6

Browse files
feat: Add new output with state machine name (#63)
Co-authored-by: Anton Babenko <[email protected]>
1 parent eec8256 commit f421ef6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ No modules.
229229
| <a name="output_state_machine_arn"></a> [state\_machine\_arn](#output\_state\_machine\_arn) | The ARN of the Step Function |
230230
| <a name="output_state_machine_creation_date"></a> [state\_machine\_creation\_date](#output\_state\_machine\_creation\_date) | The date the Step Function was created |
231231
| <a name="output_state_machine_id"></a> [state\_machine\_id](#output\_state\_machine\_id) | The ARN of the Step Function |
232+
| <a name="output_state_machine_name"></a> [state\_machine\_name](#output\_state\_machine\_name) | The Name of the Step Function |
232233
| <a name="output_state_machine_status"></a> [state\_machine\_status](#output\_state\_machine\_status) | The current status of the Step Function |
233234
| <a name="output_state_machine_version_arn"></a> [state\_machine\_version\_arn](#output\_state\_machine\_version\_arn) | The ARN of state machine version |
234235
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

Diff for: outputs.tf

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ output "state_machine_arn" {
99
value = try(aws_sfn_state_machine.this[0].arn, "")
1010
}
1111

12+
output "state_machine_name" {
13+
description = "The Name of the Step Function"
14+
value = try(aws_sfn_state_machine.this[0].name, "")
15+
}
16+
1217
output "state_machine_creation_date" {
1318
description = "The date the Step Function was created"
1419
value = try(aws_sfn_state_machine.this[0].creation_date, "")

0 commit comments

Comments
 (0)