amazon web services - Composer Environment variable missing on CodeDeploy Application -
i'm integrating aws auto scaling group code deploy.
i wrote bash script afterinstall hook.
the script executes composer update, composer dump-autoload since code using php.
and here problem. when deploy, deployment fails log.
[runtimeexception]
the home or composer_home environment variable must set composer run correctly
but when instance via ssh , run composer works fine.
how fix this? had worked around issue?
any answer appreciated. thank time.
i had similar problem using elastic beanstalk , did fixed adding environment variable
you should able achieve in codedeploy example on creating application.
Comments
Post a Comment