Skip to content

Commit

Permalink
Added the project arn (#66)
Browse files Browse the repository at this point in the history
* Added the project arn

Added the project ARN so we can reference this somewhere else if needed.

* Updated README.md

Co-authored-by: actions-bot <58130806+actions-bot@users.noreply.github.com>
  • Loading branch information
RRosalia and actions-bot authored Oct 15, 2020
1 parent 84c2a78 commit 9649387
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ Available targets:
| badge\_url | The URL of the build badge when badge\_enabled is enabled |
| cache\_bucket\_arn | Cache S3 bucket ARN |
| cache\_bucket\_name | Cache S3 bucket name |
| project\_arn | Project ARN |
| project\_id | Project ID |
| project\_name | Project name |
| role\_arn | IAM Role ARN |
Expand Down
1 change: 1 addition & 0 deletions docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
| badge\_url | The URL of the build badge when badge\_enabled is enabled |
| cache\_bucket\_arn | Cache S3 bucket ARN |
| cache\_bucket\_name | Cache S3 bucket name |
| project\_arn | Project ARN |
| project\_id | Project ID |
| project\_name | Project name |
| role\_arn | IAM Role ARN |
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ output "badge_url" {
description = "The URL of the build badge when badge_enabled is enabled"
value = join("", aws_codebuild_project.default.*.badge_url)
}

output "project_arn" {
description = "Project ARN"
value = join("", aws_codebuild_project.default.*.arn)
}

0 comments on commit 9649387

Please sign in to comment.