Open scottrobertson opened 2 years ago
Till they build for darwin_arm64
, here are notes on building the module.
mkdir -p ~/go/src/github.com/splunk
cd ~/go/src/github.com/splunk
git clone git@github.com:splunk/terraform-provider-victorops.git
cd terraform-provider-victorops/
# Checkout the latest tagged version
git checkout v0.1.4
# x/sys that ships with go1.18 is busted - Upgrade it
got get -u golang.or/x/sys
go build
mkdir -p ~/.terraform.d/plugins/github.com/splunk/terraform-provider-victorops/0.1.4/darwin_arm64/
cp terraform-provider-victorops ~/.terraform.d/plugins/github.com/splunk/terraform-provider-victorops/0.1.4/darwin_arm64/
And then your provider block should look like:
terraform {
required_providers {
victorops = {
source = "splunk/victorops"
version = "0.1.4"
}
}
}
Unable to run this on Apple Silicon.