gcloud compute list networks error: “Some requests did not succeed: - Insufficient Permission”

后端 未结 4 1790
别那么骄傲
别那么骄傲 2021-01-06 10:22

I have created a project and setup a Windows 2012 VM. I am trying to list the networks in the project. Here are the steps I performed:

Initially, I logged into the V

4条回答
  •  不要未来只要你来
    2021-01-06 10:58

    As Misha Brukman in this post answered, you don't have to include the url (as this might change) but simply can type the --scopes option "compute -rw" as in:

    gcloud compute instances create  --scopes compute-rw
    

    If you have already created your vm instance, you can simply use the equivalent update command like this:

    gcloud compute instances update  --scopes compute-rw
    

提交回复
热议问题