cloud-run_pubsub_to_bq

AckeeCZ/cloud-run_pubsub_to_bq/gcp

Terraform Module HCL GCP ⏱ stale 3y 9mo

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

Install

module "cloud-run_pubsub_to_bq" {
source = "AckeeCZ/cloud-run_pubsub_to_bq/gcp"
version = "1.0.1"
}
⭐ Source on GitHub 📦 Registry page

README

PubSub Topic Subscriber to BigQuery Cloud Run subscribes itself to given topic and inserts each message to BigQuery table. Docker image Before use, build & push docker image in ./code folder. ``bash cd code docker build . -t gcr.io/PROJECT/pubsub-to-bq-consumer:latest docker push gcr.io/PROJECT/pubsub-to-bq-consumer:latest ` 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 | >= 1.0 | Providers | Name | Version | |------|---------| | google | n/a | | random | n/a | Modules No modules. Resources | Name | Type | |------|------| | google_cloud_run_service.default | resource | | google_cloud_run_service_iam_policy.n

Inputs (4)

NameTypeDescriptionDefault
topic_namestringTopic name to consume messages from required
bigquery_tablestring`table_id` cloud function variable of the target tablenull
regionstringnull
projectstringnull

Resources (7)

google_cloud_run_servicegoogle_cloud_run_service_iam_policygoogle_project_iam_membergoogle_pubsub_subscriptiongoogle_pubsub_topic_iam_membergoogle_service_accountrandom_string

Details

FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud GCP
★ Stars0
Forks0
Total downloads4.0k
Inputs4
Resources7
NamespaceAckeeCZ
Updated