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 in GCP by anonymous
• 5,700 points
16 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 by anonymous
• 38,740 points

Related Questions In GCP

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 in GCP by Sirajul
• 38,740 points
38 views
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 in GCP by Sirajul
• 38,740 points
47 views
0 votes
1 answer