cloudflare / cloudflare/cloudflare-gcp

Errors when trying to run deploy.sh

Open
#98 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
88
Forks
51
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.