|
|
|
@ -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"
|
|
|
|
|