Skip to content

Commit

Permalink
Merge pull request #42 from stevendborrelli/update-libraries
Browse files Browse the repository at this point in the history
update upjet and aws provider deps
  • Loading branch information
ulucinar authored Nov 24, 2023
2 parents 53185ba + fe542b6 commit 14defe1
Show file tree
Hide file tree
Showing 66 changed files with 979 additions and 549 deletions.
2 changes: 1 addition & 1 deletion cmd/family-migrator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"github.com/AlecAivazis/survey/v2"
"github.com/alecthomas/kong"
"github.com/crossplane/crossplane-runtime/pkg/logging"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
"github.com/upbound/upjet/pkg/migration"
"gopkg.in/yaml.v3"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
Expand Down
2 changes: 1 addition & 1 deletion cmd/provider-list/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"sort"

"github.com/alecthomas/kong"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
"github.com/upbound/upjet/pkg/migration"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"

Expand Down
2 changes: 1 addition & 1 deletion converters/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
xpv1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
v1 "github.com/crossplane/crossplane/apis/apiextensions/v1"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
"github.com/upbound/upjet/pkg/migration"
"k8s.io/apimachinery/pkg/runtime"
)

Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/apigatewayv2/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ package apigatewayv2
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/apigatewayv2/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
"github.com/upbound/extensions-migration/converters/common"
targetv1beta1 "github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func APIResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/apigatewayv2/apimapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package apigatewayv2
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/apigatewayv2/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func APIMappingResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/apigatewayv2/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package apigatewayv2
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/apigatewayv2/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func DeploymentResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/apigatewayv2/domain_name.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package apigatewayv2
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/apigatewayv2/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func DomainNameResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
3 changes: 2 additions & 1 deletion converters/provider-aws/apigatewayv2/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ package apigatewayv2

import (
"fmt"

srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/apigatewayv2/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
"github.com/upbound/extensions-migration/converters/common"
targetv1beta1 "github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func IntegrationResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/apigatewayv2/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package apigatewayv2
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/apigatewayv2/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func RouteResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/apigatewayv2/stage.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ package apigatewayv2
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/apigatewayv2/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
"github.com/upbound/extensions-migration/converters/common"
targetv1beta1 "github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func StageResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/apigatewayv2/vpclink.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/apigatewayv2/v1alpha1"
srcv1beta1 "github.com/crossplane-contrib/provider-aws/apis/apigatewayv2/v1beta1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/apigatewayv2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func VPCLinkV1Beta1Resource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/cloudfront/distribution.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package cloudfront
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/cloudfront/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/cloudfront/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func DistributionResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ package cloudfront
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/cloudfront/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
"github.com/upbound/extensions-migration/converters/common"
targetv1beta1 "github.com/upbound/provider-aws/apis/cloudfront/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func ResponseHeadersPolicyResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/cloudwatchlogs/logGroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package cloudwatchlogs
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/cloudwatchlogs/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/cloudwatchlogs/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func LogGroupResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

"github.com/crossplane/crossplane-runtime/pkg/fieldpath"
xpv1 "github.com/crossplane/crossplane/apis/apiextensions/v1"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
"github.com/upbound/upjet/pkg/migration"
)

// DefaultPatchSetsConverter is a default patchset converter for the community provider-aws
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/docdb/dbcluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package docdb
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/docdb/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/docdb/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func ClusterResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/docdb/dbclusterparametergroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package docdb
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/docdb/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/docdb/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func ClusterParameterGroupResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/docdb/dbinstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package docdb
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/docdb/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/docdb/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func InstanceResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/docdb/dbsubnetgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package docdb
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/docdb/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/docdb/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func SubnetGroupResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/dynamodb/dynamodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package dynamodb
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/dynamodb/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/dynamodb/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func TableResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/ec2/flowlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package ec2
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/ec2/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func FlowLogResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/ec2/natgateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package ec2
import (
srcv1beta1 "github.com/crossplane-contrib/provider-aws/apis/ec2/v1beta1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func NATGatewayResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/ec2/routetable.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/ec2/v1beta1"
runtimev1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func RouteTableResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/ec2/securitygroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
runtimev1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
v1 "github.com/crossplane/crossplane/apis/apiextensions/v1"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1"
"github.com/upbound/upjet/pkg/migration"

"github.com/upbound/extensions-migration/converters/common"
providerawscommon "github.com/upbound/extensions-migration/converters/provider-aws/common"
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/ec2/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package ec2
import (
srcv1beta1 "github.com/crossplane-contrib/provider-aws/apis/ec2/v1beta1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func SubnetResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/ec2/transitgatewayvpcattachment.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package ec2
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/ec2/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func TransitGatewayVPCAttachmentResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/ec2/vpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package ec2
import (
srcv1beta1 "github.com/crossplane-contrib/provider-aws/apis/ec2/v1beta1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func VPCResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/ec2/vpccidrblock.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package ec2
import (
srcv1beta1 "github.com/crossplane-contrib/provider-aws/apis/ec2/v1beta1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func VPCCidrBlockResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/ec2/vpcendpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/ec2/v1alpha1"
runtimev1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/ec2/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func VPCEndpointResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/efs/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package efs
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/efs/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/efs/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func FileSystemResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/efs/mounttarget.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package efs
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/efs/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/efs/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func MountTargetResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/eks/addon.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package eks
import (
srcv1beta1 "github.com/crossplane-contrib/provider-aws/apis/eks/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/eks/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func AddonResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/eks/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
srcv1beta1 "github.com/crossplane-contrib/provider-aws/apis/eks/v1beta1"
runtimev1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/eks/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func ClusterResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/eks/nodegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ package eks
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/eks/manualv1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
"github.com/upbound/extensions-migration/converters/common"
targetv1beta1 "github.com/upbound/provider-aws/apis/eks/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func NodegroupResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/elasticache/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package elasticache
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/cache/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/elasticache/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func ClusterResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
2 changes: 1 addition & 1 deletion converters/provider-aws/elasticache/parametergroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package elasticache
import (
srcv1alpha1 "github.com/crossplane-contrib/provider-aws/apis/elasticache/v1alpha1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/crossplane/upjet/pkg/migration"
"github.com/pkg/errors"
targetv1beta1 "github.com/upbound/provider-aws/apis/elasticache/v1beta1"
"github.com/upbound/upjet/pkg/migration"
)

func ParameterGroupResource(mg resource.Managed) ([]resource.Managed, error) {
Expand Down
Loading

0 comments on commit 14defe1

Please sign in to comment.