Combining phrases
To combine variables into a phrase, however, there are certain rules you have to follow:
Variables can be combined with other words to create longer phrases than can be used, for example, to automatically name your infrastructure, releases, or sandboxes. However, you need to obey the following rules:
- Before the variable: any character is allowed.
- After the variable: letters, numbers, and footers (
_
) are not allowed.
Correct usage:
release-$BUDDY_RUN_ID-staging
release$BUDDY_RUN_ID:staging
release_$BUDDY_RUN_ID[staging]
Incorrect usage:
release-$BUDDY_RUN_ID_staging (footer)
release-$BUDDY_RUN_IDstaging (letter)
release-$BUDDY_RUN_ID1staging (number)
Last modified on Oct 29, 2024