Replies: 2 comments
-
Hey, @mmcdermo2 https://www.packer.io/docs/builders/azure/arm
Providing E.g.:
|
Beta Was this translation helpful? Give feedback.
-
I also want the same type of functionality, currently I am cloning repo and loading GenerateResourcesAndImage function inside Azure Pipeline, thereafter I am doing string-replacements for the function before loading and running it to be able to specify my own storage account that will not be deleted. Please @al-cheb can you provide detailed variable explanation here for |
Beta Was this translation helpful? Give feedback.
-
I see that GenerateResourcesAndImage function is creating a new Storage Account each time it is invoked, and that is being passed as a parameter to packer.
Is there a reason why we can't add an optional parameter to this function so that users can have the VHD generated on their own specified Storage Account ? Currently we're have to use AzCopy to copy the artifacts from the temporary Storage Account to a the existing Storage Account where we want them to reside.
It's not a huge deal, but would make our image generation process simpler. However, I don't understand all the workings of how the entire repo is put together, so maybe there's a reason this can't be done.
If the idea above is practical however, I'd be happy to submit a PR
Beta Was this translation helpful? Give feedback.
All reactions