Sha256: 817e05df06b5d4d7a2e247b2b482ccf028298032795f978289328c649d4d75d1

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

Jets.application.configure do
  config.project_name = "<%= project_name %>"
  config.api_generator = <%= !!@options[:api] %>
  # config.prewarm.rate = '30 minutes' # default is '30 minutes'
  # config.prewarm.concurrency = 1 # default is 1
  # config.env_extra = 2 # change also set this with JETS_ENV_EXTRA
  # config.extra_autoload_paths = []

  config.function.timeout = 10
  # config.function.role = "arn:aws:iam::#{ENV['AWS_ACCOUNT_ID']}:role/service-role/pre-created"
  # config.function.memory_size= 3008
  # config.function.cors = true
  config.function.environment = {
    global_app_key1: "global_app_value1",
    global_app_key2: "global_app_value2",
  }
  # More examples:
  # config.function.dead_letter_queue = { target_arn: "arn" }
  # config.function.vpc_config = {
  #   security_group_ids: [ "sg-1", "sg-2" ],
  #   subnet_ids: [ "subnet-1", "subnet-2" ]
  # }
  # The config.function settings to the CloudFormation Lambda Function properties.
  # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html
  # Underscored format can be used for keys to make it look more ruby-ish.
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jets-0.5.0 lib/jets/commands/templates/skeleton/config/application.rb.tt