modules/data-ingestion/outputs.tf (47 lines of code) (raw):
/**
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
output "dataflow_controller_service_account_email" {
description = "The Dataflow controller service account email. See https://cloud.google.com/dataflow/docs/concepts/security-and-permissions#specifying_a_user-managed_controller_service_account."
value = module.dataflow_controller_service_account.email
}
output "scheduler_service_account_email" {
description = "The Cloud Scheduler service account email, no roles granted."
value = google_service_account.scheduler_controller_service_account.email
}
output "storage_writer_service_account_email" {
description = "The Storage writer service account email. Should be used to write data to the buckets the data ingestion pipeline reads from."
value = google_service_account.storage_writer_service_account.email
}
output "pubsub_writer_service_account_email" {
description = "The PubSub writer service account email. Should be used to write data to the PubSub topics the data ingestion pipeline reads from."
value = google_service_account.pubsub_writer_service_account.email
}
output "data_ingestion_bucket_name" {
description = "The name of the bucket created for data ingestion pipeline."
value = module.data_ingestion_bucket.bucket.name
}
output "data_ingestion_dataflow_bucket_name" {
description = "The name of the bucket created for dataflow in the data ingestion pipeline."
value = module.dataflow_bucket.bucket.name
}
output "data_ingestion_topic_name" {
description = "The topic created for data ingestion pipeline."
value = module.data_ingestion_topic.topic
}
output "data_ingestion_bigquery_dataset" {
description = "The bigquery dataset created for data ingestion pipeline."
value = module.bigquery_dataset.bigquery_dataset
}