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

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: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ No modules.

| Name | Description |
|------|-------------|
| <a name="output_cloudwatch_log_group_arn"></a> [cloudwatch\_log\_group\_arn](#output\_cloudwatch\_log\_group\_arn) | The ARN of the CloudWatch log group created for the Step Function |
| <a name="output_cloudwatch_log_group_name"></a> [cloudwatch\_log\_group\_name](#output\_cloudwatch\_log\_group\_name) | The name of the CloudWatch log group created for 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 |
Expand Down
2 changes: 2 additions & 0 deletions examples/complete/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ No inputs.

| Name | Description |
|------|-------------|
| <a name="output_cloudwatch_log_group_arn"></a> [cloudwatch\_log\_group\_arn](#output\_cloudwatch\_log\_group\_arn) | The ARN of the CloudWatch log group created for the Step Function |
| <a name="output_cloudwatch_log_group_name"></a> [cloudwatch\_log\_group\_name](#output\_cloudwatch\_log\_group\_name) | The name of the CloudWatch log group created for the Step Function |
| <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 |
Expand Down
11 changes: 11 additions & 0 deletions examples/complete/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,14 @@ output "role_name" {
description = "The name of the IAM role created for the State Machine"
value = module.step_function.role_name
}

# CloudWatch
output "cloudwatch_log_group_arn" {
description = "The ARN of the CloudWatch log group created for the Step Function"
value = module.step_function.cloudwatch_log_group_arn
}

output "cloudwatch_log_group_name" {
description = "The name of the CloudWatch log group created for the Step Function"
value = module.step_function.cloudwatch_log_group_name
}
11 changes: 11 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,14 @@ output "role_name" {
description = "The name of the IAM role created for the Step Function"
value = try(aws_iam_role.this[0].name, "")
}

# CloudWatch
output "cloudwatch_log_group_arn" {
description = "The ARN of the CloudWatch log group created for the Step Function"
value = try(aws_cloudwatch_log_group.sfn[0].arn, "")
}

output "cloudwatch_log_group_name" {
description = "The name of the CloudWatch log group created for the Step Function"
value = try(aws_cloudwatch_log_group.sfn[0].name, "")
}