Skip to content

Commit

Permalink
Fix build command for version 2.x of AWS provider
Browse files Browse the repository at this point in the history
Underlying issue: golang/go#51706
  • Loading branch information
et304383 authored Apr 4, 2022
1 parent 9416fe3 commit 716217e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func createBuildCommand(providerName string, version string, goPath string) stri
buildCommands["default"] = []BuildCommandInformation{{command: "make build", startingVersion: 0}}
buildCommands["hashicorp/helm"] = []BuildCommandInformation{{command: "make build && cp terraform-provider-helm " + goPath + "/bin/" + "terraform-provider-helm", startingVersion: 0}}
buildCommands["hashicorp/aws"] = []BuildCommandInformation{
{command: "make tools && make fmt && gofmt -s -w ./tools.go && make build", startingVersion: 0},
{command: "go get -u golang.org/x/sys && make tools && make fmt && gofmt -s -w ./tools.go && make build", startingVersion: 0},
{command: "cd tools && go get -d github.com/pavius/impi/cmd/impi && cd .. && make tools && make build", startingVersion: three},
}

Expand Down

0 comments on commit 716217e

Please sign in to comment.