Versions.tf:
terraform {
required_providers {
newrelic = {
version = "~> 99.0.0"
source = "newrelic/newrelic"
}
}
required_version = ">= 0.13"
}
go build -o ~/.terraform.d/plugins/registry.terraform.io/newrelic/newrelic/99.0.0/darwin_amd64/terraform-provider-newrelic_v99.0.0
This will build the plugin and install it locally with a very high version (99.0). This will ensure that it always supercedes the current version in the terraform registry