Fix overlay for InfluxDBv2 Terraform provider

Signed-off-by: magic_rb <richard@brezak.sk>
This commit is contained in:
magic_rb 2023-10-29 17:47:35 +01:00 committed by magic_rb
parent 26b1be45a2
commit 4775b1544f

View file

@ -3,21 +3,17 @@
flake.overlays.terraform-provider-influxdb-v2 = flake.overlays.terraform-provider-influxdb-v2 =
final: prev: final: prev:
{ {
terraform = prev.terraform.overrideAttrs (old: { terraform-providers = prev.terraform-providers // {
passthru.plugins = influxdb-v2 =
old.passthru.plugins prev.terraform-providers.mkProvider {
// { owner = "MagicRB";
influxdb-v2 = repo = "terraform-provider-influxdb-v2";
old.passthru.plugins.mkProvider { rev = "4f10e465f9526b47d1ef97a8f2e109aa85a7d647";
owner = "MagicRB"; version = "0.4.6";
repo = "terraform-provider-influxdb-v2"; hash = "sha256-/IQoA1CwYIafHbHKSZq7pZKFxefgd09fm0lnBW3r11Q=";
rev = "4f10e465f9526b47d1ef97a8f2e109aa85a7d647"; vendorHash = "sha256-g7Njs7psHFFSWk44CiV+blLrzpnB+L9HgMTx3lLMA8Q=";
version = "0.4.6"; provider-source-address = "registry.terraform.io/MagicRB/influxdb-v2";
hash = "sha256-/IQoA1CwYIafHbHKSZq7pZKFxefgd09fm0lnBW3r11Q=";
vendorHash = "sha256-g7Njs7psHFFSWk44CiV+blLrzpnB+L9HgMTx3lLMA8Q=";
provider-source-address = "registry.terraform.io/MagicRB/influxdb-v2";
};
}; };
} ); };
}; };
} }