Provider for Terraform to perform Liqo operations.
Follow this example steps to test locally the implemented provider.
-
in .terraform.d folder (you should have it in home/<usr>/) make directory with this command replacing architecture with your architecture (example: linux_arm64 or linux_amd64):
mkdir -p /plugins/liqo-provider/liqo/liqo/0.0.1/<architecture>/
my complete path is the following:
home/<usr>/.terraform.d/plugins/liqo-provider/liqo/liqo/0.0.1/linux_arm64/
-
from root run command replacing path with the one created in first step:
go build -o <path>/terraform-provider-liqo
-
in your main.tf tell to Terraform to use provider implemented locally by yourself with this directive in required_providers:
source = "liqo-provider/liqo/liqo"
for example:
terraform { required_providers { liqo = { source = "liqo-provider/liqo/liqo" } } }