tqc / codedeploy-scripts

AWS CodeDeploy lifecycle scripts using ES6 to deploy a node app to EC2
MIT License
4 stars 1 forks source link

appsec.yaml wrong formating #2

Closed elliotrock closed 7 years ago

elliotrock commented 7 years ago

Below works but the use of the + in yours was break AWS:

version: 0.0
os: linux
files:
    - source: /
      destination: /app/pennybox-core-api-app
hooks:
#  ApplicationStop:
#    - location: deployment.js
#      timeout: 180
  BeforeInstall:
    - location: deployment.js
      timeout: 180
  AfterInstall:
    - location: deployment.js
      timeout: 180
  ApplicationStart:
    - location: deployment.js
      timeout: 180
  ValidateService:
    - location: deployment.js
      timeout: 180
tqc commented 7 years ago

Fixed. No idea where those pluses could have come from.