Skip to content

Commit b7ab1bb

Browse files
authored
chore: update paths to /v2 (#324)
1 parent d933a71 commit b7ab1bb

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/coder/terraform-provider-coder
1+
module github.com/coder/terraform-provider-coder/v2
22

33
go 1.22.9
44

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
55

6-
"github.com/coder/terraform-provider-coder/provider"
6+
"github.com/coder/terraform-provider-coder/v2/provider"
77
)
88

99
// Run the docs generation tool, check its repository for more information on how it works and how docs

provider/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
1313
"golang.org/x/xerrors"
1414

15-
"github.com/coder/terraform-provider-coder/provider/helpers"
15+
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
1616
)
1717

1818
func agentResource() *schema.Resource {

provider/decode_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/stretchr/testify/assert"
88
"github.com/stretchr/testify/require"
99

10-
"github.com/coder/terraform-provider-coder/provider"
10+
"github.com/coder/terraform-provider-coder/v2/provider"
1111
)
1212

1313
func TestDecode(t *testing.T) {

provider/externalauth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
88
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
99

10-
"github.com/coder/terraform-provider-coder/provider/helpers"
10+
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
1111
)
1212

1313
// externalAuthDataSource returns a schema for an external authentication data source.

provider/parameter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
99
"github.com/stretchr/testify/require"
1010

11-
"github.com/coder/terraform-provider-coder/provider"
11+
"github.com/coder/terraform-provider-coder/v2/provider"
1212
)
1313

1414
func TestParameter(t *testing.T) {

provider/provider_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
99
"github.com/stretchr/testify/require"
1010

11-
"github.com/coder/terraform-provider-coder/provider"
11+
"github.com/coder/terraform-provider-coder/v2/provider"
1212
)
1313

1414
func TestProvider(t *testing.T) {

provider/workspace.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
1010
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
1111

12-
"github.com/coder/terraform-provider-coder/provider/helpers"
12+
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
1313
)
1414

1515
func workspaceDataSource() *schema.Resource {

scripts/docsgen/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"regexp"
1010
"strings"
1111

12-
"github.com/coder/terraform-provider-coder/provider"
12+
"github.com/coder/terraform-provider-coder/v2/provider"
1313
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
1414
"golang.org/x/xerrors"
1515
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy