This key represents an individual glob pattern string in the values_from_glob array.
The value is a string that specifies a file path pattern relative to the root of your repository. The path must end in the file extension .cloudcannon.structure-value.yml (note the singular form of "value").
Appears in#
└── Structure
└── values_from_glob
└── [*]Type#
string
Examples#
In this example, the staff Array Input uses inline Structure values from the main Configuration File and also references another value from the boardMember.cloudcannon.structure-value.yml in the /.cloudcannon/structures/ folder.
Copied to clipboard
_inputs:
staff:
type: array
options:
structures:
values_from_glob:
- /.cloudcannon/structures/boardMember.cloudcannon.structure-value.yml
values:
- label: Employee
value:
name:
title:
profile_picture:
- label: Manager
value:
name:
title:
profile_picture:
url:{
"_inputs": {
"staff": {
"type": "array",
"options": {
"structures": {
"values_from_glob": [
"/.cloudcannon/structures/boardMember.cloudcannon.structure-value.yml"
],
"values": [
{
"label": "Employee",
"value": {
"name": null,
"title": null,
"profile_picture": null
}
},
{
"label": "Manager",
"value": {
"name": null,
"title": null,
"profile_picture": null,
"url": null
}
}
]
}
}
}
}
}