How shall I escape the dollar sign $ in Terraform pattern matching? Based on the docs I thought \$ would do:
[ for spn in group.new_spn_owners : spn if length(regexall("^\$.*", spn)) == 0 ]
but I'm getting:
The symbol "$" is not a valid escape sequence selector.