Skip to content

Commit

Permalink
escape percentage sign
Browse files Browse the repository at this point in the history
  • Loading branch information
dcryans committed Dec 5, 2023
1 parent a06f095 commit cc6bd79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terraform/hclgen/primitive_entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func finalizeString(s string, indent string) string {
finalString = strings.ReplaceAll(finalString, "${dynatrace_", "DOLLAR_DYNATRACE")

finalString = strings.ReplaceAll(finalString, "${", "$${")
finalString = strings.ReplaceAll(finalString, "%{", "%%{")

finalString = strings.ReplaceAll(finalString, "DOLLAR_DATA_DOT", "${data.")
finalString = strings.ReplaceAll(finalString, "DOLLAR_DYNATRACE", "${dynatrace_")
Expand Down

0 comments on commit cc6bd79

Please sign in to comment.