Eventarc for Cloud Run Ulasan
8119 ulasan
Toji f. · Diulas 18 hari lalu
Sérgio N. · Diulas 18 hari lalu
Ashish S. · Diulas 18 hari lalu
Ashish S. · Diulas 18 hari lalu
There is a deprecated commands for "gcloud beta eventarc .." pls change it to as an eg. gcloud eventarc triggers create trigger-auditlog \ --destination-run-service=${SERVICE_NAME} \ --destination-run-region=europe-west1 \ --event-filters="type=google.cloud.audit.log.v1.written" \ --event-filters="serviceName=storage.googleapis.com" \ --event-filters="methodName=storage.objects.create" \ --service-account=${PROJECT_NUMBER}-compute@developer.gserviceaccount.com
Pradeep C. · Diulas 18 hari lalu
Omnia M. · Diulas 18 hari lalu
Rinu Jacob C. · Diulas 19 hari lalu
Tebogo M. · Diulas 19 hari lalu
Pratham C. · Diulas 19 hari lalu
Marcos P. · Diulas 19 hari lalu
MANIKA S. · Diulas 19 hari lalu
Pratham C. · Diulas 20 hari lalu
Pratham C. · Diulas 20 hari lalu
Pratham C. · Diulas 20 hari lalu
Pratham C. · Diulas 20 hari lalu
In task 4 "gcloud beta eventarc" command not working need update in lab kindy check this one export REGION= gcloud config set project $DEVSHELL_PROJECT_ID gcloud config set run/region $REGION gcloud config set run/platform managed gcloud config set eventarc/location $REGION export PROJECT_NUMBER="$(gcloud projects list \ --filter=$(gcloud config get-value project) \ --format='value(PROJECT_NUMBER)')" gcloud projects add-iam-policy-binding $(gcloud config get-value project) \ --member=serviceAccount:${PROJECT_NUMBER}-compute@developer.gserviceaccount.com \ --role='roles/eventarc.admin' export SERVICE_NAME=event-display export IMAGE_NAME="gcr.io/cloudrun/hello" gcloud run deploy ${SERVICE_NAME} \ --image ${IMAGE_NAME} \ --allow-unauthenticated \ --max-instances=3 gcloud eventarc triggers create trigger-pubsub \ --destination-run-service=${SERVICE_NAME} \ --event-filters="type=google.cloud.pubsub.topic.v1.messagePublished" export TOPIC_ID=$(gcloud eventarc triggers describe trigger-pubsub \ --format='value(transport.pubsub.topic)') gcloud pubsub topics publish ${TOPIC_ID} --message="Hello there" export BUCKET_NAME=$(gcloud config get-value project)-cr-bucket gsutil mb -p $(gcloud config get-value project) \ -l $(gcloud config get-value run/region) \ gs://${BUCKET_NAME}/ ====================================================================================================================================================================================================== From the Navigation menu, select IAM & Admin > Audit Logs In the list of services, check the box for Google Cloud Storage On the right hand side, click the LOG TYPE tab. Admin Write is selected by default, make sure you also select Admin Read, Data Read, Data Write and then click Save. ====================================================================================================================================================================================================== echo "Hello World" > random.txt gsutil cp random.txt gs://${BUCKET_NAME}/random.txt gcloud beta eventarc attributes types describe google.cloud.audit.log.v1.written gcloud eventarc triggers create trigger-auditlog \ --destination-run-service=${SERVICE_NAME} \ --event-filters="type=google.cloud.audit.log.v1.written" \ --event-filters="serviceName=storage.googleapis.com" \ --event-filters="methodName=storage.objects.create" \ --service-account=${PROJECT_NUMBER}-compute@developer.gserviceaccount.com gsutil cp random.txt gs://${BUCKET_NAME}/random.txt -------------------------------------------------------------------------------------------------------------------------------------------------------------
Prince P. · Diulas 20 hari lalu
Check this lab
Paras S. · Diulas 20 hari lalu
Paras S. · Diulas 20 hari lalu
Paras S. · Diulas 20 hari lalu
OUT OF DATE of course. rm beta change --matching-criteria to --event-filters Nice challenge, thanks.
Michał W. · Diulas 20 hari lalu
Prathamesh S. · Diulas 20 hari lalu
very bad
Anurag M. · Diulas 21 hari lalu
ERROR: (gcloud.beta.eventarc.attributes.types.list) This command has been removed. Please use `gcloud eventarc` instead
Galih S. · Diulas 21 hari lalu
Atul P. · Diulas 22 hari lalu
parameter don't exists. correct is event-filters
FILIPE U. · Diulas 22 hari lalu
Kami tidak dapat memastikan bahwa ulasan yang dipublikasikan berasal dari konsumen yang telah membeli atau menggunakan produk terkait. Ulasan tidak diverifikasi oleh Google.