blob: fb853c913e5e7d85262aa60099d523022eb80c1c (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
read -p "Enter 'order_products.csv' path: " path
gcloud storage buckets create gs://$BUCKET_NAME --location=eu
gcloud storage buckets add-iam-policy-binding gs://${BUCKET_NAME} \
--member="serviceAccount:${SERVICE_ACCOUNT}@${PROJECT}.iam.gserviceaccount.com" \
--role="roles/storage.objectCreator"
gcloud storage cp $path gs://$BUCKET_NAME/input/
|