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.