github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/website/docs/configuration/functions/upper.html.md (about) 1 --- 2 layout: "functions" 3 page_title: "upper - Functions - Configuration Language" 4 sidebar_current: "docs-funcs-string-upper" 5 description: |- 6 The upper function converts all cased letters in the given string to uppercase. 7 --- 8 9 # `upper` Function 10 11 -> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and 12 earlier, see 13 [0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html). 14 15 `upper` converts all cased letters in the given string to uppercase. 16 17 ## Examples 18 19 ``` 20 > upper("hello") 21 HELLO 22 > upper("алло!") 23 АЛЛО! 24 ``` 25 26 This function uses Unicode's definition of letters and of upper- and lowercase. 27 28 ## Related Functions 29 30 * [`lower`](./lower.html) converts letters in a string to _lowercase_. 31 * [`title`](./title.html) converts the first letter of each word in a string to uppercase.