Title
Bug: sam deploy fails on v1.160.0 with nested app template lookup in /tmp (Template file not found at /tmp/lambdaName/template.yaml)
Description
After upgrading AWS SAM CLI from 1.159.1 to 1.160.0, deployment started failing for a project using nested AWS::Serverless::Application templates with
Transform:
- AWS::LanguageExtensions
- AWS::Serverless-2016-10-31
The same pipeline and templates work on 1.159.1.
Failure message:
Error: Template file not found at /tmp/lambdaName/template.yaml
Steps to reproduce
- Use a parent template (e.g.
deployments/template.yaml) with nested applications:
Resources:
lambdaName:
Type: AWS::Serverless::Application
Properties:
Location: lambdaName/template.yaml
I believe the issue is related to LanguageExtensions logic, but it breaks already existing artifacts.
Title
Bug:
sam deployfails on v1.160.0 with nested app template lookup in/tmp(Template file not found at /tmp/lambdaName/template.yaml)Description
After upgrading AWS SAM CLI from
1.159.1to1.160.0, deployment started failing for a project using nestedAWS::Serverless::Applicationtemplates withTransform:
The same pipeline and templates work on
1.159.1.Failure message:
Error: Template file not found at /tmp/lambdaName/template.yamlSteps to reproduce
deployments/template.yaml) with nested applications:I believe the issue is related to LanguageExtensions logic, but it breaks already existing artifacts.