I want to create a new directory inside my current application. I have a 01_container.config file that contains the following -
container_commands: 00create_file_assets_dir: command: "mkdir tmp/file_assets" ignoreErrors: true 02fix_permissions_for_file_assets: command: "chown -R ec2-user:ec2-user tmp/file_assets/" ignoreErrors: true
But when I SSH into my /current/tmp/ folder afterwards, the directory is not there.
Any advice on how to customize or to add new directories/ change permissions on directories after deployment with Elastic Beanstalk would be appreciated.
Please do not ask me to SSH into the server and do it manually as I hope this process can be automated with the .ebextensions folder. Thank you!
Aucun commentaire:
Enregistrer un commentaire