From cd73a74e1e9dca9940fcdf868300fccda5fb7529 Mon Sep 17 00:00:00 2001 From: Elim Tsiagbey Date: Mon, 16 Sep 2024 12:20:08 -0400 Subject: [PATCH] feat: rename repository (#4) Rename repository from `boundary-plugin-google` to `boundary-plugin-gcp` --- README.md | 4 ++-- go.mod | 2 +- internal/credential/attributes.go | 4 ++-- plugin/attributes.go | 6 +++--- plugin/attributes_test.go | 2 +- plugin/plugin.go | 2 +- plugin/plugin_test.go | 2 +- testing/terraform/variables.tf | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a876f08..3b5b5b7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Google Plugin for HashiCorp Boundary +# GCP Plugin for HashiCorp Boundary -This repo contains the google plugin for [HashiCorp +This repo contains the GCP plugin for [HashiCorp Boundary](https://www.boundaryproject.io/). > [!IMPORTANT] diff --git a/go.mod b/go.mod index 287e7fd..cccb92d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/hashicorp/boundary-plugin-google +module github.com/hashicorp/boundary-plugin-gcp go 1.21 diff --git a/internal/credential/attributes.go b/internal/credential/attributes.go index cbfbaf9..154de08 100644 --- a/internal/credential/attributes.go +++ b/internal/credential/attributes.go @@ -6,8 +6,8 @@ package credential import ( "fmt" - "github.com/hashicorp/boundary-plugin-google/internal/errors" - "github.com/hashicorp/boundary-plugin-google/internal/values" + "github.com/hashicorp/boundary-plugin-gcp/internal/errors" + "github.com/hashicorp/boundary-plugin-gcp/internal/values" "google.golang.org/protobuf/types/known/structpb" ) diff --git a/plugin/attributes.go b/plugin/attributes.go index 126b90d..af1bb68 100644 --- a/plugin/attributes.go +++ b/plugin/attributes.go @@ -7,9 +7,9 @@ import ( "fmt" computepb "cloud.google.com/go/compute/apiv1/computepb" - cred "github.com/hashicorp/boundary-plugin-google/internal/credential" - "github.com/hashicorp/boundary-plugin-google/internal/errors" - "github.com/hashicorp/boundary-plugin-google/internal/values" + cred "github.com/hashicorp/boundary-plugin-gcp/internal/credential" + "github.com/hashicorp/boundary-plugin-gcp/internal/errors" + "github.com/hashicorp/boundary-plugin-gcp/internal/values" "github.com/mitchellh/mapstructure" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/plugin/attributes_test.go b/plugin/attributes_test.go index dfcac67..97885e7 100644 --- a/plugin/attributes_test.go +++ b/plugin/attributes_test.go @@ -6,7 +6,7 @@ package plugin import ( "testing" - cred "github.com/hashicorp/boundary-plugin-google/internal/credential" + cred "github.com/hashicorp/boundary-plugin-gcp/internal/credential" "github.com/stretchr/testify/require" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/plugin/plugin.go b/plugin/plugin.go index 8005d83..469b111 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -9,7 +9,7 @@ import ( compute "cloud.google.com/go/compute/apiv1" computepb "cloud.google.com/go/compute/apiv1/computepb" - errors "github.com/hashicorp/boundary-plugin-google/internal/errors" + errors "github.com/hashicorp/boundary-plugin-gcp/internal/errors" "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostsets" pb "github.com/hashicorp/boundary/sdk/pbs/plugin" "github.com/mitchellh/mapstructure" diff --git a/plugin/plugin_test.go b/plugin/plugin_test.go index e2bc4d4..0fe5246 100644 --- a/plugin/plugin_test.go +++ b/plugin/plugin_test.go @@ -9,7 +9,7 @@ import ( "path/filepath" "testing" - cred "github.com/hashicorp/boundary-plugin-google/internal/credential" + cred "github.com/hashicorp/boundary-plugin-gcp/internal/credential" "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostcatalogs" "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/hostsets" pb "github.com/hashicorp/boundary/sdk/pbs/plugin" diff --git a/testing/terraform/variables.tf b/testing/terraform/variables.tf index 4ce8560..4e79107 100644 --- a/testing/terraform/variables.tf +++ b/testing/terraform/variables.tf @@ -4,7 +4,7 @@ variable "labels" { type = map(string) default = { - repository = "boundary-plugin-google" + repository = "boundary-plugin-gcp" purpose = "testing" } }