From 8f151f17d8e4f6038389f381ef33cd1eb74c668a Mon Sep 17 00:00:00 2001 From: Bishal Das <70086051+bishal7679@users.noreply.github.com> Date: Tue, 31 Oct 2023 01:00:07 +0530 Subject: [PATCH] Update providers/aws/cloudfront/lambdaedge.go Co-authored-by: Azanul Haque <42029519+Azanul@users.noreply.github.com> --- providers/aws/cloudfront/lambdaedge.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/aws/cloudfront/lambdaedge.go b/providers/aws/cloudfront/lambdaedge.go index 694f45403..b3f65545e 100644 --- a/providers/aws/cloudfront/lambdaedge.go +++ b/providers/aws/cloudfront/lambdaedge.go @@ -30,8 +30,8 @@ func LambdaEdgeFunctions(ctx context.Context, client ProviderClient) ([]Resource tempRegion := client.AWSClient.Region client.AWSClient.Region = "us-east-1" cloudwatchClient := cloudwatch.NewFromConfig(*client.AWSClient) - client.AWSClient.Region = tempRegion pricingClient := pricing.NewFromConfig(*client.AWSClient) + client.AWSClient.Region = tempRegion pricingOutput, err := pricingClient.GetProducts(ctx, &pricing.GetProductsInput{ ServiceCode: aws.String("AmazonCloudFront"),