apigee / devrel

Common solutions and tools developed for Apigee
Apache License 2.0
181 stars 159 forks source link

Error when deploying a proxy linked to a GCP service account (ApigeeX new feature) #634

Closed ochaoui closed 1 year ago

ochaoui commented 1 year ago

Hello folks,

I am testing apigee-sackmesser to deploy a proxy that is linked to a GCP service account (new feature in ApigeeX).

When I configure it via the GUI, everything works like a charm :

This config works well !

Now I tried to do that via apigee-sackmesser. The problem is I do not know where should I put the service account name in order to deploy it ... In the edge.json or somewhere in the apiproxy bundle ? image

Here is the error I get after running sackmesser : image

Can you please help me with that ?

Regards,

OmidTahouri commented 1 year ago

Hi @ochaoui -- you should just add the --deployment-sa argument to the sackmesser deploy command, as explained in the output of sackmesser help

I hope this helps!

As a side note, please take note of the documented Apigee Antipatterns which discourages proxying requests to the Apigee API for a variety of reasons.

OmidTahouri commented 1 year ago

Hi @ochaoui -- I'm going to close this due to not hearing back. I'll assume you're able to resolve with the comment above.