Eventarc for Cloud Run avis
8079 avis
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. · Examiné il y a environ 2 heures
Check this lab
Paras S. · Examiné il y a environ 3 heures
Paras S. · Examiné il y a environ 3 heures
Paras S. · Examiné il y a environ 3 heures
OUT OF DATE of course. rm beta change --matching-criteria to --event-filters Nice challenge, thanks.
Michał W. · Examiné il y a environ 10 heures
Prathamesh S. · Examiné il y a environ 12 heures
very bad
Anurag M. · Examiné il y a environ 20 heures
ERROR: (gcloud.beta.eventarc.attributes.types.list) This command has been removed. Please use `gcloud eventarc` instead
Galih S. · Examiné il y a 1 jour
Atul P. · Examiné il y a 2 jours
parameter don't exists. correct is event-filters
FILIPE U. · Examiné il y a 2 jours
There is some problem with commands. While solving, I faced a problem with Task no. 5. It showed that the given command was not found and I even tried to make some changes to the command as per the given suggestions but it is still not working. And now I don't have free access to this lab anymore. So, I would like to request you to please take a look at this problem.
Aastha P. · Examiné il y a 2 jours
Prathamesh S. · Examiné il y a 2 jours
OUT OF DATE
Michał W. · Examiné il y a 3 jours
Rinu Jacob C. · Examiné il y a 3 jours
update the code given in labs not working
720Gamer G. · Examiné il y a 3 jours
Muhammet Emin K. · Examiné il y a 3 jours
ok
Mujoko M. · Examiné il y a 3 jours
Peter C. · Examiné il y a 4 jours
broken lab
Arbaz K. · Examiné il y a 4 jours
Rajinder N. · Examiné il y a 5 jours
Eman A. · Examiné il y a 5 jours
Eventarc commands are outdated. had to use gemini to figure out new commands as eventarc is not beta anymore
Veera Raagavan R. · Examiné il y a 5 jours
Sumit G. · Examiné il y a 5 jours
Gayathri P. · Examiné il y a 5 jours
Ankita C. · Examiné il y a 5 jours
Nous ne pouvons pas certifier que les avis publiés proviennent de consommateurs qui ont acheté ou utilisé les produits. Les avis ne sont pas vérifiés par Google.