Deprecated. Replaced by https://github.com/tweag/terraform-nixos/
This terraform module builds and publishes custom NixOS Google Cloud images.
Because this module uses the "external" provider it needs the following executables to be in the path to work properly:
- bash
- nix
readlink -f
(busybox or coreutils)
When a new image is published, the old-one gets removed. This potentially introduces a race-condition where other targets are trying to create new instances with the old image.
To reduce the race window, create_before_destroy
is being used. See
hashicorp/terraform#15485 for related discussions.
Name | Description | Type | Default | Required |
---|---|---|---|---|
bucket_name | Bucket where to store the image | string | - | yes |
nixos_config | Path to a nixos configuration.nix file | string | - | yes |
Name | Description |
---|---|
self_link |
Apache 2.0
Many thanks to Digital Asset for sponsoring this work.