Adding support for terraform in other archs

This commit is contained in:
Balhau 2023-12-23 11:10:59 +00:00
parent 8cf3bc1903
commit 085d1377de
2 changed files with 10 additions and 1 deletions

View file

@ -1,5 +1,6 @@
provider_directory=~/.terraform.d/plugins/terraform.local/balhau/receita/1.0.0/darwin_amd64/
arch?=darwin_amd64
provider_directory=~/.terraform.d/plugins/terraform.local/balhau/receita/1.0.0/$(arch)/
.PHONY: help
help: ## Show this help.

View file

@ -69,3 +69,11 @@ install-provider: Install provider in the terraform plugin directory
run-backend: Start the backend web server
```
#### Note
By default the step `make install-provider` will install the provider assuming a darwin (macos). If you want this to be installed in a different environment you would need to override the parameter `arch`. As an example for linux amd64 would be something like
```sh
make arch=linux_amd64 install-provider
```