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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ Available targets:
| <a name="output_execution_arn"></a> [execution\_arn](#output\_execution\_arn) | The execution ARN part to be used in lambda\_permission's source\_arn when allowing API Gateway to invoke a Lambda <br/> function, e.g., arn:aws:execute-api:eu-west-2:123456789012:z4675bid1j, which can be concatenated with allowed stage, <br/> method and resource path.The ARN of the Lambda function that will be executed. |
| <a name="output_id"></a> [id](#output\_id) | The ID of the REST API |
| <a name="output_invoke_url"></a> [invoke\_url](#output\_invoke\_url) | The URL to invoke the REST API |
| <a name="output_log_group_name"></a> [log\_group\_name](#output\_log\_group\_name) | The ARN of the Cloudwatch log group |
| <a name="output_root_resource_id"></a> [root\_resource\_id](#output\_root\_resource\_id) | The resource ID of the REST API's root |
| <a name="output_stage_arn"></a> [stage\_arn](#output\_stage\_arn) | The ARN of the gateway stage |
<!-- markdownlint-restore -->
Expand Down
1 change: 1 addition & 0 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
| <a name="output_execution_arn"></a> [execution\_arn](#output\_execution\_arn) | The execution ARN part to be used in lambda\_permission's source\_arn when allowing API Gateway to invoke a Lambda <br/> function, e.g., arn:aws:execute-api:eu-west-2:123456789012:z4675bid1j, which can be concatenated with allowed stage, <br/> method and resource path.The ARN of the Lambda function that will be executed. |
| <a name="output_id"></a> [id](#output\_id) | The ID of the REST API |
| <a name="output_invoke_url"></a> [invoke\_url](#output\_invoke\_url) | The URL to invoke the REST API |
| <a name="output_log_group_name"></a> [log\_group\_name](#output\_log\_group\_name) | The ARN of the Cloudwatch log group |
| <a name="output_root_resource_id"></a> [root\_resource\_id](#output\_root\_resource\_id) | The resource ID of the REST API's root |
| <a name="output_stage_arn"></a> [stage\_arn](#output\_stage\_arn) | The ARN of the gateway stage |
<!-- markdownlint-restore -->
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ output "stage_arn" {
description = "The ARN of the gateway stage"
value = module.this.enabled ? aws_api_gateway_stage.this[0].arn : null
}

output "log_group_name" {
description = "The ARN of the Cloudwatch log group"
value = local.create_log_group ? module.cloudwatch_log_group.log_group_name : null
}