diff --git a/.github/README.md b/.github/README.md index ab0c2d3..ab52824 100644 --- a/.github/README.md +++ b/.github/README.md @@ -14,7 +14,7 @@ $ go build -o terraform-provider-datadome 1. Build the provider. -2. Install it. +2. Install it (you may need to change the value of `OS_ARCH` inside Makefile). ```shell $ make install diff --git a/Makefile b/Makefile index b12030d..4e71fcc 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ NAME=datadome BINARY=terraform-provider-${NAME} VERSION=0.0.1 OS_ARCH=linux_amd64 +#OS_ARCH=darwin_amd64 default: install @@ -36,7 +37,7 @@ release-local: install: build mkdir -p ~/.terraform.d/plugins/${HOSTNAME}/${NAMESPACE}/${NAME}/${VERSION}/${OS_ARCH} - mv ${BINARY} ~/.terraform.d/plugins/${OS_ARCH} + mv ${BINARY} ~/.terraform.d/plugins/${HOSTNAME}/${NAMESPACE}/${NAME}/${VERSION}/${OS_ARCH} test: go test -i $(TEST) || exit 1