Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewchambers/terraform-provider-nix
terraform provider that manages nix builds and nixos machines.
https://github.com/andrewchambers/terraform-provider-nix
nixos nixpkgs terraform terraform-provider
Last synced: about 1 month ago
JSON representation
terraform provider that manages nix builds and nixos machines.
- Host: GitHub
- URL: https://github.com/andrewchambers/terraform-provider-nix
- Owner: andrewchambers
- License: mit
- Created: 2018-04-06T08:24:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-06T22:47:58.000Z (about 4 years ago)
- Last Synced: 2024-09-28T09:20:14.973Z (about 1 month ago)
- Topics: nixos, nixpkgs, terraform, terraform-provider
- Language: Go
- Homepage: https://acha.ninja
- Size: 59.6 KB
- Stars: 116
- Watchers: 8
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-provider-nix
A terraform provider for [nix](https://nixos.org/nix/) builds and [nixos](https://nixos.org/) installations.
With this provider you can do things like:
- Build a vm image from a nix expression and deploy it with terraform.
- Build a docker image from a nix expression and deploy it with terraform.
- Manage a nixos installation via ssh.Note, this is a completely different project from [the existing plugin in nixpkgs](https://github.com/tweag/terraform-provider-nixos).
Please consult that project to decide which suites your needs better.## Quickstart
This will run the example which is a good starting point, demonstrating all options. The example
uses google cloud, though I would appreciate contributed examples for other platforms. After running
the example you will have a managed server and vm images.```
go build
cd example
terraform init -plugin-dir ../
terraform apply -var google_cloud_project=your_project_id
```## Debugging
To view commands being run, set the env variable TF_LOG=debug.
## Example configuration and options
See the example directory for an example configuration with all valid options specified.
## Development Status
Working, but want feedback and users. Currently breaking changes are possible to enhance the
design. Breaking changes will be announced on the mailing list.## Contact
- [Mailing list](https://lists.sr.ht/~ach/terraform-provider-nix)
- File an issue on github.## Sponsor Messages
... *Your message here*
## Sponsoring
This project took time and effort to make, please sponsor the project
via this [paypal donation link](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LX5MPQ26BSWS6&source=url).Add a markdown message shorter than 70 characters total to your donation it will be added
to the sponsor section. Note that sponsor messages may be rejected at the project
authors judgement.If you can't afford to sponsor, please consider giving this project a star and share with your
friends.## Authors
Andrew Chambers - [email protected]