Skip to content

Creating a v2 onSchedule function fails to create a pubsub topic #1393

@krumholz

Description

@krumholz

Related issues

None found

[REQUIRED] Version info

node:
v16.19.1

firebase-functions:
4.4.0

firebase-tools:
12.0.0

firebase-admin:
11.8.0

[REQUIRED] Test case

Verify in Cloud PubSub that there is no topic created.

[REQUIRED] Steps to reproduce

Create a new v2 onSchedule function from the cli. Deploy it. Verify that the function was created in Cloud Functions, the Cloud Scheduler job was created, but there is no PubSub topic.

[REQUIRED] Expected behavior

When creating a v2 onSchedule function a pubsub topic should be created and used as the Target for the function.

[REQUIRED] Actual behavior

No pubsub topic was created.

Were you able to successfully deploy your functions?

Deploy succeeded, no errors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions