-
Notifications
You must be signed in to change notification settings - Fork 4
/
outputs.tf
24 lines (20 loc) · 882 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
output "GOOGLE_PROJECT_ID" {
value = data.google_project.project.project_id
description = "Google project ID."
}
output "GOOGLE_PROJECT_NUMBER" {
value = data.google_project.project.number
description = "Google project number."
}
output "OIDC_SERVICE_ACCOUNT_EMAIL" {
value = var.existing_service_account_email == "" ? google_service_account.circleci[0].email : data.google_service_account.existing_sa[var.existing_service_account_email].email
description = "OIDC service account ID."
}
output "OIDC_WIP_ID" {
value = google_iam_workload_identity_pool.circleci.workload_identity_pool_id
description = "GCP IAM workload identity pool ID."
}
output "OIDC_WIP_PROVIDER_ID" {
value = google_iam_workload_identity_pool_provider.circleci.workload_identity_pool_provider_id
description = "GCP IAM workload identity pool provider ID."
}