Skip to content

Commit 63eb4df

Browse files
committed
define $PROJECT_NUMBER
1 parent 38875e1 commit 63eb4df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

broker/cloud_run/lvk/ps_to_storage/deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ region="${4:-us-central1}"
1313
versiontag="${5:-v1_0}"
1414
# get the environment variable
1515
PROJECT_ID=$GOOGLE_CLOUD_PROJECT
16+
PROJECT_NUMBER=$(gcloud projects describe "$PROJECT_ID" --format="value(projectNumber)")
1617

1718
MODULE_NAME="alerts-to-storage" # lower case required by cloud run
1819
ROUTE_RUN="/" # url route that will trigger main.run()

0 commit comments

Comments
 (0)