From 7932288f24dc8b8f647bda9db2c555e70891abf8 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Fri, 20 Dec 2024 13:09:51 +0000 Subject: [PATCH] chore: update paths to /v2 --- go.mod | 2 +- main.go | 2 +- provider/agent.go | 2 +- provider/decode_test.go | 2 +- provider/externalauth.go | 2 +- provider/parameter_test.go | 2 +- provider/provider_test.go | 2 +- provider/workspace.go | 2 +- scripts/docsgen/main.go | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 9087a1a7..f88cd289 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/coder/terraform-provider-coder +module github.com/coder/terraform-provider-coder/v2 go 1.22.9 diff --git a/main.go b/main.go index a16c9951..2eaa5dc5 100644 --- a/main.go +++ b/main.go @@ -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 diff --git a/provider/agent.go b/provider/agent.go index 01fb5801..ac012bf1 100644 --- a/provider/agent.go +++ b/provider/agent.go @@ -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 { diff --git a/provider/decode_test.go b/provider/decode_test.go index a5e20b14..947ebf79 100644 --- a/provider/decode_test.go +++ b/provider/decode_test.go @@ -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) { diff --git a/provider/externalauth.go b/provider/externalauth.go index a11a67c4..915a21a9 100644 --- a/provider/externalauth.go +++ b/provider/externalauth.go @@ -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. diff --git a/provider/parameter_test.go b/provider/parameter_test.go index fc814cba..b1f164a0 100644 --- a/provider/parameter_test.go +++ b/provider/parameter_test.go @@ -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) { diff --git a/provider/provider_test.go b/provider/provider_test.go index 3367e7f4..4bf98b32 100644 --- a/provider/provider_test.go +++ b/provider/provider_test.go @@ -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) { diff --git a/provider/workspace.go b/provider/workspace.go index 575fd60f..fde742b6 100644 --- a/provider/workspace.go +++ b/provider/workspace.go @@ -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 { diff --git a/scripts/docsgen/main.go b/scripts/docsgen/main.go index d83cf123..53b43ca4 100644 --- a/scripts/docsgen/main.go +++ b/scripts/docsgen/main.go @@ -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" ) 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