Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.48.0
rev: v1.50.0
hooks:
- id: terraform_fmt
- id: terraform_validate
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,12 @@ No modules.

| Name | Description |
|------|-------------|
| <a name="output_this_role_arn"></a> [this\_role\_arn](#output\_this\_role\_arn) | The ARN of the IAM role created for the Step Function |
| <a name="output_this_role_name"></a> [this\_role\_name](#output\_this\_role\_name) | The name of the IAM role created for the Step Function |
| <a name="output_this_state_machine_arn"></a> [this\_state\_machine\_arn](#output\_this\_state\_machine\_arn) | The ARN of the Step Function |
| <a name="output_this_state_machine_creation_date"></a> [this\_state\_machine\_creation\_date](#output\_this\_state\_machine\_creation\_date) | The date the Step Function was created |
| <a name="output_this_state_machine_id"></a> [this\_state\_machine\_id](#output\_this\_state\_machine\_id) | The ARN of the Step Function |
| <a name="output_this_state_machine_status"></a> [this\_state\_machine\_status](#output\_this\_state\_machine\_status) | The current status of the Step Function |
| <a name="output_role_arn"></a> [role\_arn](#output\_role\_arn) | The ARN of the IAM role created for the Step Function |
| <a name="output_role_name"></a> [role\_name](#output\_role\_name) | The name of the IAM role created for the Step Function |
| <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_status"></a> [state\_machine\_status](#output\_state\_machine\_status) | The current status of the Step Function |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

## Authors
Expand Down
12 changes: 6 additions & 6 deletions examples/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ No inputs.

| Name | Description |
|------|-------------|
| <a name="output_this_role_arn"></a> [this\_role\_arn](#output\_this\_role\_arn) | The ARN of the IAM role created for the State Machine |
| <a name="output_this_role_name"></a> [this\_role\_name](#output\_this\_role\_name) | The name of the IAM role created for the State Machine |
| <a name="output_this_state_machine_arn"></a> [this\_state\_machine\_arn](#output\_this\_state\_machine\_arn) | The ARN of the State Machine |
| <a name="output_this_state_machine_creation_date"></a> [this\_state\_machine\_creation\_date](#output\_this\_state\_machine\_creation\_date) | The date the State Machine was created |
| <a name="output_this_state_machine_id"></a> [this\_state\_machine\_id](#output\_this\_state\_machine\_id) | The ARN of the State Machine |
| <a name="output_this_state_machine_status"></a> [this\_state\_machine\_status](#output\_this\_state\_machine\_status) | The current status of the State Machine |
| <a name="output_role_arn"></a> [role\_arn](#output\_role\_arn) | The ARN of the IAM role created for the State Machine |
| <a name="output_role_name"></a> [role\_name](#output\_role\_name) | The name of the IAM role created for the State Machine |
| <a name="output_state_machine_arn"></a> [state\_machine\_arn](#output\_state\_machine\_arn) | The ARN of the State Machine |
| <a name="output_state_machine_creation_date"></a> [state\_machine\_creation\_date](#output\_state\_machine\_creation\_date) | The date the State Machine was created |
| <a name="output_state_machine_id"></a> [state\_machine\_id](#output\_state\_machine\_id) | The ARN of the State Machine |
| <a name="output_state_machine_status"></a> [state\_machine\_status](#output\_state\_machine\_status) | The current status of the State Machine |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
24 changes: 12 additions & 12 deletions examples/complete/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
# State Machine
output "this_state_machine_id" {
output "state_machine_id" {
description = "The ARN of the State Machine"
value = module.step_function.this_state_machine_id
value = module.step_function.state_machine_id
}

output "this_state_machine_arn" {
output "state_machine_arn" {
description = "The ARN of the State Machine"
value = module.step_function.this_state_machine_arn
value = module.step_function.state_machine_arn
}

output "this_state_machine_creation_date" {
output "state_machine_creation_date" {
description = "The date the State Machine was created"
value = module.step_function.this_state_machine_creation_date
value = module.step_function.state_machine_creation_date
}

output "this_state_machine_status" {
output "state_machine_status" {
description = "The current status of the State Machine"
value = module.step_function.this_state_machine_status
value = module.step_function.state_machine_status
}

# IAM Role
output "this_role_arn" {
output "role_arn" {
description = "The ARN of the IAM role created for the State Machine"
value = module.step_function.this_role_arn
value = module.step_function.role_arn
}

output "this_role_name" {
output "role_name" {
description = "The name of the IAM role created for the State Machine"
value = module.step_function.this_role_name
value = module.step_function.role_name
}
12 changes: 6 additions & 6 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
# Step Function
output "this_state_machine_id" {
output "state_machine_id" {
description = "The ARN of the Step Function"
value = element(concat(aws_sfn_state_machine.this.*.id, [""]), 0)
}

output "this_state_machine_arn" {
output "state_machine_arn" {
description = "The ARN of the Step Function"
value = element(concat(aws_sfn_state_machine.this.*.arn, [""]), 0)
}

output "this_state_machine_creation_date" {
output "state_machine_creation_date" {
description = "The date the Step Function was created"
value = element(concat(aws_sfn_state_machine.this.*.creation_date, [""]), 0)
}

output "this_state_machine_status" {
output "state_machine_status" {
description = "The current status of the Step Function"
value = element(concat(aws_sfn_state_machine.this.*.status, [""]), 0)
}

# IAM Role
output "this_role_arn" {
output "role_arn" {
description = "The ARN of the IAM role created for the Step Function"
value = element(concat(aws_iam_role.this.*.arn, [""]), 0)
}

output "this_role_name" {
output "role_name" {
description = "The name of the IAM role created for the Step Function"
value = element(concat(aws_iam_role.this.*.name, [""]), 0)
}