diff --git a/test/functional-portable/ucp/cloud/aws_test.go b/test/functional-portable/ucp/cloud/aws_test.go index 8829aa9fa3..6640751a9c 100644 --- a/test/functional-portable/ucp/cloud/aws_test.go +++ b/test/functional-portable/ucp/cloud/aws_test.go @@ -33,7 +33,6 @@ import ( "github.com/google/uuid" "github.com/radius-project/radius/pkg/ucp/api/v20231001preview" "github.com/radius-project/radius/pkg/ucp/aws" - "github.com/radius-project/radius/pkg/ucp/frontend/controller/awsproxy" test "github.com/radius-project/radius/test/ucp" "github.com/radius-project/radius/test/validation" @@ -149,9 +148,7 @@ func setupTestAWSResource(t *testing.T, ctx context.Context, resourceName string // Test setup - Create AWS resource using AWS APIs cfg, err := awsconfig.LoadDefaultConfig(ctx) require.NoError(t, err) - var awsClient aws.AWSCloudControlClient = cloudcontrol.NewFromConfig(cfg) - desiredState := map[string]any{ "BucketName": resourceName, "AccessControl": "Private", diff --git a/test/rp/rptest.go b/test/rp/rptest.go index 43853eb301..21dc72d435 100644 --- a/test/rp/rptest.go +++ b/test/rp/rptest.go @@ -26,7 +26,6 @@ import ( "time" "github.com/aws/aws-sdk-go-v2/service/cloudcontrol" - "github.com/radius-project/radius/pkg/ucp/aws" "github.com/stretchr/testify/require" apiextv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" @@ -44,6 +43,7 @@ import ( "github.com/radius-project/radius/pkg/cli/kubernetes" "github.com/radius-project/radius/pkg/cli/workspaces" "github.com/radius-project/radius/pkg/sdk" + "github.com/radius-project/radius/pkg/ucp/aws" "github.com/radius-project/radius/test" "github.com/radius-project/radius/test/radcli" "github.com/radius-project/radius/test/step" @@ -185,7 +185,6 @@ func NewRPTestOptions(t *testing.T) RPTestOptions { cfg, err := awsconfig.LoadDefaultConfig(ctx) require.NoError(t, err) - var awsClient aws.AWSCloudControlClient = cloudcontrol.NewFromConfig(cfg) return RPTestOptions{