Currently, a branch of the coder terraform provider is required.
- Git clone
[email protected]:coder/terraform-provider-coder.git
- Checkout branch
stevenmasley/form_control
- Build the provider with
go build -o terraform-provider-coder
- Create a file named
.terraformrc
in your$HOME
directory - Add the following content:
provider_installation {
# Override the coder/coder provider to use your local version
dev_overrides {
"coder/coder" = "/path/to/terraform-provider-coder"
}
# For all other providers, install them directly from their origin provider
# registries as normal. If you omit this, Terraform will _only_ use
# the dev_overrides block, and so no other providers will be available.
direct {}
}
Now you are using the right terraform provider.
To run preview:
cd site
pnpm install
cd ..
go run ./cmd/preview/main.go web --pnpm=site