A console tool to calculate the coverage rate of Azure resources in OSS tools.
This tool will calculate the Azure resource coverage rate based on the source code of Azure Rest API Spec and Terraform provider for Azure. So please clone these two repositories to your local filesystem:
git clone https://github.com/Azure/azure-rest-api-specs.git
git clone https://github.com/terraform-providers/terraform-provider-azurerm.git
Next please download and unzip the latest binary of this tool in Releases
tab for your system. Finally, run the following command line to generate the result:
./azure-resource-coverage -api-spec-path "<local full path to azure-rest-api-specs>" -terraform-path "<local full path to terraform-provider-azurerm>" > coverage.csv
And starting from the second line of coverage.csv
, we have the coverage result.