Skip to content

chore: update paths to /v2 #324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/coder/terraform-provider-coder
module github.com/coder/terraform-provider-coder/v2

go 1.22.9

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

"github.com/coder/terraform-provider-coder/provider"
"github.com/coder/terraform-provider-coder/v2/provider"
)

// Run the docs generation tool, check its repository for more information on how it works and how docs
Expand Down
2 changes: 1 addition & 1 deletion provider/agent.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/validation"
"golang.org/x/xerrors"

"github.com/coder/terraform-provider-coder/provider/helpers"
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
)

func agentResource() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion provider/decode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/coder/terraform-provider-coder/provider"
"github.com/coder/terraform-provider-coder/v2/provider"
)

func TestDecode(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion provider/externalauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

"github.com/coder/terraform-provider-coder/provider/helpers"
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
)

// externalAuthDataSource returns a schema for an external authentication data source.
Expand Down
2 changes: 1 addition & 1 deletion provider/parameter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/stretchr/testify/require"

"github.com/coder/terraform-provider-coder/provider"
"github.com/coder/terraform-provider-coder/v2/provider"
)

func TestParameter(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/stretchr/testify/require"

"github.com/coder/terraform-provider-coder/provider"
"github.com/coder/terraform-provider-coder/v2/provider"
)

func TestProvider(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion provider/workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

"github.com/coder/terraform-provider-coder/provider/helpers"
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
)

func workspaceDataSource() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion scripts/docsgen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"regexp"
"strings"

"github.com/coder/terraform-provider-coder/provider"
"github.com/coder/terraform-provider-coder/v2/provider"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"golang.org/x/xerrors"
)
Expand Down
Loading