1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
The error is caused by the existence of the same file in "/var/www/html/" of the instance to be deployed.
To resolve the error, you need to set "file_exists_behavior" in appspec.yml.
If "OVERWRITE" is set for "file_exists_behavior", the same file will be overwritten and deployed even if it exists when deploying.
https://docs.aws.amazon.com/ja_jp/codedeploy/latest/userguide/reference-appspec-file-structure-files.html
Sample appspec.yml.
version: 0.0
os: linux
files:
- source: /
destination: /var/www/html
file_exists_behavior: OVERWRITE
permissions:
- object: /var/www/html
owner: apache
group: apache
mode: 755
type:
- file
- directory
関連するコンテンツ
- 質問済み 6年前