-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Если передать переменные окружения на уровне функции, то они задаются для функции после развертывания:
service: yandex-cloud-nodejs
frameworkVersion: "3"
provider:
name: yandex-cloud
runtime: nodejs16
httpApi:
payload: '1.0'
plugins:
- "@yandex-cloud/serverless-plugin"
functions:
simple:
handler: dist/index.hello
memorySize: 128
timeout: '5'
account: function-sa
environment:
TEST: 1
events:
- http:
method: post
path: /post/just/to/this/path
Но если задавать их глобально, то после развертывания для функции они не появляются:
service: yandex-cloud-nodejs
frameworkVersion: "3"
provider:
name: yandex-cloud
runtime: nodejs16
httpApi:
payload: '1.0'
environment:
TEST: 1
plugins:
- "@yandex-cloud/serverless-plugin"
functions:
simple:
handler: dist/index.hello
memorySize: 128
timeout: '5'
account: function-sa
events:
- http:
method: post
path: /post/just/to/this/path
Хотелось бы иметь возможность задать их одновременно для всех функций.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels