pulumi / pulumi-gcp

A Google Cloud Platform (GCP) Pulumi resource package, providing multi-language access to GCP
Apache License 2.0
183 stars 53 forks source link

Implement new Pubsub to BIgQuery option #874

Open remintz opened 2 years ago

remintz commented 2 years ago

Hello!

Issue details

I would like to suggest the implementation of the new PubSub to BigQuery option as described here: https://cloud.google.com/blog/products/data-analytics/pub-sub-launches-direct-path-to-bigquery-for-streaming-analytics

Affected area/feature

gcp.pubsub.Subscription

andyndang commented 2 years ago

Note that the example here doesn't work: https://www.pulumi.com/registry/packages/gcp/api-docs/pubsub/subscription/

What you ended up getting is a Pull subscription (incorrect type)

andyndang commented 2 years ago

Actually the example works. Just have to make sure to not be an idiot like me and mix up : and . in the line:

        table: pulumi.interpolate`${testTable.project}:${testTable.datasetId}.${testTable.tableId}`,