0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【AWS Lambda Tips】Lambda関数のコンソール上の変更の取り消し方法

Last updated at Posted at 2025-04-28

はじめに

AWS Lambda関数を、コンソール上で変更したものの、まだデプロイしていない状態で変更を取り消す方法を紹介する。

動作確認環境

  • AWS Lambda
  • Google Chrome

前提

AWS Lambdaをコンソールから編集し、反映させる前の状態(以下の画面)。

image.png

Deployした後だと本記事で紹介する方法は使えないので注意。

方法

こちらの記事を参考にした。記事の頃とは、LambdaのGUIが変更となっていたため、resetlambdafunctionが使えなかったので、Cookieを削除する方法を使用する。

以下、Chromeからの操作方法を紹介する。

Lambda関数を編集しているページで、ブラウザのアドレス表示の左側にあるアイコンをクリックする。

image.png

「Cookieとサイトデータ」をクリックする。

image.png

「デバイス上のサイトデータを管理」をクリックする。

image.png

「埋め込みサイトからのデータ」にあるa.b.cdn.console.awsstatic.comの横にあるゴミ箱ボタンを押して削除する。

「再読み込み」ボタンが出るので押す。

image.png

変更が破棄されていれば成功。

image.png

まとめ

AWS Lambda関数を、コンソール上で変更したものの、まだデプロイしていない状態で変更を取り消す方法を紹介した。誤ってLambda関数のファイルを編集してしまった場合に有用なので参考にしてほしい。

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?