openwrt provider for Terraform.
- Terraform
- An OpenWRT Router
luasocketluci-mod-rpcluci-lib-ipkgandluci-compatpackages installed in the openwrt router
This provider is published in the Terraform Registry.
Add the following to your Terraform configuration:
terraform { required_providers { openwrt = { source = "foxboron/openwrt" } } }
Full documentation can be found in the docs directory.
- Checkout the repository
git clone ... - Compile from sources to a development binary:
cd terraform-provider-openwrt
make build- Configure Terraform (
~/.terraformrc) to use the development binary provider:
$ cat ~/.terraformrc provider_installation { dev_overrides { "foxboron/openwrt" = "/<PATH_WHERE_YOU_EXECUTED_GIT_CLONE>/terraform-provider-openwrt" } direct {} }