amazon web services - Elastic Beanstalk .ebextensions config file not getting deployed with git aws.push -
i've linked git branch elastic beanstalk environment , using git aws.push deploys correctly.
i've added .extensions
directory contains config script should creating couple of directories. however, nothing appears happening.
i understand .extensions
directory should copied across ec2 instance i'm not seeing it.
i've checked eb-tools.log
, it's not mentioned in upload.
is there additional that's required?
the script contains:
commands: cache: command: mkdir /tmp/cache items: command: mkdir /tmp/cache/items chmod: command: chmod -r 644 /tmp
you can find run logs @ /var/log/cfn-init.log
. in here see mkdir
commands had worked subsequently failed directory existed. turns out eb extensions run commands in alphabetical order had change commands to:
01command1: 02command2:
etc. point on worked fine.
something else confusing me .ebextensions directory in local git repo not appearing on target instance directory. because once it's been run delete directory.
Comments
Post a Comment