I have an issue with integrating with VertexAI. I followed the instructions in this document to run the command in the GCP console. However, I encountered the following errors: Custom IAM Role: ERROR: (gcloud.iam.roles.create) unrecognized arguments: App IAM role for Arize To search the help text of gcloud commands, run: gcloud help -- SEARCH_TERMS Apply IAM Permission: ERROR: Policy modification failed. For a binding with condition, run “gcloud alpha iam policies lint-condition” to identify issues in condition. How can I resolve these issues?
based on your error, it looks like perhaps there's a line break or the quotations around --description="Custom IAM role for Arize App" are broken, causing the command to treat each word as a separate argument?
Thanks for the reply, Nate!
hm that's strange. I can reproduce your error, by removing the double quotations after --title="Arize App. Can you try pasting into a plain text editor, and then copying it in to your terminal? Wondering if there's something on the copy over.
I tried pasting it into a text editor and copying it into the terminal, but it still has the same error message. Here is the command. I just removed the project ID. gcloud iam roles create arizeApp --project=ai-project-id --title=“Arize App” --description=“Custom IAM role for Arize App” --permissions=aiplatform.endpoints.predict --stage=ALPHA
hm, just checking, what version of gsutil are you using?
Ok I think i see the issue
It's not liking the double quotations. Those are the curly double quotations. Can you try this again with the double quotations replaced with the straight double quotations, such as below. You can do it by hand or you can use the ` symbol before and after the command here in slack and it'll replace it for you, like so: gcloud iam roles create arizeApp --project=ai-project-id --title="Arize App" --description="Custom IAM role for Arize App" --permissions=aiplatform.endpoints.predict --stage=ALPHA
woo hoo! great to hear and sorry about that! we'll put in a fix to use the correct quotations. Thanks for reporting this!
