Load script file
You can use the loadTextContent function to load a script file as a string. This function enables you to keep the script in a separate file and retrieve it as a deployment script.
The path you provide to the script file is relative to the Bicep file.
The following example loads a script from a file and uses it for a deployment script.
Last updated