-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
35 lines (28 loc) · 1005 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
output "project_name" {
description = "Project name"
value = join("", aws_codebuild_project.default.*.name)
}
output "project_id" {
description = "Project ID"
value = join("", aws_codebuild_project.default.*.id)
}
output "role_id" {
description = "IAM Role ID"
value = join("", aws_iam_role.default.*.id)
}
output "role_arn" {
description = "IAM Role ARN"
value = join("", aws_iam_role.default.*.arn)
}
output "cache_bucket_name" {
description = "Cache S3 bucket name"
value = var.enabled == "true" && var.cache_enabled == "true" ? join("", aws_s3_bucket.cache_bucket.*.bucket) : "UNSET"
}
output "cache_bucket_arn" {
description = "Cache S3 bucket ARN"
value = var.enabled == "true" && var.cache_enabled == "true" ? join("", aws_s3_bucket.cache_bucket.*.arn) : "UNSET"
}
output "badge_url" {
description = "The URL of the build badge when badge_enabled is enabled"
value = join("", aws_codebuild_project.default.*.badge_url)
}