From 8004c1761931d28667c1f439cb33f2c77bc05ca5 Mon Sep 17 00:00:00 2001 From: Julien Corioland Date: Tue, 23 Apr 2019 17:10:21 +0200 Subject: [PATCH] contributing on AzureRM --- provider/CONTRIBUTE.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/provider/CONTRIBUTE.md b/provider/CONTRIBUTE.md index 57361d6c..9304f33b 100644 --- a/provider/CONTRIBUTE.md +++ b/provider/CONTRIBUTE.md @@ -45,6 +45,8 @@ First, go to the [AzureRM Terraform provider](https://github.com/terraform-provi Once done, you need to clone your fork into the `$GOPATH/src/github.com/terraform-providers/terraform-provider-azurerm` folder. +## Build the sources + You can check that everything is OK by building the AzureRM provider: ```bash @@ -56,11 +58,16 @@ Once completed, the binary of the AzureRM provider should be available in the `$ *Note: on Windows, you need to use Git Bash* +More information [here](https://github.com/terraform-providers/terraform-provider-azurerm#developing-the-provider). + ## Work with your local build Once you have built a new version of the AzureRM Terraform provider, you can use it locally. +To use your local version, the first thing to do is a `terraform init`, as usual, to inialize your terraform working directory. -**TODO** +The init operation will download the AzureRM Provider for you. You can just remove it, and replace it with your local copy. + +Do a `terraform init` again and you're done ! :-) ## Debug the AzureRM provider using Visual Studio Code and Delve