Im trying to create instance in google cloud using the following command gcloud compute instances create my-first-instance --zone us-central1-a
But it threws error as
Failed to find an image for alias [debian-backports] in public image project [debian-cloud]. Acces not configured. The API is not enabled for your project. Please use the Google App Developers Console to update your configuration.
Someone suggest me how to update this configuration and how to create an instance successfully.
(
gcloud.compute.instances.create
) The required propertyproject
is not currently set.It can be set on a per-command basis by re-running your command with the
--project
flag.You may set it for your current workspace by running:
or it can be set temporarily by the environment variable [
CLOUDSDK_CORE_PROJECT
]