funcraft icon indicating copy to clipboard operation
funcraft copied to clipboard

How to indicate the layer to be used for FC

Open parker22 opened this issue 3 years ago • 2 comments

In the AliCloud console, we can setup the layer and version. However, how can we setup layer info using funcraft?

parker22 avatar Mar 11 '21 02:03 parker22

the same question here

joesong168 avatar Mar 16 '21 02:03 joesong168

In version 3.6.23, the syntax 'Layers' seems supported now.

Here's my template.yml :

      Properties:
        Handler: Dxxxxxxxt.dxxxxxxxt
        Runtime: python3
        MemorySize: 256
        CodeUri: Sxxxxxxxv/web
        Timeout: 10
        Layers:
          - d1axxxxxxxxxxxxxxxx94ba#Sxxxxxxxxxxn#3

However, it will be great if the team can provide offical documentation (and example)

for that :)

EvanLee2048 avatar Jun 30 '21 07:06 EvanLee2048