-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
49 lines (45 loc) · 1.78 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Samuel Berthollier - 2024
#
# Unless required by applicable law or agreed to in writing, software
# distributed is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
# OR CONDITIONS OF ANY KIND, either express or implied.
output "projects" {
description = "GCP Projects information."
value = {
projects = {
datacleanroom_project_number = module.land-project.number,
datacleanroom_project_id = module.land-project.project_id,
subscriber_project_number = module.cur-project.number,
subscriber_project_id = module.cur-project.project_id,
publisher_project_number = module.prc-project.number,
publisher_project_id = module.prc-project.project_id
}
}
}
output "accounts" {
description = "Service account created."
value = {
Landing_DCR_SA = module.land-sa-0.email,
Subscriber_SA = module.cur-sa-0.email,
Publisher_SA = module.prc-sa-0.email,
Billing_account = var.project_config.billing_account_id,
Super_admin = var.super_admin
}
}
output "bigquery-datasets" {
description = "BigQuery datasets."
value = {
thelook_dataset = module.thelook-dataset.dataset_id,
datacleanroom_dataset = module.dcr-dataset.dataset_id,
publisher_dataset = module.publisher-dataset.dataset_id,
publisher_dataset_dcr = module.dcr-publisher-dataset.dataset_id
}
}
output "data_exchange" {
description = "Accounts used and created"
value = {
data_exchange = google_bigquery_analytics_hub_data_exchange.data-exchange.data_exchange_id,
dcr_listing = google_bigquery_analytics_hub_listing.dcr-listing.listing_id,
Publisher_listing = google_bigquery_analytics_hub_listing.publisher-listing.listing_id
}
}