amazon web services - Changing location of beforeInstall hook script throws "Script does not exist" error at beforeInstall step during deployment -
i had working setup begin with. following appspec.yml file - version: 0.0 os: linux files: - source: beforeinstall.php destination: /var/cake_1.2.0.6311-beta - source: beforeinstall.sh destination: /var/cake_1.2.0.6311-beta hooks: beforeinstall: - location: beforeinstall.sh note - copying beforeinstall.sh , php files because want copy changes made them propagated ec2 instances automatically (even though reflects in next build) at point, had beforeinstall.sh , php files @ location in ec2 instances - /var/cake_1.2.0.6311-beta/ then wanted move these inside deployment directory in ec2 instances. so, created files beforeinstall.sh , php manually, in /var/cake_1.2.0.6311-beta/deployment/ directory in instances , modified appspec.yml file - version: 0.0 os: linux files: - source: beforeinstall.php destination: /var/cake_1.2.0.6311-beta/deployment - source: beforeinstall.sh destination: /var/cake_1.2.0.6311-beta/deployment hooks: beforeinstall:...