How to declare an escape character using ARM templates

In our template especially the database names are like xxx\xxx-yyy.

How am I supposed to declare those variables for octopus ?


Thanks for reaching out. I believe that simply creating a variable with the value xxx\xxx-yyy and then using it in your template/parameters file like #{variableName] should be enough.

If that didn’t work, could you share us more info like:

  • What have you tried already.
  • Your ARM template/Parameters file so we can see where/how you are using the variable.
  • A full deployment log following the below instructions:
1) Add these 2 variables to your project

2) Create a new release (so the new variables take effect) and deploy it. If possible skip as many steps as you can and only leave step we are troubleshooting in order to avoid the noise in the log.

3) Send us the raw log of that deployment

Best regards,