【问题标题】:Elastic Beanstalk Invalid Parameter ValueElastic Beanstalk 参数值无效
【发布时间】:2015-04-29 21:23:31
【问题描述】:

我的 app.config 弹性 beanstalk 配置文件出现了一个相当模糊的错误。

app.config

option_settings:
   - namespace: aws:elasticbeanstalk:application:environment
     option_name: NODE_ENV
     value: production
   - namespace: aws:elasticbeanstalk:container:nodejs:staticfiles
     option_name: /public
     value: /public
   - namespace: aws:elasticbeanstalk:container:nodejs
     option_name: NodeVersion
     value: 0.10.26
packages: 
  yum:
    GraphicsMagick: []
files:
    "/etc/nginx/conf.d/proxy.conf" :
        mode: "000755"
        owner: root
        group: root
        content: |
           client_max_body_size 10M;

命令行

> eb create --cfg med-env-sc
...
Printing Status:
INFO: createEnvironment is starting.
INFO: Using elasticbeanstalk-us-east-1-466215906046 as Amazon S3 storage bucket for environment data.
ERROR: InvalidParameterValue: Parameter values must be a string or a list of strings
ERROR: Failed to launch environment.
ERROR: Failed to launch environment.

【问题讨论】:

    标签: node.js amazon-web-services amazon-elastic-beanstalk


    【解决方案1】:

    原来我已经修复了错误。 (NodeVersion 的值不正确)。您只需要在弹性 beantalk 识别它之前提交您的配置文件。

    【讨论】:

      猜你喜欢
      • 2017-04-28
      • 2016-04-16
      • 2016-05-10
      • 2019-09-29
      • 1970-01-01
      • 2013-08-12
      • 2020-10-07
      • 2018-05-11
      • 2013-08-01
      相关资源
      最近更新 更多