cloud-function_pubsub_to_bq

AckeeCZ/cloud-function_pubsub_to_bq/gcp

Terraform Module HCL GCP

Cloud function subscribes itself to given topic and inserts each message to BigQuery table.

Install
module "cloud-function_pubsub_to_bq" {
source = "AckeeCZ/cloud-function_pubsub_to_bq/gcp"
version = "1.1.0"
}
plain text: /constructs/tfmod-ackeecz-cloud-function-pubsub-to-bq-gcp/install.txt
⭐ Source on GitHub 📦 Registry page
README

PubSub Topic Subscriber to BigQuery Cloud function subscribes itself to given topic and inserts each message to BigQuery table. Before you do anything in this module Install pre-commit hooks by running following commands: ``shell script brew install pre-commit terraform-docs pre-commit install ` Requirements | Name | Version | |------|---------| | terraform | >= 0.13 | Providers | Name | Version | |------|---------| | archive | n/a | | google | n/a | | random | n/a | Modules No modules. Resources | Name | Type | |------|------| | google_cloudfunctions_function.function | resource | | google_project_iam_member.sa_bigquery | resource | | google_pubsub_topic_iam_member.sa_subscriber | resource | | google_service_account.sa | resource | | google_storage_bucket.bucket | resource | | google_stor

Inputs (4)
NameTypeDescriptionDefault
topic_namestringTopic name to consume messages from required
bigquery_tablestring`table_id` cloud function variable of the target table required
regionstring required
project_namestring required
Resources (7)
google_cloudfunctions_functiongoogle_project_iam_membergoogle_pubsub_topic_iam_membergoogle_service_accountgoogle_storage_bucketgoogle_storage_bucket_objectrandom_string
Details
FrameworkTerraform Module
LanguageHCL
Version1.1.0
Cloud GCP
★ Stars0
Forks2
Total downloads4.8k
Inputs4
Resources7
NamespaceAckeeCZ
Updated