Is it possible to require labels on creation of any of the GCP resources

0 votes

Can I use labels for creation of GCP resources, and if those labels are not found, the resource either is not created or is straight away terminated?

Nov 5, 2019 in GCP by anonymous
• 19,610 points
2,006 views

1 answer to this question.

0 votes

The labels are a simple way to group resources that are connected or related to others.

For example you'll be able to label resources that are in production or in development then you'll be able to look for resources that are in this states separately.

https://cloud.google.com/compute/docs/labeling-resources

You can use labels when you create a resource in GCP but you can’t force the usage of these labels because not all the products support the labels feature. 

You can have a look at the list of products that support the labels feature:

https://cloud.google.com/resource-manager/docs/creating-managing-labels#label_support

answered Nov 5, 2019 by anonymous
• 59,230 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points
2,613 views
0 votes
1 answer
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points

edited Jun 16, 2023 by Khan Sarfaraz 1,020 views
0 votes
1 answer
0 votes
1 answer

Is there any limit on the number of VPC per project in GCP?

The default limit for number of networks ...READ MORE

answered Oct 9, 2019 in GCP by Sirajul
• 59,230 points
6,101 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP