Azure Resource Manager :: Nested Templates -
the microsoft azure resource manager (arm) api supports nested json templates, declarative provisioning of cloud resources. however, documentation not [currently] state how many layers of nesting supported. 1 layer of nesting, or can nested further? if so, depth limit?
https://azure.microsoft.com/en-us/documentation/articles/resource-group-linked-templates/
right, there no explicit limit. if inspect json schema, not find max restriction defined: deployment template schema. however, azure deployment template limited in total size , must no exceed 1mb:
you must limit size template 1 mb, , each parameter file 64 kb. 1 mb limit applies final state of template after has been expanded iterative resource definitions, , values variables , parameters.
do not confused resources
element though, constrained 5 levels of nesting:
the resources property allows specify child resources related resource being defined. child resources can defined 5 levels deep. important note implicit dependency not created between child resource , parent resource. if need child resource deployed after parent resource, must explicitly state dependency dependson property.
finally, can't imagine situation have more 10 nested templates. think maintainability , how challenging debug/troubleshoot failing deployment
Comments
Post a Comment