Skip to main content

All Questions

6 votes
1 answer
3k views

How to set pubsub message filter while creating cloud-function with triggerTopic

I was trying to create a google cloud function which can be triggered by a pubsub topic. I used the google deployment manager template for creating it. But I couldn't find any way to set the ...
0 votes
0 answers
453 views

How can I use deployment manager to create a new service account and topic and only give it access to that topic?

I can create a new pub/sub topic in my templates and a new service account. I can see how to give that service account project wide pub/sub access: https://cloud.google.com/deployment-manager/docs/...
1 vote
1 answer
1k views

setIamPolicy for pubsub topics (at the resource level not project)

I'm using deployment manager to set the IAM policy of an existing pub/sub topic- I don't want to acquire it and I cannot create it with deployment manager (because it exists). So I want to set a ...
3 votes
2 answers
869 views

Google cloud deployment manager couldn't create deployment using "logging.v2.sink" by Permission Denied

I deployed logging.v2.sink using Google Cloud Deployment Manager, however the deployment was failed by permission denied. The problem was also happened in this logsink example of Google Cloud ...
0 votes
0 answers
256 views

Cannot create topic with deployment manager

I am having trouble creating a PubSub topic using the deployment manager. My config.yaml file has the following contents... resources: - name: sam-poc-pubsub-assessment-end-topic # type: pubsub.v1....
4 votes
1 answer
2k views

Unable to subscribe to a google pub sub topic using a service account

I was trying to understand example given in google cloud samples present in this link IAM Example This example creates a service account, a VM, and a Pub/Sub topic. The VM runs as the service ...