Skip to content

Commit

Permalink
Upgrade module to v5 (#346)
Browse files Browse the repository at this point in the history
* upgrade module to v6

* upgrade to v5
  • Loading branch information
sarahoh2468 authored Oct 19, 2022
1 parent 4c21d35 commit 1049b01
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test: fmtcheck
xargs -t -n4 go test -v $(TESTARGS) -timeout=30s -parallel=4

testacc: fmtcheck
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout=240m -ldflags="-X=github.com/heroku/terraform-provider-heroku/v4/version.ProviderVersion=test"
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout=240m -ldflags="-X=github.com/heroku/terraform-provider-heroku/v5/version.ProviderVersion=test"

vet:
@echo "go vet ."
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/heroku/terraform-provider-heroku/v4
module github.com/heroku/terraform-provider-heroku/v5

require (
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
Expand Down
2 changes: 1 addition & 1 deletion heroku/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/logging"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
heroku "github.com/heroku/heroku-go/v5"
"github.com/heroku/terraform-provider-heroku/v4/version"
"github.com/heroku/terraform-provider-heroku/v5/version"
homedir "github.com/mitchellh/go-homedir"
)

Expand Down
2 changes: 1 addition & 1 deletion heroku/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
heroku "github.com/heroku/heroku-go/v5"
"github.com/heroku/terraform-provider-heroku/v4/version"
"github.com/heroku/terraform-provider-heroku/v5/version"
)

// getAppName extracts the app attribute generically from a Heroku resource.
Expand Down
2 changes: 1 addition & 1 deletion heroku/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
helper "github.com/heroku/terraform-provider-heroku/v4/helper/test"
helper "github.com/heroku/terraform-provider-heroku/v5/helper/test"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion heroku/resource_heroku_cert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
heroku "github.com/heroku/heroku-go/v5"
"github.com/heroku/terraform-provider-heroku/v4/helper/test"
"github.com/heroku/terraform-provider-heroku/v5/helper/test"
)

// We break apart testing for EU and US because at present, Heroku deals with
Expand Down
2 changes: 1 addition & 1 deletion heroku/resource_heroku_domain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
heroku "github.com/heroku/heroku-go/v5"
"github.com/heroku/terraform-provider-heroku/v4/helper/test"
"github.com/heroku/terraform-provider-heroku/v5/helper/test"
)

func TestAccHerokuDomain_Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion heroku/resource_heroku_space_app_access_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

"github.com/heroku/terraform-provider-heroku/v4/helper/test"
"github.com/heroku/terraform-provider-heroku/v5/helper/test"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
)
Expand Down
2 changes: 1 addition & 1 deletion heroku/resource_heroku_ssl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
heroku "github.com/heroku/heroku-go/v5"
"github.com/heroku/terraform-provider-heroku/v4/helper/test"
"github.com/heroku/terraform-provider-heroku/v5/helper/test"
)

func TestAccHerokuSSL_basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion heroku/resource_heroku_team_collaborator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"testing"

"github.com/heroku/terraform-provider-heroku/v4/helper/test"
"github.com/heroku/terraform-provider-heroku/v5/helper/test"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
"github.com/heroku/terraform-provider-heroku/v4/heroku"
"github.com/heroku/terraform-provider-heroku/v5/heroku"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package version
//https://github.com/terraform-providers/terraform-provider-azurerm/tree/master/version
//This takes advantage of a new build flag populating the binary version of the
//provider, for example:
//-ldflags="-X=github.com/heroku/terraform-provider-heroku/v4/version.ProviderVersion=x.x.x"
//-ldflags="-X=github.com/heroku/terraform-provider-heroku/v5/version.ProviderVersion=x.x.x"

var (
// ProviderVersion is set during the release process to the release version of the binary, and
Expand Down

0 comments on commit 1049b01

Please sign in to comment.