When code was moved from terraform template to separate file, "$$" (used to print $ on a tf template) was wrongly left behind.