Closed AndrewQuartic closed 7 months ago
@AndrewQuartic Instead of adding a function to the DSC Module, consider creating a separate script that can be utilized with Azure's Custom Script Extension. This script can wrap Invoke-ArcGISConfiguration
as done in your PR.
ARM Template - template.json Sample Script - Script.ps1.txt
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows
I could see scenarios where we would need to do more than Install, InstallLicense, and InstallLicenseConfigure through the Invoke-ArcGISConfiguration function. We may seek to InstallLicense each component, but then configure via federation. This is especially true in scenarios where we seek to pass in configuration options through an ARM template using
Microsoft.Compute/virtualMachines/extensions
. In that scenario, we do not have a clear understanding of how to implement without lower level access to submodules. We should at least have the option to work through these edge cases.