samedi 7 mars 2015

Download S3 file to ondeck

I have an elastic beanstalk Node app that I'm trying to setup. I'm trying to load an environment file from S3 into /var/app/ondeck/src/ so the file is available when the Node app is started. I've tried as many things as I can think of but the production.env file never shows up. If I change the location to something like /home/ec2-user the file appears so I know that I have the file part correct. What am I missing?



files:
"/var/app/ondeck/src/production.env":
mode: "000777"
user: nodejs
group: nodejs
source: http://ift.tt/1GbOULF

Resources:
AWSEBAutoScalingGroup:
Metadata:
AWS::CloudFormation::Authentication:
S3Access:
type: S3
roleName: aws-elasticbeanstalk-ec2-role
buckets: bucket-name




Aucun commentaire:

Enregistrer un commentaire