Skip to content

Commit ce1e00e

Browse files
authored
Merge pull request #50 from terraform-providers/sdk-migration
Migrate to standalone SDK v1
2 parents ade64b8 + 577bbb4 commit ce1e00e

File tree

777 files changed

+22018
-29511
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

777 files changed

+22018
-29511
lines changed

archive/data_source_archive_file.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"os"
1313
"path"
1414

15-
"github.com/hashicorp/terraform/helper/hashcode"
16-
"github.com/hashicorp/terraform/helper/schema"
15+
"github.com/hashicorp/terraform-plugin-sdk/helper/hashcode"
16+
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
1717
)
1818

1919
func dataSourceFile() *schema.Resource {

archive/data_source_archive_file_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"regexp"
77
"testing"
88

9-
r "github.com/hashicorp/terraform/helper/resource"
10-
"github.com/hashicorp/terraform/terraform"
9+
r "github.com/hashicorp/terraform-plugin-sdk/helper/resource"
10+
"github.com/hashicorp/terraform-plugin-sdk/terraform"
1111
)
1212

1313
func TestAccArchiveFile_Basic(t *testing.T) {

archive/provider.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package archive
22

33
import (
4-
"github.com/hashicorp/terraform/helper/schema"
5-
"github.com/hashicorp/terraform/terraform"
4+
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
5+
"github.com/hashicorp/terraform-plugin-sdk/terraform"
66
)
77

88
func Provider() terraform.ResourceProvider {

archive/provider_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package archive
33
import (
44
"testing"
55

6-
"github.com/hashicorp/terraform/helper/schema"
7-
"github.com/hashicorp/terraform/terraform"
6+
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
7+
"github.com/hashicorp/terraform-plugin-sdk/terraform"
88
)
99

1010
var testProviders = map[string]terraform.ResourceProvider{

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ module github.com/terraform-providers/terraform-provider-archive
22

33
require (
44
github.com/hashicorp/hcl v1.0.0 // indirect
5-
github.com/hashicorp/terraform v0.12.8
5+
github.com/hashicorp/terraform-plugin-sdk v1.0.0
66
)

go.sum

Lines changed: 99 additions & 336 deletions
Large diffs are not rendered by default.

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/hashicorp/terraform/plugin"
4+
"github.com/hashicorp/terraform-plugin-sdk/plugin"
55
"github.com/terraform-providers/terraform-provider-archive/archive"
66
)
77

vendor/cloud.google.com/go/AUTHORS

Lines changed: 0 additions & 15 deletions
This file was deleted.

vendor/cloud.google.com/go/CONTRIBUTORS

Lines changed: 0 additions & 40 deletions
This file was deleted.

vendor/cloud.google.com/go/compute/metadata/metadata.go

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)