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_4
imports:
- cloudify/types/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.