diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8814cf6..6dda893 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/README.md b/README.md index c336ab5..344db63 100644 --- a/README.md +++ b/README.md @@ -207,12 +207,12 @@ No modules. | Name | Description | |------|-------------| -| [this\_role\_arn](#output\_this\_role\_arn) | The ARN of the IAM role created for the Step Function | -| [this\_role\_name](#output\_this\_role\_name) | The name of the IAM role created for the Step Function | -| [this\_state\_machine\_arn](#output\_this\_state\_machine\_arn) | The ARN of the Step Function | -| [this\_state\_machine\_creation\_date](#output\_this\_state\_machine\_creation\_date) | The date the Step Function was created | -| [this\_state\_machine\_id](#output\_this\_state\_machine\_id) | The ARN of the Step Function | -| [this\_state\_machine\_status](#output\_this\_state\_machine\_status) | The current status of the Step Function | +| [role\_arn](#output\_role\_arn) | The ARN of the IAM role created for the Step Function | +| [role\_name](#output\_role\_name) | The name of the IAM role created for the Step Function | +| [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\_status](#output\_state\_machine\_status) | The current status of the Step Function | ## Authors diff --git a/examples/complete/README.md b/examples/complete/README.md index 28f8a52..edbb8e6 100644 --- a/examples/complete/README.md +++ b/examples/complete/README.md @@ -57,10 +57,10 @@ No inputs. | Name | Description | |------|-------------| -| [this\_role\_arn](#output\_this\_role\_arn) | The ARN of the IAM role created for the State Machine | -| [this\_role\_name](#output\_this\_role\_name) | The name of the IAM role created for the State Machine | -| [this\_state\_machine\_arn](#output\_this\_state\_machine\_arn) | The ARN of the State Machine | -| [this\_state\_machine\_creation\_date](#output\_this\_state\_machine\_creation\_date) | The date the State Machine was created | -| [this\_state\_machine\_id](#output\_this\_state\_machine\_id) | The ARN of the State Machine | -| [this\_state\_machine\_status](#output\_this\_state\_machine\_status) | The current status of the State Machine | +| [role\_arn](#output\_role\_arn) | The ARN of the IAM role created for the State Machine | +| [role\_name](#output\_role\_name) | The name of the IAM role created for the State Machine | +| [state\_machine\_arn](#output\_state\_machine\_arn) | The ARN of the State Machine | +| [state\_machine\_creation\_date](#output\_state\_machine\_creation\_date) | The date the State Machine was created | +| [state\_machine\_id](#output\_state\_machine\_id) | The ARN of the State Machine | +| [state\_machine\_status](#output\_state\_machine\_status) | The current status of the State Machine | diff --git a/examples/complete/outputs.tf b/examples/complete/outputs.tf index 38842e0..6591035 100644 --- a/examples/complete/outputs.tf +++ b/examples/complete/outputs.tf @@ -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 } diff --git a/outputs.tf b/outputs.tf index 78f226c..a494abc 100644 --- a/outputs.tf +++ b/outputs.tf @@ -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) }