gcloud compute url-maps invalidate-cdn-cache [CDN_URLMAP] --host --path permission issues

739 views
Skip to first unread message

Ergo Mesh

unread,
Aug 3, 2018, 5:47:47 PM8/3/18
to Google App Engine
I have tried this as Compute Admin, Editor and even Owner and I can not get it to work.

gcloud compute url-maps list  (works great)

gcloud compute url-maps invalidate-cdn-cache  xxx-lb-urlmap --path "/*" 

ERROR: (gcloud.compute.url-maps.invalidate-cdn-cache) Some requests did not succeed:
 - Required 'compute.urlMaps.invalidateCache' permission for 'projects//xxx/global/urlMaps/xxx-lb-urlmap'


Anyone else able to get this to work?



Fady (Google Cloud Platform)

unread,
Aug 6, 2018, 5:18:24 PM8/6/18
to google-a...@googlegroups.com

Hello Ergo,


I tried the command above as an owner of a project, and I was not able to reproduce the error message. Before trying the command again, I suggest verifying if your account is authenticated through the SDK by using  [1] :


gcloud auth list


If not authenticated, try [2] :


gcloud auth login [account]


If this didn’t resolve the issue, I suggest opening a private issue tracker linking to this thread. Opening the report, please include the project ID, and URL map name, and we will be happy to assist.


Reply all
Reply to author
Forward
0 new messages