Skip to content

Commit

Permalink
update to latest terraform sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
markhowardform3 committed Feb 2, 2022
1 parent e068c65 commit 24f5eff
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 301 deletions.
2 changes: 1 addition & 1 deletion githubfile/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"strings"

"github.com/google/go-github/v28/github"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"golang.org/x/oauth2"
)

Expand Down
4 changes: 2 additions & 2 deletions githubfile/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"os"
"testing"

"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion githubfile/resource_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/form3tech-oss/go-github-utils/pkg/commit"
ghfileutils "github.com/form3tech-oss/go-github-utils/pkg/file"
"github.com/google/go-github/v28/github"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions githubfile/resource_file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"testing"

ghfileutils "github.com/form3tech-oss/go-github-utils/pkg/file"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion githubfile/structure_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"fmt"
"strings"

"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)

type file struct {
Expand Down
8 changes: 1 addition & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,13 @@ module github.com/form3tech-oss/terraform-provider-githubfile
go 1.16

require (
cloud.google.com/go v0.44.3 // indirect
github.com/form3tech-oss/go-github-utils v0.0.0-20190904122548-38611ec99620
github.com/google/go-cmp v0.3.1 // indirect
github.com/google/go-github/v28 v28.0.1
github.com/hashicorp/golang-lru v0.5.3 // indirect
github.com/hashicorp/terraform v0.12.7
github.com/hashicorp/terraform-plugin-sdk v1.7.0
golang.org/x/crypto v0.0.0-20190829043050-9756ffdc2472 // indirect
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 // indirect
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
golang.org/x/sys v0.0.0-20190904005037-43c01164e931 // indirect
google.golang.org/api v0.9.0 // indirect
google.golang.org/appengine v1.6.2 // indirect
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 // indirect
google.golang.org/grpc v1.23.0 // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
)
329 changes: 44 additions & 285 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ package main

import (
"github.com/form3tech-oss/terraform-provider-githubfile/githubfile"
"github.com/hashicorp/terraform/plugin"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/plugin"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
)

func main() {
Expand Down

0 comments on commit 24f5eff

Please sign in to comment.