fix error returned from deployment-manager delete
deployment-manager delete returns error when it shouldn't. I do have active account selected.
gcloud deployment-manager deployments delete my-depl --configuration=vm.yaml --project=$MYGCPPROJECT
The following deployments will be deleted:
Do you want to continue (y/N)? y
ERROR: (gcloud.deployment-manager.deployments.delete) You do not currently have an active account selected.
$ gcloud auth login
to obtain new credentials, or if you have already logged in with a
$ gcloud config set account ACCOUNT
to select an already authenticated account to use.
user01@-SRVC-LTOP-01:~/gcp/gcp_deployment$ gcloud config get-value account
user01@-SRVC-LTOP-01:~/gcp/gcpdeployment$ gcloud config get-value project
user01@**-SRVC-LTOP-01:~/gcp/gcpdeployment$ gcloud deployment-manager deployments list
NAME LASTOPERATIONTYPE STATUS DESCRIPTION MANIFEST ERRORS
my-depl insert DONE [RESOURCE_ERROR]
Google Cloud SDK 234.0.0