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_3

imports:
  - http://www.getcloudify.org/spec/cloudify/5.3.0/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.