どうも!大阪オフィスの西村祐二です。 今回は小ネタです。 みなさんAWS Lambda@Edgeは使ったことありますでしょうか? CloudFrontで配信するサイトに対して、Basic認証を設定できたりと、とても可能性を感じるサービスです。 Amazon CloudFrontとAWS Lambda@EdgeでSPAのBasic認証をやってみる 今回は、そのAWS Lambda@Edgeを使っときに意外とハマるログの出力先について記載していきたいと思います。 AWS Lambda@EdgeのCloudWatch Logsにログが見当たらない!? Lambda@Edgeは正常に動作しているけど、CloudWatch Logsにログが出力されていない!? ってことがあります。 (CloudWatch Logsへの出力設定は問題ないと仮定しています。) ▼Lambda@Edgeは動作しているけど