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