AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Resources: ChildApp: Type: AWS::Serverless::Application Properties: Location: ./child-pass-up.yaml FunctionInRoot: Type: AWS::Serverless::Function Properties: CodeUri: ../Python Handler: main.handler Runtime: python3.8 Layers: - !GetAtt ChildApp.Outputs.LayerVersion