make install
First, build and install the provider.
go build -o terraform-provider-menandmice.exe
copy the binary: terraform-provider-menandmice.exe to:
- terraform-0.12 ->
%APPDATA%\terraform.d\plugins\windows_amd64\
- terraform-0.14 ->
%APPDATA%\terraform.d\plugins\registry.terraform.io\local\menandmice\0.2.0\windows_amd64\
terraform.exe init
You need a working Micetro server with:
- dnsserver: ext-master.mmdemo.net.
- dhcpserver: DHCPScopes/192.168.2.128/25"
- ipam-properties: location
# set provider setting that are not set in main.tf
export MENANDMICE_ENDPOINT=<api-endpoint>
export MENANDMICE_USERNAME=<your username>
export MENANDMICE_PASSWORD=<your password>
make testacc