terraform-providers.external: build with Go module

This commit is contained in:
Timothy Stott 2020-11-14 17:09:17 +00:00 committed by Jonathan Ringer
parent 6fc4083a26
commit 4377259a93
2 changed files with 1 additions and 8 deletions

View file

@ -88,14 +88,6 @@ let
# providers that were moved to the `hashicorp` organization, # providers that were moved to the `hashicorp` organization,
# but haven't updated their references yet: # but haven't updated their references yet:
# https://github.com/hashicorp/terraform-provider-external/pull/41
external = automated-providers.external.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''
substituteInPlace go.mod --replace terraform-providers/terraform-provider-external hashicorp/terraform-provider-external
substituteInPlace main.go --replace terraform-providers/terraform-provider-external hashicorp/terraform-provider-external
'';
});
# https://github.com/hashicorp/terraform-provider-helm/pull/522 # https://github.com/hashicorp/terraform-provider-helm/pull/522
helm = automated-providers.helm.overrideAttrs (attrs: { helm = automated-providers.helm.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + '' prePatch = attrs.prePatch or "" + ''

View file

@ -298,6 +298,7 @@
"repo": "terraform-provider-external", "repo": "terraform-provider-external",
"rev": "v2.0.0", "rev": "v2.0.0",
"sha256": "16wciz08gicicsirij2ql0gy8dg0372jjsqmaigkl2n07mqz2b6a", "sha256": "16wciz08gicicsirij2ql0gy8dg0372jjsqmaigkl2n07mqz2b6a",
"vendorSha256": null,
"version": "2.0.0" "version": "2.0.0"
}, },
"fastly": { "fastly": {