turbot/gcp_labels

Variables in GCP Labels

NameDefaultDescription
prohibited_labels
["Password","Key"]
A list of prohibited labels to check for.
expected_label_values
{"environment":["dev","staging","prod"]}
Map of expected values for various labels, e.g., {"environment": ["Prod", "Staging", "Dev%"]}. SQL wildcards '%' and '_' can be used for matching values. These characters must be escaped for exact matches, e.g., {"created_by": ["test\_user"]}.
label_limit
60
Number of labels allowed on a resource. GCP allows up to 64 labels per resource.
mandatory_labels
["Environment","Owner"]
A list of mandatory labels to check for.