LoginSignup
0
0

More than 1 year has passed since last update.

AWS codedeployでサンプルアプリを編集してS3配置するとデプロイに失敗した

Last updated at Posted at 2023-04-09

AWS codedeployでS3にファイルPUT後、EC2のファイルが更新されなかった

サンプルアプリだとデプロイ成功し、問題ない

サンプルアプリの一部を変更し、macでFinderからzip圧縮するとEC2でファイルが更新されておらず、デプロイに失敗した。

原因

zipファイルを解凍したときに階層がサンプルアプリと異なっていた

macのターミナルからzip -rコマンドで圧縮しS3にPUTすると成功した。

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