Now that I have the above information I can deploy from storage.
note I left off uploading the blob file to storage, however assume that occured.
# Template args contains both querystring and also TemplateURI
$TemplateArgs
Name Value
---- -----
TemplateURI https://acu1brwhaag1saglobal.blob.core.windows.net/project/deploy/deploy1.json
queryString sv=2019-07-07&sr=c&sig=FX9szdADBtNHBujUxRU6OsDyIw4OkAVhBIsrZ7MRk%3D&se=2021-03-31T11%3A17%3A32Z&sp=r
New-AzResourceGroupDeployment -Name $DeploymentName @TemplateArgs @OptionalParameters `
-ResourceGroupName $ResourceGroupName `
-Verbose -ErrorVariable ErrorMessages
There could be several ways to facilitate this new capability.
querystring now becomes a combination of the storageURI root & the queryString
Note we no longer strip the ?
The querystring now defines the root of the storage URI, any relativePath reference in the templates will be in relation to that root. i.e. not the template file.
There could be new parameters added that basically do a similar thing
RelativePath
queryString
BaseURI
However in the end they facilitate being able to define a project root that is lower than a specific template file, that may not exist in the root of any project. This also facilitates references to other side by side template files in storage or TemplateSpec reference paths.
This is a proposal that should be relevant for the following 2 scenarios
Currently when deploying a Template that uses RelativePath you have the following 2 parameters.
This is a proposal to provide an additional "URIBase" property.
There are several ways to facilitate this capability, however, first lets set a baseline.
Now that I have the above information I can deploy from storage.
note I left off uploading the blob file to storage, however assume that occured.
There could be several ways to facilitate this new capability.
However in the end they facilitate being able to define a project root that is lower than a specific template file, that may not exist in the root of any project. This also facilitates references to other side by side template files in storage or TemplateSpec reference paths.