Skip to content

Commit

Permalink
terraform-providers.random: build with Go module
Browse files Browse the repository at this point in the history
  • Loading branch information
timstott authored and Jonathan Ringer committed Nov 24, 2020
1 parent 214f9d2 commit fca860e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Expand Up @@ -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 "" + ''
Expand Down
Expand Up @@ -787,6 +787,7 @@
"repo": "terraform-provider-random",
"rev": "v3.0.0",
"sha256": "00dkpcri9ckp0kxwgh3p8175cyd44m8z13cb013pm4mrr61n4wq9",
"vendorSha256": null,
"version": "3.0.0"
},
"rightscale": {
Expand Down

0 comments on commit fca860e

Please sign in to comment.