Skip to content

Errors when trying to run deploy.sh #98

@blogtutor

Description

@blogtutor

Hi! I'm brand new to Google Cloud, and am trying to get this all installed and working. I've gotten to the point where I'm in the Cloud Shell Editor, have installed the scripts, and have edited deploy.sh (setting my bucket name and directory).

When I run sh ./deploy.sh it gives me errors:

andrew@cloudshell:~/cloudflare-gcp-logstream-update/logpush-to-bigquery$ sh ./deploy.sh
ERROR: (gcloud.pubsub.topics.create) Error parsing [topic].
The [topic] resource is not properly specified.
Failed to find attribute [project]. The attribute can be set in the following ways:
- provide the argument `topic` on the command line with a fully specified name
- provide the argument `--project` on the command line
- set the property `core/project`
ERROR: (gcloud) value for field [projectsId] in collection [pubsub.projects.topics] is required but was not provided
ERROR: (gcloud.functions.deploy) Error parsing [name].
The [function] resource is not properly specified.
Failed to find attribute [project]. The attribute can be set in the following ways:
- provide the argument `--project` on the command line
- set the property `core/project`

Any help is greatly appreciated... Thanks so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions