[deployment] run build/migrate scripts as application user

pull/246/head
Paul Schoenfelder 7 years ago
parent 2a4c945dce
commit 4526874a8c
  1. 2
      appspec.yml

@ -9,8 +9,10 @@ hooks:
timeout: 300 timeout: 300
AfterInstall: AfterInstall:
- location: bin/deployment/build - location: bin/deployment/build
runas: ec2-user
ApplicationStart: ApplicationStart:
- location: bin/deployment/migrate - location: bin/deployment/migrate
runas: ec2-user
timeout: 300 timeout: 300
- location: bin/deployment/start - location: bin/deployment/start
timeout: 3600 timeout: 3600

Loading…
Cancel
Save