Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 931 Bytes

NewDay-README.md

File metadata and controls

38 lines (27 loc) · 931 Bytes

NewDay build instructions

Linux (platform engineering image)

Make sure go is installed

Add gopath if not present

export GOPATH=$(go env GOPATH)

Build

$ make tools
...
$ make build
...
$ $GOPATH/bin/terraform-provider-azurerm
...

Note: If you have issues running make build, change the line ending of the files in /scripts to be unix (LF).

Copy file to the expected local library, adjust for the version:

mkdir -p ~/.terraform.d/plugins/registry.terraform.io/hashicorp/azurerm/<version number>/linux_amd64/
cp /root/go/bin/terraform-provider-azurerm ~/.terraform.d/plugins/registry.terraform.io/hashicorp/azurerm/<version number>/linux_amd64/

Or

mkdir -p ~/.terraform.d/plugins/registry.terraform.io/hashicorp/azurerm/2.75.0-nd3/linux_amd64/
cp /root/go/bin/terraform-provider-azurerm ~/.terraform.d/plugins/registry.terraform.io/hashicorp/azurerm/2.75.0-nd3/linux_amd64/