updated gcp_cli_create_credential.sh

pull/2/head
Hari Sekhon 3 years ago
parent 6d2eb424ec
commit 43c5faf46f

@ -73,7 +73,7 @@ mkdir -pv "$(dirname "$keyfile")"
if [ -f "$keyfile" ]; then
timestamp "Credentials keyfile '$keyfile' already exists"
else
gcloud iam service-accounts keys create "$keyfile" --iam-account="$service_account" --key-file-type="json"
gcloud iam service-accounts keys create "$keyfile" --iam-account="$service_account" --key-file-type="json" --project "$project"
fi
timestamp "Granting Owner permissions to service account '$service_account' on all projects"

Loading…
Cancel
Save