Policy: GCP > Pub/Sub > Snapshot > Labels
Determine the action to take when an GCP Pub/Sub snapshot labels are not updated based on the GCP > Pub/Sub > Snapshot > Labels > *
policies.
The control ensure GCP Pub/Sub snapshot labels include labels defined in GCP > Pub/Sub > Snapshot > Labels > Template
.
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:
Related Policies
Controls
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceTags
- tmod:@turbot/gcp-pubsub#/policy/types/snapshotLabels
- turbot graphql policy-type --id "tmod:@turbot/gcp-pubsub#/policy/types/snapshotLabels"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-pubsub#/policy/types/snapshotLabels"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI