Labels
labels
are used to tag the deployment object generated from the blueprint
(unlike blueprint_labels
which tag the blueprint object itself). The labels’ keys are saved in lowercase.
Declaration
labels:
key1:
...
key2:
...
Schema
Keyname | Required | Type | Description |
---|---|---|---|
values | yes | list | A list of values for the specified key. Each value can be either a string or an intrinsic-function, but not get_attribute . |
Example
tosca_definitions_version: cloudify_dsl_1_4
imports:
- cloudify/types/types.yaml
inputs:
environment:
default: aws
labels:
env:
values:
- { get_input: environment }
arch:
values:
- k8s
- docker
Reading Labels
Please refer to the deployments labels page.