pub fn queue_needs_project_push_subscriber(
stack: &Stack,
queue_id: &str,
) -> boolExpand description
Whether the Queue queue_id is setup-owned (Frozen), has a dead-letter setting and is the
trigger of a Worker. A Worker’s push subscription on such a queue is not written by anything
that holds IAM write access at runtime, so setup grants the Pub/Sub service agent
roles/pubsub.subscriber for the project once (Google’s documented grant for dead-letter
subscriptions) instead. See queues_needing_project_push_subscriber.