terraform replace function

From wikieduonline
Revision as of 21:48, 27 February 2022 by Chmod15 (talk | contribs)
Jump to navigation Jump to search

https://www.terraform.io/language/functions/replace

replace(string, substring, replacement)

Example

> replace("1 + 2 + 3", "+", "-")
1 - 2 - 3
> replace("hello world", "/w.*d/", "everybody")
hello everybody

See also

Advertising: