To build locally for development purposes, run make dev. Make sure the path to your Terraform project is correct in the "./GNUmakefile" LOCALPATH
Run export TF_LOG=DEBUG. Now when you run terraform apply it will be verbose.
Commit your changes, push up, and tag a new version with v prefix, i.e. v1.2.3. This will kick off the release process via a Github action. (https://github.com/tonning/terraform-provider-laravelforge/actions/workflows/release.yml).
This new version should automatically be picked up by the Terraform registry.
If not, you might have to re-sync permissions between Terraform and Github.
- In your Terraform application delete the directory in
.terraform/related to the version you just release, i.e. for versionv1.2.3delete.terraform/providers/registry.terraform.io/tonning/laravelforge/1.2.3. - Delete the
laravelforgedirectory (not just the version) from/Users/tonning/.terraform.d/plugins/registry.terraform.io/tonning/laravelforge. Otherwise Terraform won't be able to pull from the registry. - In your Terraform application run
terraform init -upgrade.