Policy: GCP > Pub/Sub > Subscription > Labels
Determine the action to take when an GCP Pub/Sub subscription labels are not updated based on the GCP > Pub/Sub > Subscription > Labels > *
policies.
The control ensure GCP Pub/Sub subscription labels include labels defined in GCP > Pub/Sub > Subscription > Labels > Template
.
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:
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/subscriptionLabels
- turbot graphql policy-type --id "tmod:@turbot/gcp-pubsub#/policy/types/subscriptionLabels"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-pubsub#/policy/types/subscriptionLabels"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI