Open benc-uk opened 3 years ago
There are a number of other functions that rely on az cli
, notably those in pkg/testing/cli.go
I'm less worried about tests, it's runtime dependency I'd like to minimise The ultimate prize would be to remove any reliance on the Azure CLI, but that would involve handling our own auth, getting tokens etc, which is long way off, but no reason to make things harder for ourselves.
The function
GetVMIdentities()
in azure/cli.go needs rewriting to call the Azure API rather than use the CLIReasons
Notes / Considerations
None
Outcomes
getVM(vmName string, resGroup string)
in vm.go to call the API and get the VM details,