I'm new to Opsworks, so hopefully this is a very easy question!
My setup is a custom PHP/Apache AMI (Amazon Linux) server layer, an RDS layer, and a PHP app named "abc_app" in an S3 bundle.
I tried to deploy the app to a server instance. It deployment finished successfully, but the code is not anywhere on the server, and nothing was in the /var/www/html directory where I expected it to be. The deploy log was not very helpful except that there was no mention of "abc-app" in it. I'm not sure if it should have it though.
So next I created the following JSON which explicitly sets the "deploy_to" attribute as described at http://docs.aws.amazon.com/opsworks/latest/userguide/attributes-json-deploy.html
{
"deploy" : {
"abc_app" : {
"deploy_to" : "/var/www/html"
}
}
}
Once again, the deployment finished successfully, but the code is still not at /var/www/html or anywhere else.
Any ideas or suggestions would be very much appreciated!