Skip to content

Commit 1f85ba4

Browse files
authored
ELI-597: Adds escape character for email formatting (#547)
1 parent ad6623a commit 1f85ba4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

infrastructure/stacks/api-layer/step_functions.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,10 @@ INSTRUCTIONS:
106106
2. Ensure the new hashes are working as expected.
107107
3. Run the command below to approve and resume the workflow:
108108
109-
aws stepfunctions send-task-success --task-token $$.Task.Token --task-output {{}}
109+
aws stepfunctions send-task-success --task-token {} --task-output \\{\\}
110110
111111
======================================================
112+
', $$.Task.Token)
112113
EOT
113114

114115
delete_jobs_message = <<EOT
@@ -127,9 +128,10 @@ INSTRUCTIONS:
127128
2. Ensure the old hashes have been removed successfully.
128129
3. Run the command below to approve and resume the workflow:
129130
130-
aws stepfunctions send-task-success --task-token $$.Task.Token --task-output {{}}
131+
aws stepfunctions send-task-success --task-token {} --task-output \\{\\}
131132
132133
======================================================
134+
', $$.Task.Token)
133135
EOT
134136

135137
failure_message = <<EOT

0 commit comments

Comments
 (0)