aztfmod / rovergo

The next version of Rover, the command line tool for Azure CAF Landingzones. Developed in Go
MIT License
10 stars 7 forks source link

Refactor Azure CLI calls to API calls #97

Open benc-uk opened 3 years ago

benc-uk commented 3 years ago

The function GetVMIdentities() in azure/cli.go needs rewriting to call the Azure API rather than use the CLI

Reasons

Notes / Considerations

None

Outcomes

sebastus commented 3 years ago

There are a number of other functions that rely on az cli, notably those in pkg/testing/cli.go

benc-uk commented 3 years ago

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.