From 33cee6f599c130d138a0feaf5031a4c59198611e Mon Sep 17 00:00:00 2001 From: Nic Cope Date: Thu, 26 May 2022 17:39:17 -0700 Subject: [PATCH] Crossplane's provider-aws has moved to the crossplane-contrib GH org This updates the templates accordingly. Signed-off-by: Nic Cope --- templates/crossplane/README.md | 2 +- templates/crossplane/pkg/controller.go.tpl | 4 ++-- templates/crossplane/pkg/conversions.go.tpl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/crossplane/README.md b/templates/crossplane/README.md index 4fde424c..7e7133df 100644 --- a/templates/crossplane/README.md +++ b/templates/crossplane/README.md @@ -8,5 +8,5 @@ go run -tags codegen cmd/ack-generate/main.go crossplane \ --output ``` -See [Contributing New Resource Using ACK](https://github.com/crossplane/provider-aws/blob/master/CODE_GENERATION.md) +See [Contributing New Resource Using ACK](https://github.com/crossplane-contrib/provider-aws/blob/master/CODE_GENERATION.md) for details. diff --git a/templates/crossplane/pkg/controller.go.tpl b/templates/crossplane/pkg/controller.go.tpl index 1a766ffc..07e3139b 100644 --- a/templates/crossplane/pkg/controller.go.tpl +++ b/templates/crossplane/pkg/controller.go.tpl @@ -20,8 +20,8 @@ import ( cpresource "github.com/crossplane/crossplane-runtime/pkg/resource" xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1" - svcapitypes "github.com/crossplane/provider-aws/apis/{{ .ServicePackageName }}/{{ .APIVersion}}" - awsclient "github.com/crossplane/provider-aws/pkg/clients" + svcapitypes "github.com/crossplane-contrib/provider-aws/apis/{{ .ServicePackageName }}/{{ .APIVersion}}" + awsclient "github.com/crossplane-contrib/provider-aws/pkg/clients" ) const ( diff --git a/templates/crossplane/pkg/conversions.go.tpl b/templates/crossplane/pkg/conversions.go.tpl index eaabe330..962bb849 100644 --- a/templates/crossplane/pkg/conversions.go.tpl +++ b/templates/crossplane/pkg/conversions.go.tpl @@ -13,7 +13,7 @@ import ( "github.com/aws/aws-sdk-go/aws/awserr" svcsdk "github.com/aws/aws-sdk-go/service/{{ .ServicePackageName }}" - svcapitypes "github.com/crossplane/provider-aws/apis/{{ .ServicePackageName }}/{{ .APIVersion}}" + svcapitypes "github.com/crossplane-contrib/provider-aws/apis/{{ .ServicePackageName }}/{{ .APIVersion}}" ) // NOTE(muvaf): We return pointers in case the function needs to start with an