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,12 +3,9 @@
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 =
old.passthru.plugins
// {
influxdb-v2 = influxdb-v2 =
old.passthru.plugins.mkProvider { prev.terraform-providers.mkProvider {
owner = "MagicRB"; owner = "MagicRB";
repo = "terraform-provider-influxdb-v2"; repo = "terraform-provider-influxdb-v2";
rev = "4f10e465f9526b47d1ef97a8f2e109aa85a7d647"; rev = "4f10e465f9526b47d1ef97a8f2e109aa85a7d647";
@ -18,6 +15,5 @@
provider-source-address = "registry.terraform.io/MagicRB/influxdb-v2"; provider-source-address = "registry.terraform.io/MagicRB/influxdb-v2";
}; };
}; };
} );
}; };
} }