A Terraform provider for managing Cachix binary caches.
terraform {
required_providers {
cachix = {
source = "takeokunn/cachix"
version = "~> 0.1"
}
}
}
provider "cachix" {}
resource "cachix_cache" "example" {
name = "my-cache"
is_public = true
}Set CACHIX_AUTH_TOKEN environment variable for authentication.
Full documentation is available on the Terraform Registry.
make build # Build
make test # Unit tests
make testacc # Acceptance tests (requires CACHIX_AUTH_TOKEN)
make generate # Generate documentation