Skip to content

How to add configuration of related resources to a stack #315

Answered by tjholm
unix asked this question in Q&A
Discussion options

You must be logged in to vote

@unix This was released today in v1.9.0 of the CLI. We still need to finalise documentation for this feature.

The implementation is similar to the above with the exception that pattern matching is not implemented. So to set the memory and timeout of a specific function you need to give the path for the function:

For example:

config: 
  # default function specs
  default:
    memory: 256
    timeout: 15
  # small function specs
  functions/hello-world.ts:
    memory: 128
    timeout: 10

Let us know if you encounter any issues with this, or if you have other configuration requirements for your resources.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@asalkeld
Comment options

@unix
Comment options

@asalkeld
Comment options

@tjholm
Comment options

Answer selected by raksiv
@unix
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants