aws-samples / aws-samples/aws-sam-java-rest
Not working out of the box
- Lingua principale
- Java
- Stelle
- 437
- Fork
- 151
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
One has to use the following command:
aws cloudformation deploy --template-file /Users/nmas409/aws-sam-java-rest/aws-sam-java-rest/packaged.yaml --stack-name sam-orderHandler --capabilities CAPABILITY_IAM
Waiting for changeset to be created..
But getting this error.
Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state Status: FAILED. Reason: [/Resources/DeleteOrderFunction/Type/Environment/Variables/TABLE_NAME] 'null' values are not allowed in templates
This doesn't work at all:
sam deploy \
--template-file packaged.yaml \
--stack-name sam-orderHandler \
--capabilities CAPABILITY_IAM
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by inspecting packaged.yaml, especially the DeleteOrderFunction Environment Variables TABLE_NAME entry, then compare the documented aws cloudformation deploy and sam deploy commands. Reproduce the deployment failure and verify that the sample deploys successfully without a null TABLE_NAME value.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, java
- Ambito
- cloud, devops
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100