php - Deploying to Elastic Beanstalk - can't find directories -
php - Deploying to Elastic Beanstalk - can't find directories -
i pushing deploys new beanstalk app , trying run commands .config file:
// .ebextensions/composer.config commands: 01wtf: command: cd /var/app && ls 02wtf: command: cd /var/app/current && ls
01wtf
returns
. .. /current /support
02wtf
returns
. ..
i trying run commands on /var/app/ondeck
(like blog posts , answers say) i can't find on disk! doing wrong?
the problem .config
file specifying commands:
.
i should have been using container_commands
(docs: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html#customize-containers-format-container_commands)
my commands running before deployment phase; so, ondeck
has not been created yet, , (in case of brand new ec2 instance) current
empty.
// .ebextensions/composer.config container_commands: 01wtf: command: cd /var/app && ls 02wtf: command: cd /var/app/current && ls
php git amazon-web-services elastic-beanstalk
Comments
Post a Comment