Blueprint Labels

blueprint-labels are used to tag the blueprint object (unlike labels which tag the deployment). blueprint-labels are used for automatically attaching labels to the blueprint. The labels’ keys are saved in lowercase.

Declaration

blueprint-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

blueprint-labels:
  env: 
    values: 
      - { get_input: environment }
  arch:
    values:
      - k8s
      - docker

Reading Labels

Please refer to the blueprints labels page.