Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zombiezen/terraform-google-nix-cache
A Terraform module to create a Google Cloud Storage (GCS) bucket that can be used as a Nix binary cache.
https://github.com/zombiezen/terraform-google-nix-cache
nix terraform
Last synced: about 2 months ago
JSON representation
A Terraform module to create a Google Cloud Storage (GCS) bucket that can be used as a Nix binary cache.
- Host: GitHub
- URL: https://github.com/zombiezen/terraform-google-nix-cache
- Owner: zombiezen
- License: apache-2.0
- Created: 2023-03-05T03:42:30.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-04T00:37:22.000Z (about 1 year ago)
- Last Synced: 2024-10-28T20:16:16.337Z (3 months ago)
- Topics: nix, terraform
- Language: HCL
- Homepage: https://registry.terraform.io/modules/zombiezen/nix-cache/google/latest
- Size: 16.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Terraform for Nix Cache backed by Google Cloud Storage
This is a Terraform module to create a Google Cloud Storage (GCS) bucket
that can be used as a [Nix binary cache](https://nixos.org/manual/nix/stable/package-management/s3-substituter.html).## Example
```terraform
terraform {
required_version = "~> 1.0"
}provider "google" {
project = "PROJECTID"
}module "nix_cache" {
source = "zombiezen/nix-cache/google"
version = "0.2.1"bucket_name = "BUCKETNAME"
bucket_location = "us"# Optional:
service_account_email = google_service_account.github_actions.email
service_account_project = google_service_account.github_actions.project
}# Optional:
resource "google_service_account" "github_actions" {
account_id = "github"
display_name = "GitHub Actions"
description = "GitHub Actions runners"
}
```## License
[Apache 2.0](LICENSE)