The provider is automatically downloaded from the Terraform registry. If you wish to use a locally built version see the provider readme for building from source and installing the provider.
Run ./scripts/run.ps1
. It installs the mod to the current machine's Factorio client mods and sets up a headless factorio server, also running the mod.
To connect your client to the server choose "Multiplayer" > "Connect to address" > Use 127.0.0.1:34197
as the "IP address and port"
terraform init
terraform plan
terraform apply -auto-approve
To wipe files created by the above operations you can use:
scripts/clean-tf.ps1
: Deletes just the terraform state.scripts/clean-all.ps1
: Deletes the server state, and also removes the mod from your own Factorio client install.