aws-samples / aws-samples/aws-sam-java-rest

Not working out of the box

Offen
#2 2 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
437
Forks
151
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.