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