Policy: GCP > Compute Engine > Snapshot > Labels > Template
The template is used to generate the keys and values for GCP Compute Engine snapshot.
Labels not defined in Snapshot 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-computeengine#/policy/types/snapshotLabelsTemplate
- turbot graphql policy-type --id "tmod:@turbot/gcp-computeengine#/policy/types/snapshotLabelsTemplate"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-computeengine#/policy/types/snapshotLabelsTemplate"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI