Ultimate access to all questions.
You created a compute instance named 'instance1' using the command gcloud compute instances create instance1
. However, instead of creating it in the intended project 'gcp-ace-proj-266520', it was created in a different project. Your current gcloud configuration in cloud shell is as follows:
$ gcloud config list
[component_manager]
disable_update_check = True
[compute]
gce_metadata_read_timeout_sec = 5
zone = europe-west2-a
[core]
account = gcp-ace-lab-user@gmail.com
disable_usage_reporting = False
project = gcp-ace-lab-266520
[metrics]
environment = devshell
What steps should you take to delete the instance from the wrong project and recreate it in the correct project 'gcp-ace-proj-266520'?