Cannot deploy lambda on edge

0

Hello,
I'm getting the following error when trying to add a deploy@edge trigger to my lambda:

You cannot update the specified distribution using this API version because it is associated with a cache policy. (Service: AmazonCloudFront; Status Code: 400; Error Code: IllegalUpdate; Request ID: 43a578a3-65de-4f2f-99a6-31ba325ad78f; Proxy: null)

I've tried following the steps in the link below, but cannot go past the deploy@edge part:
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-edge-how-it-works-tutorial.html#lambda-edge-how-it-works-tutorial-cloudfront

Could you pls advise?

質問済み 4年前448ビュー
2回答
0

Edit the CloudFront Default Cache Behavior Settings in Behavior tab and in "Cache and origin request settings" select "Use legacy cache settings" and change "Cache Based on Selected Request Headers" to None.

回答済み 4年前
0

thank you! best if this detail is added to the tutorial page

回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ