Pub/sub gcp to create dataset BQ

How can I create a dataset using pubsub subscription. I can’t find anything terraform