Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f421ef6

Browse files
gdowmontantonbabenko
andauthored
feat: Add new output with state machine name (#63)
Co-authored-by: Anton Babenko <anton@antonbabenko.com>
1 parent eec8256 commit f421ef6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

‎README.md

Lines changed: 1 addition & 0 deletions
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 -->

‎outputs.tf

Lines changed: 5 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /