diff --git a/package.nix b/package.nix index 4619070e..f8dbbaac 100644 --- a/package.nix +++ b/package.nix @@ -1,11 +1,20 @@ { terraform-providers, }: +# Allows testing of the provider with the following block: +# terraform { +# required_providers { +# sysdig = { +# source = "sysdiglabs/sysdig" +# version = "=1.0.0-local" +# } +# } +# } terraform-providers.mkProvider { owner = "sysdiglabs"; repo = "terraform-provider-sysdig"; homepage = "https://registry.terraform.io/providers/sysdiglabs/sysdig"; - rev = "master"; + rev = "1.0.0-local"; # Keeping this version fixed with a `-local` version, so user can just bundle the concrete plugin version with terraform using nix. vendorHash = "sha256-9ru4RkH2fDWcgM0I3URlWd811PwySktd+gLsEr624WM="; hash = ""; mkProviderFetcher = { ... }: ./.;