From abad3be92e32d5e96f1faff2a0eb82e43082860f Mon Sep 17 00:00:00 2001 From: Petr Stupka <18548253+petr-stupka@users.noreply.github.com> Date: Tue, 3 Sep 2024 09:15:32 +0200 Subject: [PATCH] migrate repo reference --- GNUmakefile | 2 +- README.md | 6 +++--- examples/main.tf | 2 +- go.mod | 2 +- internal/provider/provider.go | 2 +- internal/provider/resource_name.go | 6 +++--- main.go | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 0ccb6b19..cc52e8a9 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -13,7 +13,7 @@ generate: go fmt build: - go build -o ~/.terraform.d/plugins/github.com/glueckkanja-gab/aztools/0.0.1/linux_amd64/terraform-provider-aztools + go build -o ~/.terraform.d/plugins/github.com/glueckkanja/aztools/0.0.1/linux_amd64/terraform-provider-aztools test: generate build cd ./examples && terraform init -upgrade -get-plugins=true && terraform apply -auto-approve diff --git a/README.md b/README.md index 52a611b5..0d54643d 100755 --- a/README.md +++ b/README.md @@ -13,14 +13,14 @@ Requirements Using the provider ---------------------- -See [Terraform Registry](https://registry.terraform.io/providers/glueckkanja-gab/aztools/latest). +See [Terraform Registry](https://registry.terraform.io/providers/glueckkanja/aztools/latest). Building The Provider --------------------- 1. Clone the repository 1. Install 'Remote Containers' VS Code Extension -1. Build the provider using the `make` command: +1. Build the provider using the `make` command: ```sh $ make build ``` @@ -30,7 +30,7 @@ Developing the Provider 1. Clone the repository 1. Install 'Remote Containers' VS Code Extension -1. Build & test the provider using the `make` command: +1. Build & test the provider using the `make` command: ```sh $ make ``` \ No newline at end of file diff --git a/examples/main.tf b/examples/main.tf index a4c2a21d..e7e21ccb 100755 --- a/examples/main.tf +++ b/examples/main.tf @@ -4,7 +4,7 @@ terraform { // source = "hashicorp/azurerm" //} aztools = { - source = "github.com/glueckkanja-gab/aztools" + source = "github.com/glueckkanja/aztools" } } } diff --git a/go.mod b/go.mod index beaaf3d7..f2f6c440 100755 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/glueckkanja-gab/terraform-provider-aztools +module github.com/glueckkanja/terraform-provider-aztools go 1.12 diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 3ff1b21b..8ffbda94 100755 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -7,10 +7,10 @@ import ( "io/ioutil" "os" + "github.com/glueckkanja/terraform-provider-aztools/internal/provider/models" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/mitchellh/go-homedir" - "github.com/glueckkanja-gab/terraform-provider-aztools/internal/provider/models" ) // AzTools - diff --git a/internal/provider/resource_name.go b/internal/provider/resource_name.go index 47335489..8aa0bcf5 100755 --- a/internal/provider/resource_name.go +++ b/internal/provider/resource_name.go @@ -5,13 +5,13 @@ import ( "fmt" "strings" + "github.com/glueckkanja/terraform-provider-aztools/internal/provider/common" + "github.com/glueckkanja/terraform-provider-aztools/internal/provider/models" + "github.com/glueckkanja/terraform-provider-aztools/internal/provider/validate" "github.com/google/uuid" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" - "github.com/glueckkanja-gab/terraform-provider-aztools/internal/provider/common" - "github.com/glueckkanja-gab/terraform-provider-aztools/internal/provider/models" - "github.com/glueckkanja-gab/terraform-provider-aztools/internal/provider/validate" ) func resourceName() *schema.Resource { diff --git a/main.go b/main.go index 23341f2f..46c0ce3c 100755 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import ( "flag" "log" - "github.com/glueckkanja-gab/terraform-provider-aztools/internal/provider" + "github.com/glueckkanja/terraform-provider-aztools/internal/provider" "github.com/hashicorp/terraform-plugin-sdk/v2/plugin" ) @@ -25,7 +25,7 @@ func main() { flag.Parse() if debugMode { - err := plugin.Debug(context.Background(), "github.com/glueckkanja-gab/terraform-provider-aztools/internal/provider", + err := plugin.Debug(context.Background(), "github.com/glueckkanja/terraform-provider-aztools/internal/provider", &plugin.ServeOpts{ ProviderFunc: provider.AzTools(version), })