Created
February 21, 2021 21:14
-
-
Save jdyke/a3954d0b4f39f8ebd084bc7513e905fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
for id in `gcloud projects list --format="value(projectId.scope())"` | |
do | |
echo "Enabling Recommender on project ID: $id" | |
gcloud services enable recommender.googleapis.com --project=$id | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment