diff --git a/appengine/flexible/wordpress/README.md b/appengine/flexible/wordpress/README.md index e2ba7dd8d0..5cc6538a00 100644 --- a/appengine/flexible/wordpress/README.md +++ b/appengine/flexible/wordpress/README.md @@ -35,7 +35,7 @@ Engine bucket is named YOUR_PROJECT_ID.appspot.com. Change the default Access Control List (ACL) of that bucket as follows: ``` -$ gsutil defacl ch -u AllUsers:R gs://YOUR_PROJECT_ID.appspot.com +$ gcloud storage buckets update --add-default-object-acl-grant=allUsers:R gs://YOUR_PROJECT_ID.appspot.com ``` ### Create and configure a Cloud SQL for MySQL 2nd generation instance diff --git a/logging/README.md b/logging/README.md index f062efb9ae..08ecab4bc6 100644 --- a/logging/README.md +++ b/logging/README.md @@ -21,7 +21,7 @@ $ php src/list_entries.php your-project-id 'your-logger-name' To use logging sinks, you will also need a Google Cloud Storage Bucket. - gsutil mb gs://[YOUR_PROJECT_ID] + gcloud storage buckets create gs://[YOUR_PROJECT_ID] You must add Cloud Logging as an owner to the bucket. To do so, add `cloud-logs@google.com` as an owner to the bucket. See the diff --git a/run/laravel/README.md b/run/laravel/README.md index 04f18d8e22..214fc80030 100644 --- a/run/laravel/README.md +++ b/run/laravel/README.md @@ -150,7 +150,7 @@ export ASSET_BUCKET=${PROJECT_ID}-static * Create a Cloud Storage bucket: ```bash - gsutil mb gs://${ASSET_BUCKET} + gcloud storage buckets create gs://${ASSET_BUCKET} ``` ### Setup Artifact Registry @@ -257,7 +257,7 @@ The configuration is similar to the deployment to Cloud Run, requiring the datab ### Upload static assets -Using the custom `npm` command, you can use `vite` to compile and `gsutil` to copy the assets from your application to Cloud Storage. +Using the custom `npm` command, you can use `vite` to compile and `gcloud storage` to copy the assets from your application to Cloud Storage. * Upload static assets: @@ -269,7 +269,7 @@ Using the custom `npm` command, you can use `vite` to compile and `gsutil` to co * Confirm the output of this operation - * You should see vite returning "N modules transformed", and gsutil returning "Operation completed over N objects" + * You should see vite returning "N modules transformed", and gcloud storage returning "Operation completed over N objects" ### Deploy the service to Cloud Run diff --git a/run/laravel/package.json b/run/laravel/package.json index ae2b36890a..eaf1feecb7 100644 --- a/run/laravel/package.json +++ b/run/laravel/package.json @@ -3,7 +3,7 @@ "scripts": { "dev": "vite", "build": "vite build", - "update-static": "vite build && gsutil -m cp -r public/* gs://${ASSET_BUCKET}" + "update-static": "vite build && gcloud storage cp --recursive public/* gs://${ASSET_BUCKET}" }, "devDependencies": {