Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

220
Views
AWS, serverless SAM template - publishing nested applications

I have defined AWS Serverless nested applications within my root SAM template by using Location property pointing to my local file system (as advised here - Defining a Nested Application from the Local File System). Packaging and deploying work perfectly fine - applications run on AWS just fine - everything works just fine, except publish.

I can not find a way to publish to the Serverless Application Repository my root application that would also (somehow) contain all nested applications (inside?).

sam publish \
    --template packaged.yaml \
    --region us-east-1

returns

Error: Invalid Serverless Application Specification document. Number of errors found: XX. Errors: Resource with id [YYYYYYYYYYY] is invalid. Location property must be an Application Location Object referencing a valid AWS Serverless Application Repository application.

All my Location properties after the packaging is done are something like:

https://s3.eu-east-1.amazonaws.com/my-storage/34ct54v6547b56756n7.template

Does it mean I still need to package or/and publish all of the nested applications first to have CodeUri properties defined as AWS s3 URLS and then somehow change their Locations references in the root packaged template? Did anyone try that, maybe?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!