name: aws
                  
                  
                    stage: dev
                  
                  
                    region: eu-central-1
                  
                  
                  
                  
                  
                  layers:
                  
                  
                    securator:
                  
                  
                      path: layer
                  
                  
                      name: ${opt:stage, self:provider.stage}-securator-layer
                  
                  
                      description: SSM Handler
                  
                  
                      compatibleRuntimes:
                  
                  
                        - python3.6
                  
                  
                        - python3.7
                  
                  
                      licenseInfo: GPLv3
                  
                  
                      allowedAccounts:
                  
                  
                        - '*'
                  
                  
                      retain: true # optional, false by default. If true, layer versions are not deleted as new ones are created
                  
                  
                  
                  
                  
                  resources:
                  
                  
                    Outputs:
                  
                  
                      SecuratorLayerExport:
                  
                  
                        Value: !Ref SecuratorLambdaLayer
                  
                  
                  
                  
                  
                  $ sls deploy валится с ошибкой:
                  
                  
                  The CloudFormation template is invalid: Unresolved resource dependencies [SecuratorLambdaLayer] in the Outputs block of the template
                  
                  
                
Походе на ошибау в рефе. Ресурс точно так логически называется?
Обсуждают сегодня