terraform-providers.random: build with Go module
This commit is contained in:
parent
214f9d2a51
commit
fca860edaa
@ -136,14 +136,6 @@ let
|
||||
'';
|
||||
});
|
||||
|
||||
# https://github.com/hashicorp/terraform-provider-random/pull/107
|
||||
random = automated-providers.random.overrideAttrs (attrs: {
|
||||
prePatch = attrs.prePatch or "" + ''
|
||||
substituteInPlace go.mod --replace terraform-providers/terraform-provider-random hashicorp/terraform-provider-random
|
||||
substituteInPlace main.go --replace terraform-providers/terraform-provider-random hashicorp/terraform-provider-random
|
||||
'';
|
||||
});
|
||||
|
||||
# https://github.com/hashicorp/terraform-provider-template/pull/79
|
||||
template = automated-providers.template.overrideAttrs (attrs: {
|
||||
prePatch = attrs.prePatch or "" + ''
|
||||
|
@ -787,6 +787,7 @@
|
||||
"repo": "terraform-provider-random",
|
||||
"rev": "v3.0.0",
|
||||
"sha256": "00dkpcri9ckp0kxwgh3p8175cyd44m8z13cb013pm4mrr61n4wq9",
|
||||
"vendorSha256": null,
|
||||
"version": "3.0.0"
|
||||
},
|
||||
"rightscale": {
|
||||
|
Loading…
Reference in New Issue
Block a user