After Data Ingest in the toy-store-app codelab, there are embedded quotes in the bit of code that derives the AlloyDB Service account id.
This line
gcloud projects add-iam-policy-binding $PROJECT_ID \
--member="serviceAccount:service-$(gcloud projects describe $PROJECT_ID --format="value(projectNumber)")@gcp-sa-alloydb.iam.gserviceaccount.com" \
--role="roles/aiplatform.user"
should be changed to
gcloud projects add-iam-policy-binding $PROJECT_ID \
--member="serviceAccount:service-$(gcloud projects describe $PROJECT_ID --format='value(projectNumber)')@gcp-sa-alloydb.iam.gserviceaccount.com" \
--role="roles/aiplatform.user"
Note the single quotes around 'value(projectNumber)'
After Data Ingest in the toy-store-app codelab, there are embedded quotes in the bit of code that derives the AlloyDB Service account id.
This line
should be changed to
Note the single quotes around 'value(projectNumber)'