Generate expanded ARM templates from templates with template links from local file system. Simply upload the expanded template to Azure without the need of also uploading your nested templates. Enables you to test ARM templates which contain template links by using tools like Pester.
- Use fully qualified or relative file:// links in the templateLink url
- Supports forward slash directory separator
- Expand nested templates
- Detect endless loops
- Support for parameterLink expansion
- Currently the expanded ARM template is stored with adding '.expanded' between the file name and extension. Example: C:\template.expanded.json If the file already exists, it will be owerriden.
- Option to set the expanded file name
- Option to save nested templates to filesystem while expanding the parent
- Support for https:// links
- Any template validation is left to Azure until the point a public library is available to do that. The templates are treated as json. They are considered valid as long as the json is valid.
- minimal:
ExpandARM.exe -i "complex-template.json"
- full:
ExpandARM.exe -i "complex-template.json" -o "expanded-complex-template.json" -v