From 4526874a8ceb1e5152f6b47001a20c9a5ba63c05 Mon Sep 17 00:00:00 2001 From: Paul Schoenfelder Date: Fri, 1 Jun 2018 13:57:59 -0400 Subject: [PATCH] [deployment] run build/migrate scripts as application user --- appspec.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appspec.yml b/appspec.yml index 9cc93bf7eb..0d29601555 100644 --- a/appspec.yml +++ b/appspec.yml @@ -9,8 +9,10 @@ hooks: timeout: 300 AfterInstall: - location: bin/deployment/build + runas: ec2-user ApplicationStart: - location: bin/deployment/migrate + runas: ec2-user timeout: 300 - location: bin/deployment/start timeout: 3600