Policy: GCP > SQL > Instance > Labels > Template
The template is used to generate the keys and values for GCP SQL instance.
Labels not defined in Instance Labels Template will not be modified or deleted. Setting a label value to undefined
will result in the label being deleted.
See Labels for more information.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Policy Specification
Default template |
|
---|---|
Default template input |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceTags
- tmod:@turbot/gcp-sql#/policy/types/instanceLabelsTemplate
- turbot graphql policy-type --id "tmod:@turbot/gcp-sql#/policy/types/instanceLabelsTemplate"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-sql#/policy/types/instanceLabelsTemplate"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI