Bug: Error publishing serverless application (Missing required parameter in input: "ApplicationId") #6566
Labels
area/publish
sam publish command
blocked/more-info-needed
More info is needed from the requester. If no response in 14 days, it will become stale.
stage/bug-repro
The issue/bug needs to be reproduced
Description:
SAM CLI publish command fails updating an already existing serverless application. Diving into the code, we have observed SAM CLI firstly tries to create the application. If it already exists, it extracts from the error message the Application ID. Then, it updates the application with that Application ID.
However, in our case, AWS returns this error message:
instead of something like this:
So, the regular expression does not match with the error message, it cannot extract the Application ID and the updating operation fails.
Steps to reproduce:
We execute these commands in a GitHub action, but the result it is the same from the shell in a local computer. The error raises in the last command.
Observed result:
Expected result:
The serverless application is updated successfully.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: 1.105.0The text was updated successfully, but these errors were encountered: