Skip to content
Open
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 @@ -241,6 +241,7 @@ No modules.
| Name | Description |
|------|-------------|
| <a name="output_aws_security_group_id"></a> [aws\_security\_group\_id](#output\_aws\_security\_group\_id) | ID of the security group created for the CodeBuild project |
| <a name="output_cloudwatch_log_group_name"></a> [cloudwatch\_log\_group\_name](#output\_cloudwatch\_log\_group\_name) | Name of the CloudWatch log group for the CodeBuild project |
| <a name="output_codebuild_project_arn"></a> [codebuild\_project\_arn](#output\_codebuild\_project\_arn) | ARN of the CodeBuild project, to be used when running GitHub Actions |
| <a name="output_codebuild_project_name"></a> [codebuild\_project\_name](#output\_codebuild\_project\_name) | Name of the CodeBuild project, to be used when running GitHub Actions |
| <a name="output_codebuild_role_name"></a> [codebuild\_role\_name](#output\_codebuild\_role\_name) | Name of the CodeBuild role, to be used when running GitHub Actions |
Expand Down
2 changes: 1 addition & 1 deletion examples/multiple-runners/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module "runners" {
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_github_personal_access_token_ssm_parameter"></a> [github\_personal\_access\_token\_ssm\_parameter](#input\_github\_personal\_access\_token\_ssm\_parameter) | The GitHub personal access token to use for accessing the repository | `string` | n/a | yes |
| <a name="input_source_locations"></a> [source\_locations](#input\_source\_locations) | Map of source locations to use when creating runners | <pre>map(object({<br> source_location = string<br> source_name = string<br> }))</pre> | <pre>{<br> "example-1": {<br> "source_location": "https://github.com/my-org/example-1.git",<br> "source_name": "example-1"<br> },<br> "example-2": {<br> "source_location": "https://github.com/my-org/example-2.git",<br> "source_name": "example-2"<br> }<br>}</pre> | no |
| <a name="input_source_locations"></a> [source\_locations](#input\_source\_locations) | Map of source locations to use when creating runners | <pre>map(object({<br/> source_location = string<br/> source_name = string<br/> }))</pre> | <pre>{<br/> "example-1": {<br/> "source_location": "https://github.com/my-org/example-1.git",<br/> "source_name": "example-1"<br/> },<br/> "example-2": {<br/> "source_location": "https://github.com/my-org/example-2.git",<br/> "source_name": "example-2"<br/> }<br/>}</pre> | no |
| <a name="input_subnet_ids"></a> [subnet\_ids](#input\_subnet\_ids) | The list of Subnet IDs for AWS Codebuild to launch ephemeral EC2 instances in. | `list(string)` | n/a | yes |
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | The VPC ID for AWS Codebuild to launch ephemeral instances in. | `string` | n/a | yes |

Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ output "environment_image" {
value = local.environment_image
description = "Docker image used for this CodeBuild project"
}

output "cloudwatch_log_group_name" {
value = try(aws_cloudwatch_log_group.codebuild[0].name, null)
description = "Name of the CloudWatch log group for the CodeBuild project"
}
Loading