Нотатки сісадміна AWS,Linux The deployment failed because a specified file already exists at this location

The deployment failed because a specified file already exists at this location

The deployment failed because a specified file already exists at this location

Після запуска делплою через aws cli зіткнувся з цією помилкою.

Це сталось тому – що у appspec.yml немає параметру OVERWRITE, але він є у cli команді,

вирішується простим додаванням параметру:

Цей параметер приймає три варіанти значення

  • OVERWRITE: destination буде перезаписано
  • RETAIN: destination не буде перезаписано, а залишиться той файл – що був
  • DISALLOW: деплой буде зупинено з посилкою ( The deployment failed because a specified file already exists at this location)

 

Click to rate this post!
[Total: 0 Average: 0]

Залиште відповідь

Ваша e-mail адреса не оприлюднюватиметься. Обов’язкові поля позначені *

Related Post