Skip to content

Commit

Permalink
Update providers/aws/cloudfront/lambdaedge.go
Browse files Browse the repository at this point in the history
Co-authored-by: Azanul Haque <[email protected]>
  • Loading branch information
bishal7679 and Azanul authored Oct 30, 2023
1 parent c4f87f2 commit 8f151f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/aws/cloudfront/lambdaedge.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 8f151f1

Please sign in to comment.