Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 1.05 KB

README.md

File metadata and controls

18 lines (11 loc) · 1.05 KB

Azure Resource Coverage

A console tool to calculate the coverage rate of Azure resources in OSS tools.

Usage

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.