Amazon web services 无服务器框架弹性beanstalk插件不工作
有人能告诉我scripts/configure.js的内容应该是什么吗 并解释了如何配置YAML文件以将项目部署到AWS elastic beanstalk环境,但没有解释scripts/configure.js的内容中应该包含哪些内容,或者Amazon web services 无服务器框架弹性beanstalk插件不工作,amazon-web-services,amazon-elastic-beanstalk,serverless-framework,Amazon Web Services,Amazon Elastic Beanstalk,Serverless Framework,有人能告诉我scripts/configure.js的内容应该是什么吗 并解释了如何配置YAML文件以将项目部署到AWS elastic beanstalk环境,但没有解释scripts/configure.js的内容中应该包含哪些内容,或者 定制:弹性豆茎: 变量: applicationName: CartApplicationName environmentName: CartApplicationEvironmentName key: ${opt:key} file: p
- 定制:弹性豆茎:
- 变量:
applicationName: CartApplicationName environmentName: CartApplicationEvironmentName key: ${opt:key} file: prefix: bundles name: bundle-latest.zip platform: nodejs script: scripts/configure.js build: babel: true sourceMaps: true include: - .ebextensions/** - src/** - resources/schema/** - package.json
- 功能:。。。资源:资源:
CartApplication: Type: AWS::ElasticBeanstalk::Application Properties: ApplicationName: ${self:service} Description: Cart application CartEnvironment: Type: AWS::ElasticBeanstalk::Environment Properties: ApplicationName: Ref: CartApplication Description: Cart environment SolutionStackName: '64bit Amazon Linux 2017.03 v4.4.5 running Node.js' OptionSettings: - Namespace: aws:elasticbeanstalk:container:nodejs OptionName: NodeVersion Value: '7.6.0' - Namespace: aws:elasticbeanstalk:environment OptionName: EnvironmentType Value: SingleInstance ... Outputs: CartApplicationName: Description: Cart application name Value: Ref: CartApplication CartApplicationEvironmentName: Description: Cart environment name Value: Ref: CartEnvironment